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 SID History count should be retrievable

AD-COMP-05InfoActive DirectoryComputers

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

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

SID History is an attribute used during domain migrations to maintain access to resources in the source domain. While necessary during migrations, persistent SID History on computer accounts can indicate:

  • Incomplete migrations: Computers that were migrated but never fully transitioned
  • Security risks: SIDs from untrusted or less-secure domains may grant unintended access
  • Directory bloat: Unnecessary data in the directory that complicates troubleshooting
  • Audit complexity: Makes it harder to determine effective permissions

Detective

  • Review computers with SID History to determine if the migration is complete
  • Remove SID History attributes once systems are fully migrated and resource access is verified
  • Be cautious of SID History containing SIDs from external or untrusted domains
  • Document any computers that legitimately require long-term SID History

This test counts computer objects where the SIDHistory attribute is populated. This attribute typically contains one or more SIDs from the computer’s previous domain(s).

  • Test-MtAdComputerNonStandardGroup - Identifies other migration or configuration anomalies
  • Test-MtAdComputerDormantCount - Finds stale accounts that may be migration remnants
Every attribute of this check
FieldValue
Test IDAD-COMP-05
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureComputers
AreaIdentity lifecycle and hygiene
Resource typeComputer
MITRE ATT&CKT1134.005 SID-History Injection
PowerShell testTest-MtAdComputerSidHistoryCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:computer:ReadProperty