Skip to content
Back to skills

Ad Discovery

ASecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securitypythonrust

Works with

  • cli

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill ad-discovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ad Discovery?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ad Discovery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-ad-discovery/badge)](https://www.skillsdirectory.com/skills/anandjogawade-ad-discovery)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.