Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    cross forest trust abuse

    2

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

    $11

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security 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.

    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.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Web3 & Crypto.

    Requires Domain Admin or krbtgt keys from forest A. Impacket 0.13 lacks SMB3 backup flags; manual host execution or custom clients required for SeBackupPrivilege exploitation.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 months ago

    Permissions

    No special permissions declared or detected

    Listed2 months ago

    What's inside

    Frequently Asked Questions

    This skill automates the identification and exploitation of forest trust vulnerabilities, specifically handling the complex logic required to bypass SID filtering and execute golden ticket attacks across Active Directory boundaries.

    The skill requires either Domain Admin credentials or the krbtgt AES key from the source forest to begin the multi-stage exploitation process.

    It is optimized for use with agents that support Python environments and have access to standard red-teaming frameworks like Impacket, BloodHound, and Samba-tool.

    Yes, this skill includes specialized logic for RID hardening required by Windows Server 2025 and handles the technical nuances of SMB3 backup flags that often cause failure in older tools.

    You receive the complete AI agent skill logic, a curated list of exploit dependencies for air-gapped deployment, and a technical guide on interpreting trustAttribute bitmasks.

    This skill provides specific bypass logic for both 'clean' and 'quarantined' trusts, including hunting for misconfigured well-known SID ACEs when standard SID history attacks are blocked.

    New in Web3 & Crypto