Back to skills
SKILL.md
Ad Discovery
ASecurityActive Directory enumeration and reconnaissance — domain/forest facts, users, groups, computers, GPOs, trusts, ACLs, delegations, SPNs, shares and password policy, from unauthenticated, low-privileged and post-compromise vantage points. Feeds BloodHound attack-path analysis. Use at the start of and throughout any AD engagement.
- 16 stars
- 0 votes
- 0 copies
- 3 views
- Added November 17, 2026
Works with
Security analysis
100/100npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill ad-discovery --agent claude-codeAre you the author of Ad Discovery?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-ad-discovery)---
name: ad-discovery
description: Active Directory enumeration and reconnaissance — domain/forest facts, users, groups, computers, GPOs, trusts, ACLs, delegations, SPNs, shares and password policy, from unauthenticated, low-privileged and post-compromise vantage points. Feeds BloodHound attack-path analysis. Use at the start of and throughout any AD engagement.
---
# 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 templates (ESC1-8).
- **Shares & files:** `netexec smb <targets> --shares`, then spider for creds/configs (`--spider`, Snaffler).
- **LAPS/gMSA:** readable LAPS passwords, gMSA password read rights.
## Post-compromise
Re-enumerate as each new identity; hunt local admin rights (`netexec smb <subnet> -u <user> -p <pass>` → `(Pwn3d!)`), sessions (for token/credential theft), and new reachable segments.
## Depth
- Map high-value targets (DAs, DCs, servers with admin sessions) and the shortest graph path to them.
- Note stale/abandoned accounts, service accounts, and trust edges for cross-domain moves (`trust-attacks`).
## Evidence
BloodHound DB + path screenshots, LDAP dumps, SPN/AS-REP/delegation/ADCS findings, share inventory.
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.