Skip to main content

Active Directory Trusts

Status: Scaffold — content in progress

AD trusts define authentication relationships between domains and forests. Trust paths are a common lateral movement route from child to parent domain.

Trust Types

TypeDirectionTransitivityScope
Parent-childBidirectionalTransitiveSame tree
Tree-rootBidirectionalTransitiveSame forest
ExternalUni or BiNon-transitiveCross-forest (specific domain)
ForestUni or BiTransitive (within scope)Cross-forest
ShortcutBidirectionalTransitiveSpeeds auth across tree
RealmUni or BiCan be eitherNon-Windows Kerberos realm

SID Filtering

SID filtering prevents cross-forest SID history attacks by stripping SIDs from the trusted domain's SID namespace from authentication tokens.

  • Default behavior: SID filtering is enabled on forest trusts
  • Disabled by: netdom trust /EnableSIDHistory:yes — rarely needed, opens SID history abuse
  • Quarantine flag: Extra protection on external trusts

Attack Paths via Trusts

AttackRequirementImpact
SID history injectionDomain Admin in child domainForge SID history to include Enterprise Admin SID — escalate to forest root
Cross-domain Golden Ticketkrbtgt hash of child domainCreate inter-realm TGT with forged SID history
Trust account NTLM relayTrust account hashesLateral movement into trusted domain

Key Principle

Compromising a child domain = compromising the parent via SID history if SID filtering is not properly enforced.

Telemetry

Event IDDescription
4769Service ticket request (cross-domain ticket will show referring domain)
4768TGT request with referral
TopicLink
SID History Abusesid-history-abuse
Golden Ticketgolden-ticket