Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Computer CreatorSid count should be retrievable

AD-COMP-03InfoActive DirectoryComputers

Part of Active Directory · Active Directory · Computers · All checks

Run this check
Invoke-Maester -TestId AD-COMP-03

The ms-ds-CreatorSid attribute identifies which security principal created a computer account. This is valuable for:

  • Audit trail: Understanding who or what created computer accounts helps trace unauthorized additions
  • Delegation analysis: Identifying service accounts or users with excessive computer creation rights
  • Security monitoring: Detecting unusual computer creation patterns that may indicate compromise
  • Compliance: Meeting requirements for tracking resource creation in the directory

Detective

Computer account creation should be tightly controlled:

  • Limit the ms-DS-MachineAccountQuota attribute (default is 10) to prevent standard users from creating computer accounts
  • Use dedicated service accounts for automated computer provisioning
  • Regularly audit computer accounts to identify those created by unexpected principals
  • Consider setting the quota to 0 and using pre-staged computer accounts or dedicated provisioning processes

This test counts computer objects that have the ms-ds-CreatorSid attribute populated. This attribute is typically set when:

  • A user or service account explicitly creates a computer account
  • The creating principal has been captured in the directory

Note: Not all computer accounts will have this attribute, depending on how they were created.

  • Test-MtAdComputerNonStandardGroup - Identifies computers with unusual primary group assignments
  • Test-MtAdComputerInDefaultContainer - Finds computers that may have been auto-created
Every attribute of this check
FieldValue
Test IDAD-COMP-03
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureComputers
AreaAccess control
Resource typeComputer
MITRE ATT&CKNone
PowerShell testTest-MtAdComputerCreatorSidCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:computer:ReadProperty