Skip to content

AD-USER-13: User SID History count should be retrievable

ID AD-USER-13
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Users
Security area Identity lifecycle and hygiene
Resource type User
MITRE ATT&CK T1134.005
Reads from On-premises Active Directory

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

Mito check. Author: soulemike. Open-source licences.

Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).

© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.