Domain Trust Abuse
Compromising a domain is rarely the end: nearly every forest holds trust relationships with other domains, and those relationships are authentication paths that can be walked. Being an administrator of a child domain can be enough to own the whole forest.
Mechanism. A trust stores a shared key between the two domains. When a user in A asks for a resource in B, A's KDC issues an inter-realm TGT encrypted with that key, which B accepts. The PAC inside the ticket carries the user's SIDs, and that is where the abuse lives: if the attacker controls the child domain's krbtgt key they can forge a Golden Ticket and inject the root domain's Enterprise Admins SID into the PAC (SID history). Within a single forest this works because SID filtering is disabled by design.
The distinction that matters: inside a forest the trust is transitive and unfiltered, so the child to root path is real; between forests SID filtering is on by default and the same trick does not pass.
First map the trusts, which is information any domain user can read:
nltest /domain_trusts
netexec ldap <dc> -u <user> -p <pass> -M enum_trusts
Get-DomainTrust
Get-DomainTrustMapping # walks the trusts recursivelyWith the child's krbtgt key and the root's SID, the ticket is forged with the extra SIDs:
impacket-ticketer -nthash <krbtgt-hash> -domain-sid <child-sid> -domain <child.domain> \
-extra-sid <root-sid>-519 AdministratorRequirements. Administrator of the child domain (in practice, holding its krbtgt hash, which comes from a DCSync) and knowing the root domain's SID.
How to detect it. A 4769 requested for a root domain resource by an account that has never left the child, and above all tickets whose PAC carries SIDs from a domain other than the issuer, is the fingerprint. In the root, a 4624 from a principal that does not exist in its directory deserves an alert. The preceding phase usually also leaves bulk LDAP queries against trustedDomain.
Defence. Treat the forest, not the domain, as the real security boundary: if the child is not administered as strictly as the root, the root is not protected. Where cross-forest trusts exist, do not disable SID filtering or clear the quarantine flag without understanding what it implies, and watch accounts that hold privilege in several domains at once.