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) →

Well-known security principals count should be retrievable

AD-CFG-10InfoActive DirectoryDirectory configuration

Part of Active Directory · Active Directory · Directory configuration · All checks

Run this check
Invoke-Maester -TestId AD-CFG-10

Well-known security principals are built-in identities with special meaning in Active Directory (for example, principals that Windows and AD components rely on for system behavior). Unexpected changes to these principals can indicate tampering, malicious SID/object replacement, or unauthorized directory modification.

Operational

  • Validate that only the expected well-known principals exist (default is 27 for typical configurations).
  • Restrict permissions to the container(s) holding well-known principals so only AD administrators can modify them.
  • Audit changes by enabling directory change auditing and reviewing security event logs for modifications.
  • Investigate any deviation immediately as a potential sign of directory tampering.
  • Locates the AD container(s) that store well-known security principal objects.
  • Enumerates those objects and counts how many are present.
  • Compares the count to the expected baseline (default 27) and flags any unexpected values.
Every attribute of this check
FieldValue
Test IDAD-CFG-10
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureDirectory configuration
AreaInfrastructure hardening
Resource typeTenant
MITRE ATT&CKNone
PowerShell testTest-MtAdWellKnownSecurityPrincipalsCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:Configuration/*:ReadProperty