You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the ms-DS-MachineAccountQuota in the Active Directory is "not set" it is possible to add computers to the domain if the SeMachineAccountPrivilege is set to "Authenticated Users".
However the PingCastle rule S-ADRegistration will not detect the issue.
The following lab setup was used to confirm the behaviour:
PingCastle version 3.1.0.1
ms-DS-MachineAccountQuota: "not set"
SeMachineAccountPrivilege: Authenticated Users
PingCastle did not trigger the S-ADRegistration Rule, however adding a computer was possible (in this case using impacket):
It would be nice if PingCastle could also detect this special case to know if adding machine accounts as domain user is possible. Remediation will stay the same: set the ms-DS-MachineAccountQuota to 0.
The text was updated successfully, but these errors were encountered:
If the ms-DS-MachineAccountQuota in the Active Directory is "not set" it is possible to add computers to the domain if the SeMachineAccountPrivilege is set to "Authenticated Users".
However the PingCastle rule S-ADRegistration will not detect the issue.
The following lab setup was used to confirm the behaviour:
PingCastle did not trigger the S-ADRegistration Rule, however adding a computer was possible (in this case using impacket):
Computer created in AD:
It would be nice if PingCastle could also detect this special case to know if adding machine accounts as domain user is possible. Remediation will stay the same: set the ms-DS-MachineAccountQuota to 0.
The text was updated successfully, but these errors were encountered: