AD-GMC-03 - Member account types breakdown should be retrievable
Overviewโ
A detailed breakdown of account types across group membership provides comprehensive visibility:
- User Accounts: Most common members - represent individual access
- Group Nesting: Groups within groups create hierarchical permissions
- Computer Accounts: Service accounts and system access requirements
- Foreign Security Principals: Cross-domain and cross-forest access
Security Recommendationโ
Review account type distributions to identify:
- Over-reliance on group nesting that may create privilege escalation paths
- Unusual patterns (e.g., many computer accounts in privileged groups)
- External principals that may need periodic trust validation
How the Test Worksโ
This test provides a detailed analysis of group membership composition:
- Categorizes all unique members by their object class
- Shows count and percentage for each account type
- Identifies the distribution of member types across groups
For performance reasons, the test analyzes members from the first 50 groups and deduplicates by SID.
Related Testsโ
Test-MtAdGroupMemberAccountTypeCount- Count of distinct account typesTest-MtAdGroupMemberTrustDetails- Detailed view of trust members by group
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GMC-03 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.Group |
| PowerShell test | Test-MtAdGroupMemberAccountTypeDetails |
| Tags | AD, AD-GMC-03, AD.Group |
Sourceโ
- Pester test:
tests/ad/group/Test-MtAdGroupMemberAccountTypeDetails.Tests.ps1 - PowerShell source:
powershell/public/ad/group/Test-MtAdGroupMemberAccountTypeDetails.ps1

