Set machineaccountquota to 0
Set MachineAccountQuota to 0
MITRE ATT&CK:
- Initial Access
MITRE D3FEND:
- User Account Permissions
The MachineAccountQuota is a domain-level attribute that allows unauthenticated users to make up to 10 devices members of the Windows domain. Attackers can abuse this capability for Kerberos RBCD attacks or Kerberos Unconstrained Delegation, among others. So that explicit permissions are required before a device can be added to the Windows domain.
Audit
Via PowerShell:
Configuration (PowerShell)
User Impact
None.