Skip to main content
Status: Stable Version: 1.0.0 Author: community Tags: active-directory, ad, kerberos, bloodhound, internal-pentest, privilege-escalation
Installation

Summary

Run a full Active Directory attack-path assessment from Linux using the standard open-source AD toolset: Impacket, NetExec, BloodHound, and Certipy. Goes from zero credentials to a ranked list of privilege-escalation paths to Domain Admin.
  • Phase 0 enumerates without any credentials: domain identity via DNS/SMB/LDAP, null-session and anonymous-bind checks, Kerberos pre-auth username enumeration (kerbrute), password policy, and open shares
  • Phase 1 pivots to authenticated enumeration once any credential is available: full LDAP dump, trust and forest structure, domain computers and OUs, EOL host detection
  • Phase 2 runs BloodHound collection and Cypher queries for shortest paths to Domain Admin, Kerberoastable users with a path to DA, and dangerous ACEs held by non-privileged principals
  • Phase 3 attacks Kerberos: AS-REP roasting (no credentials needed), Kerberoasting, targeted Kerberoasting via a writable SPN, and timeroasting
  • Phase 4 abuses ACLs and delegation: GenericAll/ForceChangePassword/WriteDacl/AddMember abuse chains, unconstrained delegation, constrained delegation (S4U2Self/S4U2Proxy), Resource-Based Constrained Delegation, and shadow credentials (msDS-KeyCredentialLink)
  • Phase 5 harvests credentials: secretsdump (SAM/LSA/NTDS.dit), GPP cpassword extraction from SYSVOL, LAPS reader enumeration, DCSync, and lockout-aware password spraying
  • Phase 6 enumerates AD CS (Certificate Services) for the full ESC1-ESC8 misconfiguration classes using certipy
  • Phase 7 coerces authentication (PetitPotam, PrinterBug, DFSCoerce) and relays it over NTLM to LDAP or AD CS enrollment
  • Phase 8 detects persistence indicators: AdminSDHolder tampering, DSRM logon backdoors, SID History injection, krbtgt exposure
  • Phase 9 produces a structured Markdown report with a risk summary, verified attack path to Domain Admin, and every finding tagged to a MITRE ATT&CK technique ID and tactic

SKILL.md file

AD Breach

Full enumeration and attack-path analysis of an Active Directory environment using Linux tooling. Enumerate, graph, attack, and report: in one structured, iterative pass that starts from zero credentials.

What Does It Check?

In scope:
  • Unauthenticated attack surface: null sessions, anonymous LDAP binds, Kerberos pre-auth username enumeration, open shares
  • Full domain enumeration: users, groups, computers, OUs, GPOs, trusts, once any credential is obtained
  • BloodHound-driven attack path analysis: shortest paths to Domain Admin, dangerous ACEs, Kerberoastable users with escalation paths
  • Kerberos weaknesses: AS-REP roasting, Kerberoasting, targeted roasting via writable SPN, timeroasting
  • ACL and delegation abuse: dangerous ACEs (GenericAll, WriteDacl, ForceChangePassword, AddMember), unconstrained/constrained delegation, RBCD, shadow credentials
  • Credential exposure: GPP cpassword, LAPS readers, DCSync rights, LSASS/SAM/NTDS.dit dumping
  • AD CS misconfigurations: ESC1 through ESC8
  • Authentication coercion and NTLM relay: PetitPotam, PrinterBug, DFSCoerce, relayed to LDAP or AD CS web enrollment
  • Persistence indicators: AdminSDHolder, DSRM backdoors, SID History injection, krbtgt exposure
Out of scope:
  • Active exploitation of persistence mechanisms against a live environment without explicit authorization: Phase 8 is detection-only
  • Windows-native collection (SharpHound.exe): this skill is Linux-first and uses bloodhound-python; SharpHound is referenced as an alternative when a domain-joined foothold exists
  • Physical/social engineering attack vectors

How It Works

Phase 0: Unauthenticated Enumeration
Kerberos pre-auth enumeration surfaces valid usernames without touching SMB login event logs, and feeds directly into Phase 3’s AS-REP roasting: which requires zero valid passwords. Because AS-REP roasting needs no credential at all, it can be run right here against the Phase 0 username list rather than waiting for the phases in between: the phase numbers below group commands by attack category, not strict execution order.Phase 1-2: Authenticated Enumeration & BloodHound
Every BloodHound-surfaced path is independently verified in later phases before being reported as exploitable.If an NTLM hash was recovered instead of a plaintext password, authenticate with it directly rather than cracking it back to plaintext:
Phase 3: Kerberos Attacks
Phase 4: ACL & Delegation Abuse
Phase 5: Credential HarvestingBefore spraying, re-check the password policy captured in Phase 0: if lockoutThreshold is nonzero, cap guesses per account at lockoutThreshold - 1 inside one observation window, and confirm this is within rules of engagement.
Phase 6: AD CS (ESC1-ESC8)
Phase 7: Authentication Coercion and NTLM Relay
Requires LDAP signing and channel binding to be disabled on the target and a network path from the DC to the relay listener; check both before attempting.

Output

The skill produces a full Markdown report structured as:Example ACL finding table:
Example MITRE ATT&CK mapping row:

Known Limitations

  • Detection-only for persistence mechanisms (Phase 8): does not deploy golden tickets, DCShadow, or backdoor accounts against the target
  • BloodHound shows what ACL/delegation paths are theoretically possible, not what is guaranteed to work (e.g. it doesn’t check LAPS randomization or Protected Users group membership): every path must be verified in later phases
  • AD CS abuse (Phase 6) requires an Enterprise CA to be present in the environment; skipped with a note if none is found
  • Password spraying (Phase 5.5) and forced-authentication coercion (Phase 7) are intrusive: always confirm rules of engagement and lockout thresholds before running

Benchmark Results

Tested on claude-sonnet-4-6 via Claude Code CLI against a GOAD (Game of Active Directory) lab instance with four intentionally seeded escalation paths (Kerberoastable service account, GenericAll ACL misconfiguration, AS-REP roastable account, ESC1-vulnerable AD CS template). Same lab, same model, same prompt: the only variable is whether the skill is loaded.

droid-recon

Full static analysis of Android APK files using apktool and jadx, aligned to OWASP MASVS

finding-writer

Convert raw pentest notes into structured audit findings ready for reporting

nuclei-template-writer

Write production-ready Nuclei templates from vulnerability descriptions

cvss-scorer

Compute an exact CVSS v3.1 base score and vector for each AD Breach finding before it goes into a report