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

Unresolved SID count should be investigated

AD-DACL-15InfoActive DirectoryPermissions and delegation

Part of Active Directory · Active Directory · Permissions and delegation · All checks

Run this check
Invoke-Maester -TestId AD-DACL-15

Unresolved SIDs in DACLs often indicate deleted users or groups, stale migration artifacts, or incomplete cleanup.

  • Stale delegation detection: Old ACEs can remain after identities are removed
  • Operational hygiene: Orphaned SID references make permissions harder to review and audit
  • Migration validation: Unresolved SIDs can reveal accounts that were not fully remapped or retired

Operational

  • Investigate unresolved SID ACEs and determine whether they can be removed
  • Validate that deprovisioning and migration processes clean up obsolete permissions
  • Review privileged containers first, where stale ACEs can cause confusion during incident response

This test reads $adState.DaclEntries and looks for entries whose IdentityReference starts with S-1-5-21, which commonly indicates a SID that did not resolve to a friendly name.

  • Test-MtAdDaclUnresolvedSidDetails - Lists unresolved SID references by object
  • Test-MtAdDaclDistinctIdentityCount - Counts distinct identities present in ACEs
  • Test-MtAdDaclIdentityAceDistribution - Shows ACE distribution across identities

Note: This test is LongRunning. It loads the full DACL dataset, which can consume significant memory in large Active Directory environments. Use Invoke-Maester -IncludeLongRunning to run it.

Every attribute of this check
FieldValue
Test IDAD-DACL-15
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeaturePermissions and delegation
AreaAccess control
Resource typePermission
MITRE ATT&CKNone
PowerShell testTest-MtAdDaclUnresolvedSidCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:*.ntSecurityDescriptor:ReadControl
Long runningYes