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

Trust members count should be investigated

AD-GMC-04InfoActive DirectoryGroups

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

Run this check
Invoke-Maester -TestId AD-GMC-04
  • 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

Operational

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

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.

  • Test-MtAdGroupMemberTrustDetails - Detailed breakdown by group
  • Test-MtAdGroupMemberForeignSidCount - Counts foreign SIDs specifically
Every attribute of this check
FieldValue
Test IDAD-GMC-04
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureGroups
AreaExternal access and sharing
Resource typeGroup
MITRE ATT&CKNone
PowerShell testTest-MtAdGroupMemberTrustCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:domainDNS:ReadProperty, ActiveDirectory:Ldap:group:ReadProperty, ActiveDirectory:Ldap:group.member:ReadProperty