01Description
The domain's ms-DS-MachineAccountQuota attribute was set to its default value of 10, allowing any authenticated user to create up to ten computer accounts in the domain.
02Impact
Attacker-controlled computer accounts are used in several privilege escalation techniques, including resource-based constrained delegation abuse and certain AD CS and relay attacks. The setting also allows unmanaged devices to be joined to the domain.
03Severity
Typically
Medium
Typically Medium. Medium alone. Higher when combined with relay or delegation weaknesses, where an attacker-created computer account is a key step in several escalation techniques.
04How to verify
- 1Read the ms-DS-MachineAccountQuota attribute on the domain object.
- 2Check which users hold the 'Add workstations to domain' user right.
- 3Where authorized, create and then delete a test computer account to confirm.
Testing note: only test systems you are authorized to test, within the agreed scope and rules of engagement. Verification steps are written for professional testers and avoid destructive techniques.
05Remediation
- 1Set ms-DS-MachineAccountQuota to 0.
- 2Delegate the ability to join computers to the domain to a specific group or service account used by IT.
- 3Monitor for computer account creation by non-administrative users.
Draft findings like this from your own evidence
Book a demo