Active Directory trust abuse — enumerating domain/forest trusts and escalating across them via SID history injection, inter-realm (trust-key) golden tickets, cross-domain Kerberoasting/foreign group membership, and forest-trust boundary considerations. Use after compromising one domain that trusts or is trusted by others.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Trust Attacks?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-trust-attacks)
---
name: trust-attacks
description: Active Directory trust abuse — enumerating domain/forest trusts and escalating across them via SID history injection, inter-realm (trust-key) golden tickets, cross-domain Kerberoasting/foreign group membership, and forest-trust boundary considerations. Use after compromising one domain that trusts or is trusted by others.
---
# AD Trust Attacks
Trusts let principals in one domain access another. Once you own a domain, trusts are the road to sibling domains and the forest root.
## Trigger phrases
`domain trust, forest trust, sid history, trust key, inter-realm, cross domain, trust ticket`
## Enumerate
```
# trusts, direction, transitivity
netexec ldap <dc> -u <user> -p <pass> -M enum_trusts
powerview: Get-DomainTrust / Get-ForestTrust
nltest /domain_trusts
```
BloodHound maps trust edges and foreign-group memberships.
## Attacks
- **Child → parent (intra-forest):** with the child's krbtgt (DCSync in child) forge an inter-realm TGT adding the Enterprise Admins SID via **SID history** → authenticate to the parent/forest root.
```
ticketer.py -nthash <child-krbtgt> -domain-sid <child-SID> -domain child.corp \
-extra-sid <forest-root-SID>-519 Administrator
```
- **Trust-key golden ticket:** dump the inter-realm trust key and forge a referral TGT to the trusted domain.
- **Foreign principals:** users/groups from domain A with membership/rights in domain B — enumerate and use directly.
- **Cross-forest:** forest trusts enforce SID filtering (blocks SID history by default) — look for TGT delegation, foreign ACLs, or shared local admin instead.
## Escalation
Child-domain compromise → forest root via SID history (intra-forest). Document trust direction/filtering as it dictates feasibility.
## Evidence
Trust map, the forged inter-realm ticket or foreign-principal access, and resources reached in the other domain.