Skip to content

AD-GRP-05: Group SID History count should be retrievable

ID AD-GRP-05
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Groups
Security area Identity lifecycle and hygiene
Resource type Group
MITRE ATT&CK T1134.005
Reads from On-premises Active Directory
  • SID History is an attribute used during Active Directory domain migrations to maintain access to resources in the source domain:
  • Groups with SID History are important to monitor because persistent SID History on groups can indicate:
  • Incomplete migrations: Groups that were migrated but never fully transitioned
  • Security risks: SIDs from untrusted or decommissioned domains may grant unintended access
  • Directory bloat: Unnecessary data that complicates troubleshooting and auditing
  • Audit complexity: Makes it difficult to determine effective permissions
  • Trust dependencies: Hidden dependencies on domains that may no longer exist
  • Groups with SID History are particularly concerning because they often control access to resources, and the SID History may grant access to users or groups from the source domain.

Detective

  • Review all groups with SID History to determine if migration is complete
  • Remove SID History attributes once group memberships are verified in the new domain
  • Be cautious of SID History containing SIDs from external or untrusted domains
  • Document any groups that legitimately require long-term SID History
  • Regularly audit SID History contents during security reviews
  • This test retrieves all group objects from Active Directory and:
  • Checks the SIDHistory attribute for each group
  • Counts groups where SIDHistory is populated with one or more SIDs
  • Calculates the percentage of groups with SID History
  • Test-MtAdGroupStaleCount - Groups with SID History may also be stale if migration was long ago
  • Test-MtAdGroupAdminCount - Privileged groups with SID History require special attention

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.