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

User SID History count should be retrievable

AD-USER-13InfoActive DirectoryUsers

Part of Active Directory · Active Directory · Users · All checks

Run this check
Invoke-Maester -TestId AD-USER-13

SIDHistory is commonly used during migrations so users can retain access to resources secured with legacy SIDs. Long-term SID history can create unnecessary complexity and unintended access paths.

  • Migration artifact detection: Identifies users that may still carry legacy identities
  • Trust boundary review: Helps spot cross-domain access dependencies
  • Permission cleanup: Supports least-privilege remediation after migrations

Detective

  • Review users with SIDHistory to confirm ongoing business need
  • Remove unnecessary SID history entries after resource migration is complete
  • Pay special attention to SIDs originating from external or less-trusted domains

This test counts user objects where the SIDHistory attribute contains one or more values.

  • Test-MtAdUserNonStandardPrimaryGroupCount - Finds other migration or provisioning anomalies
  • Test-MtAdUserAdminCountCount - Helps prioritize review of privileged accounts
Every attribute of this check
FieldValue
Test IDAD-USER-13
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureUsers
AreaIdentity lifecycle and hygiene
Resource typeUser
MITRE ATT&CKT1134.005 SID-History Injection
PowerShell testTest-MtAdUserSidHistoryCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty