Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    cross forest trust abuse

    2

    Execute multi-stage Active Directory cross-forest trust attacks and bypass SID filtering.

    $11

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    cross forest trust abuse

    cross forest trust abuse

    Example session with this skill installed

    I have DA in FOREST-A. The trust to FOREST-B has trustAttributes 0x48. I need to get into FOREST-B. What is the attack path?

    • Read your context and instructions
    • Compiled the cross forest trust

    The trustAttributes value 0x48 indicates both FOREST_TRANSITIVE and TREAT_AS_EXTERNAL (Quarantined) are set. SID filtering is enforced. Any extra-SIDs added to a ticket (Step 2) will be stripped at the forest boundary. You must pivot to Step 2b and target well-known SIDs that survive the filter.

    Quarantined Trust Escalation Plan

    ActionCommand / LogicObjective
    1. Map Well-Known Rightsldapsearch -H ldap://dcB.B.domain -b "DC=B,DC=domain" "(nTSecurityDescriptor=*)"Identify objects where S-1-5-11 (Auth Users) has WriteProperty or GenericAll.
    2. Identify Privilege NestingSearch B's directory for empty groups nested into Backup Operators or Account Operators.Find the entry point for forest-wide escalation.
    3. Check Machine Goldsecretsdump.py -hashes :<NT_HASH> FOREST-A/DC-A$@DC-A.A.domainExtract _SC_ service account plaintexts from Forest A; test for reuse in Forest B.
    4. Execute ksu Tricksamba-tool user create root --userou="OU=Target" -H ldap://dcB.B.domain -kIf a Linux host exists in B's realm, create a 'root' principal to bypass local auth.

    Next steps

    1. Run ldap3 or impacket scripts to parse B's domain root SDDL into human-readable format.
    2. Search for S-1-5-11 in the nTSecurityDescriptor of the AdminSDHolder object in Forest B.
    3. If unconstrained delegation is enabled on Forest A's DC, attempt an EFS coercion against Forest B's DC.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Identify if SID filtering is enforced via trustAttributes bitmask analysis.Forge SID-history tickets for clean trusts with Server 2025 PAC hardening.Bypass quarantined trust filters using well-known SID ACL exploitation.Root Linux realm members using the ksu interactive principal bypass.

    About this skill

    The problem

    Attacking a forest trust often stalls after gaining Domain Admin in the initial forest. Standard tools like impacket fail with obscure errors, and forged tickets are frequently stripped by SID filtering without clear feedback.

    What it does

    • Evaluates trustAttributes bitmasks to determine if a trust is quarantined or clean before attempting exploitation.
    • Executes the SID history golden ticket attack for clean trusts, including mandatory RID hardening for Server 2025.
    • Identifies and exploits well-known SID vulnerabilities (Authenticated Users, Everyone) when SID filtering is enforced.
    • Leverages coercion chains and unconstrained delegation to capture machine account TGTs across forest boundaries.

    Frameworks & tools

    Impacket (ticketer, secretsdump, lookupsid), BloodHound, Samba-tool, MIT Kerberos (ksu), and LDAP.

    Why this beats prompting it yourself

    General LLMs often suggest DCSync attacks that fail across trusts due to NC mismatches. This skill provides the specific logic for bypassing SID filtering and handles the technical nuances of SMB3 backup flags and MIT Kerberos interactive shell traps that generic prompts miss.

    Use cases

    • Pivoting from a compromised child forest to a parent forest via SID history.
    • Escalating privileges in a quarantined trust by hunting for misconfigured well-known SID ACEs.
    • Compromising Linux members in a Kerberos realm using the ksu interactive bypass.
    • Deploying exploit dependencies to air-gapped target environments using offline wheel pipelining.

    Known limitations

    Requires Domain Admin credentials or the krbtgt AES key from the source forest. Impacket 0.13 does not support the necessary SMB3 flags for direct remote SAM/NTDS reads via SeBackupPrivilege.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 7 days ago

    • Passed all security checks, Safe to install

    Listed7 days ago

    What's inside

    Frequently Asked Questions