AD-TRUST-05 - Trust configuration details should be retrievable
Overviewโ
Comprehensive trust documentation is essential for security operations:
- Security Audits: Auditors require detailed trust configuration information
- Incident Response: Understanding trust relationships helps during security incidents
- Change Management: Tracking trust configurations supports change control processes
- Risk Assessment: Detailed trust information enables proper risk evaluation
- Compliance: Many frameworks require documentation of trust relationships
Trust details reveal critical security properties including:
- Direction: Who can access whose resources
- Type: External vs Forest trust (different security models)
- SID Filtering: Whether the trust is quarantined
- Selective Authentication: Whether authentication is restricted
Security Recommendationโ
Configuration Best Practices:
- Use Forest Trusts: Prefer forest trusts over external trusts for better security
- Enable SID Filtering: Always enable SID filtering on external trusts
- Selective Authentication: Use selective authentication when possible
- Inbound Only: Prefer inbound trusts over bidirectional when possible
- Document Everything: Maintain detailed documentation of each trust's purpose
Trust Properties to Monitor:
Quarantined: Should be$truefor external trustsSelectiveAuthentication: Consider enabling for sensitive environmentsDirection: Bidirectional trusts have higher riskIntraForest: External trusts ($false) need extra scrutiny
How the Test Worksโ
This test retrieves all trust properties and displays:
- Target domain
- Trust direction
- Trust type
- Intra-forest status
- Quarantine (SID filtering) status
- Selective authentication status
Related Testsโ
Test-MtAdTrustTotalCount- Overall trust countTest-MtAdTrustInterForestCount- External trust identificationTest-MtAdTrustQuarantinedCount- SID filtering statusTest-MtAdTrustStaleCount- Trust validation status
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-TRUST-05 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.Trust |
| PowerShell test | Test-MtAdTrustDetails |
| Tags | AD, AD-TRUST-05, AD.Trust |
Sourceโ
- Pester test:
tests/ad/trust/Test-MtAdTrustDetails.Tests.ps1 - PowerShell source:
powershell/public/ad/trust/Test-MtAdTrustDetails.ps1

