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

Group AdminCount should be retrievable

AD-GRP-01InfoActive DirectoryGroups

Part of Active Directory · Active Directory · Groups · All checks

Run this check
Invoke-Maester -TestId AD-GRP-01

The AdminCount attribute is a critical Active Directory security marker that indicates a group is considered “protected” by the system. Groups with AdminCount set receive special security protections that prevent delegation of administrative privileges through inheritance. This test helps identify:

  • Privileged groups: Groups that are members of protected groups like Domain Admins, Enterprise Admins, or Schema Admins
  • Security inheritance issues: Groups that may have broken inheritance due to AdminCount settings
  • Audit targets: Groups requiring enhanced monitoring due to their administrative nature
  • Delegation challenges: Groups that cannot receive permissions through normal inheritance

Detective

  • Review all groups with AdminCount set to ensure they still require elevated privileges
  • Remove groups from protected groups if they no longer need administrative access
  • Be aware that removing a group from a protected group does not automatically clear the AdminCount attribute
  • Manually clear AdminCount for groups that should no longer be protected
  • Monitor changes to AdminCount attributes as they indicate privilege escalation

This test retrieves all group objects from Active Directory and counts:

  • Total number of groups
  • Number of groups with AdminCount attribute set (non-null and greater than 0)
  • Percentage of groups with AdminCount
  • Test-MtAdGroupWithManagerCount - Identifies groups with delegated management
  • Test-MtAdGroupSidHistoryCount - Finds groups migrated from other domains
Every attribute of this check
FieldValue
Test IDAD-GRP-01
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureGroups
AreaPrivileged access
Resource typeGroup
MITRE ATT&CKNone
PowerShell testTest-MtAdGroupAdminCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:group:ReadProperty