AD-GMC-04 - Trust members count should be investigated
Overviewโ
- Trust members represent security principals from external domains that have been granted access within the local domain:
- Cross-Domain Access: Trust members can access resources in the local domain
- Trust Validation: External members require the trust relationship to remain valid
- Security Boundaries: Understanding where external access is granted helps maintain security boundaries
- Audit Trail: Trust members should be regularly reviewed for continued necessity
Control Typeโ
Operational
Security Recommendationโ
Regularly audit trust members:
- Verify that trust relationships are still required and properly maintained
- Review whether external users still need access to local resources
- Document the business justification for cross-domain access
- Monitor for trust members in privileged groups (Domain Admins, etc.)
How the Test Worksโ
This test identifies trust members by:
- Detecting foreignSecurityPrincipal object class
- Identifying SIDs that don't match the current domain SID pattern
- Counting unique trust members across groups
For performance reasons, the test analyzes the first 50 groups.
Related Testsโ
Test-MtAdGroupMemberTrustDetails- Detailed breakdown by groupTest-MtAdGroupMemberForeignSidCount- Counts foreign SIDs specifically
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GMC-04 |
| Severity | Info |
| Suite | Active Directory |
| Category | Active Directory - Group Members |
| PowerShell test | Test-MtAdGroupMemberTrustCount |
| Services | ActiveDirectory |
| Tags | AD, AD-GMC-04, AD.Group |
Sourceโ
- Test:
tests/ad/group/Test.AD-GMC-04.ps1 - Documentation:
tests/ad/group/Test.AD-GMC-04.md
