ad-discoverylisted
Install: claude install-skill AnandJogawade/Zazy-Pentest-Plugin-for-Claude
# AD Discovery & Enumeration
You cannot attack what you cannot see. Enumerate broadly from every privilege level you gain, and re-run after each escalation. BloodHound is the centerpiece.
## Trigger phrases
`ad enumeration, domain enum, bloodhound, sharphound, ldap enum, spn, password policy, domain trusts`
## Unauthenticated / pre-cred
- Identify DCs: `nmap -p53,88,389,445,636,3268 <subnet>`; `nslookup -type=SRV _ldap._tcp.dc._msdcs.<domain>`.
- Null/guest SMB & LDAP: `netexec smb <dc> -u '' -p ''`, `enum4linux-ng -A <dc>`, `ldapsearch -x -H ldap://<dc> -s base namingContexts`.
- RID cycling / user enum: `netexec smb <dc> --rid-brute`; `kerbrute userenum -d <domain> users.txt` (no lockout, no logs on failure).
- Password policy: `netexec smb <dc> --pass-pol` (plan spraying around lockout).
## Authenticated (any domain user)
- **BloodHound** (do this first): `bloodhound-python -d <domain> -u <user> -p <pass> -ns <dc> -c All`, or SharpHound on-host. Import and analyze shortest paths to DA/high-value.
- LDAP dumps: users (`--users`), groups (`--groups`), computers (`--computers`), with `netexec ldap`. `ldapdomaindump` for an offline HTML view.
- **SPNs** (Kerberoast targets): `GetUserSPNs.py <domain>/<user>:<pass>`.
- **AS-REP** candidates (no preauth): `GetNPUsers.py <domain>/ -usersfile users.txt`.
- **Delegations:** `findDelegation.py`; BloodHound flags unconstrained/constrained/RBCD.
- **ADCS:** `certipy find -u <user>@<domain> -p <pass> -dc-ip <dc>` → vulnerable templa