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 total count should be investigated

AD-TRUST-01InfoActive DirectoryTrusts

Part of Active Directory · Active Directory · Trusts · All checks

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

Domain trusts are critical security boundaries in Active Directory environments. Understanding the number and configuration of trusts is essential for:

  • Security Assessment: Knowing how many external entities can authenticate in your environment
  • Attack Surface Management: Each trust represents a potential attack vector that needs monitoring
  • Compliance Reporting: Many frameworks require documentation of trust relationships
  • Operational Visibility: Understanding cross-domain authentication paths

Trusts allow users from one domain to access resources in another. While necessary for multi-domain environments, unnecessary or misconfigured trusts can create security vulnerabilities.

Operational

  • Inventory: Maintain an inventory of all trust relationships and their purposes
  • Regular Review: Periodically review trusts to ensure they are still needed
  • Documentation: Document the business justification for each trust
  • Monitoring: Monitor trust validation status and authentication events
  • Principle of Least Privilege: Only create trusts when absolutely necessary

This test retrieves all trust objects from Active Directory using Get-ADTrust and counts the total number of configured trusts. The test returns:

  • Total count of trusts
  • Informational result (no pass/fail criteria)
  • Test-MtAdTrustInterForestCount - Identifies external/inter-forest trusts
  • Test-MtAdTrustQuarantinedCount - Checks for SID filtering on trusts
  • Test-MtAdTrustStaleCount - Identifies trusts not validated recently
  • Test-MtAdTrustDetails - Provides detailed trust configuration information
Every attribute of this check
FieldValue
Test IDAD-TRUST-01
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureTrusts
AreaExternal access and sharing
Resource typeTrust
MITRE ATT&CKNone
PowerShell testTest-MtAdTrustTotalCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:trustedDomain:ReadProperty