evaluris-solutions/claude-active-directory/ad-recon

Claude Code and agent skill by evaluris-solutions/claude-active-directory

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when performing or planning authorized Active Directory reconnaissance—DNS and DC SRV, forest and trust mapping, LDAP/LDAPS and signing posture, gMSA discovery, SMB signing, password policy and spray approval gates, Kerberos SPN and pre-auth discovery, BloodHound collection choice, and LDAP filter cookbook. Use before cred-heavy phases once ROE allows enumeration.

Install

npx vskill@latest install evaluris-solutions/claude-active-directory/ad-recon

SKILL.md

The same SKILL.md was published earlier as evaluris-solutions/claude-active-directory/ad-recon.

AD Reconnaissance

Evaluris Solutions — evaluris.ae — authorized assessments only.

Related: ad-methodology · ad-attack-classes · Glossary

External references

Usage examples

  1. First week internal — Analyst runs LDAP cookbook rows for SPN and DONT_REQUIRE_PREAUTH, records PSO vs default policy, and chooses BloodHound DCOnly because red team ROE demands lower noise.
  2. Multi-domain ROE — Trust partners are listed from DNS/LDAP; SID filtering is documented as awareness before any cross-domain session is attempted.
  3. Collector blocked — EDR blocks SharpHound; operator falls back to manual LDAP goals, notes the gap for the customer, and suggests customer-run collection.

Troubleshooting

ProblemWhat to do
LDAP bind fails with “stronger auth required”Document signing / LDAPS requirement; switch tooling to TLS or GSSAPI per customer policy.
Bitwise LDAP filters return unexpected rowsRe-verify userAccountControl masks against current Microsoft docs; cite filter version in notes.
Spray approval missingDo not spray — escalate to customer sign-off per password policy section.

Preconditions

  • ROE lists domain name(s), DCs or subnets, and whether anonymous/unauthenticated tests are allowed.
  • Trusts: If multi-domain/forest is in scope, note which direction and type of trust testing is permitted.

DNS

  • Resolve DCs: nslookup -type=SRV _ldap._tcp.dc._msdcs.<domain>
  • Zone transfers are rarely allowed; if denied, document and continue with other channels.
  • Record all DC hostnames returned — Tier-0 proximity for reporting.

Domain and forest trusts

Trusts change where authentication and credential material may flow.

EnumerateWhy it matters
Trust partners (inbound / outbound)Identifies extra domains to map in ROE
Forest trusts vs externalDifferent default security (e.g. SID filtering, selective auth)
Trust directionAffects which domain’s accounts can authenticate where
TransitivityShortcut paths across the graph

Awareness (not a bypass guide): SID filtering limits which security identifiers from a trusted forest are accepted. Selective authentication restricts which users from a trusted forest may access resources. These controls affect whether a theoretical cross-trust path is actually exploitable — validate in environment and document in the report.

When trusts are visible but you have no creds yet, prioritize LDAP/DNS against each in-scope trusted name once ROE allows, and note blind spots for the customer.


Password policy and password spray

Never spray without explicit written customer approval and a documented lockout policy.

CheckAction
Lockout thresholdStay below threshold per user (typically one attempt per user per window; confirm lockoutDuration / lockoutObservationWindow)
Fine-grained password policiesMay apply to different groups — enumerate if possible
Account lockoutStop immediately if unexpected lockouts occur; notify customer per ROE

Record policy source (default domain policy vs PSO) for the report appendix.


LDAP channel security (posture)

Document for the methodology appendix — not a bypass guide.

  • LDAPS (TCP 636) vs LDAP (389): note which you used; many environments require signing or LDAPS for simple binds per domain policy.
  • LDAP signing requirement: if binds fail or tools warn, record that unsigned LDAP is blocked — affects tool choice (e.g. ldapsearch StartTLS / LDAPS).
  • Channel binding for LDAP: when organizations enforce it, it raises the bar for certain credential relay narratives; cite that enforcement was observed, not how to defeat it.
  • Anonymous LDAP is usually disabled; document whether unauthenticated enumeration was in scope and denied.

LDAP — goals and filter cookbook

Substitute <BASE_DN> and bind credentials per engagement. Filters use standard LDAP syntax; verify bitwise flags against current Microsoft documentation if results look wrong.

GoalFilter pattern (illustrative)
All users(objectClass=user)(objectCategory=person)
Users with SPN (Kerberoast candidates)(&(objectCategory=person)(objectClass=user)(servicePrincipalName=*))
Pre-auth not required (AS-REP roast candidates)Bitwise userAccountControl match for DONT_REQUIRE_PREAUTH — use documented OID 1.2.840.113556.1.4.803 and the correct bitmask
Computers(objectClass=computer)
Unconstrained delegation (computer trusted for delegation)Bitwise userAccountControl match for TRUSTED_FOR_DELEGATION on computer objects
Constrained delegation fieldsInspect msDS-AllowedToDelegateTo on relevant principals
RBCDInspect msDS-AllowedToActOnBehalfOfOtherIdentity on computer objects
gMSA (Group Managed Service Accounts)(objectClass=msDS-GroupManagedServiceAccount) — or search msDS-ManagedPassword–related attributes per tooling; informs service account risk narrative
Domain admins (example group)(&(objectClass=user)(memberOf:1.2.840.113556.1.4.1941:=CN=Domain Admins,CN=Users,<BASE_DN>)) (adjust group DN)

Useful attributes (non-exhaustive): sAMAccountName, userPrincipalName, servicePrincipalName, userAccountControl, memberOf, msDS-AllowedToDelegateTo, msDS-AllowedToActOnBehalfOfOtherIdentity, whenCreated, lastLogonTimestamp.


SMB

  • Signing: Note whether required or enabled on DCs, member servers, and workstations you are allowed to probe — affects relay hypotheses (environment-specific; EPA and signing can block naive relay to patched services).
  • SMBv1: If observable (version negotiation or scanner output), record legacy SMBv1 exposure as risk context — often a hygiene finding, not an AD auth bypass by itself.
  • Null session / guest — often disabled; document result.
  • Enumerate shares only on in-scope hosts and with approved accounts.

Kerberos (no or low privilege)

  • Pre-auth disabled → AS-REP roast candidate set (validate with LDAP + tooling).
  • SPNs on user accounts → Kerberoast candidate set (TGS + offline crack workflow per ROE).

BloodHound / SharpHound

CollectionNoise / visibilityCredential needWhen to use
DCOnlyLower than fullOften needs domain sessionQuick graph of DC-resolvable data
Default / broaderHigherSession typically requiredStandard internal assessment
AllHighestSession + ROE for stealthOnly when explicitly allowed

If collectors are blocked (EDR, policy, no join): fall back to manual LDAP goals in this skill, document coverage gaps, and recommend customer-run collection if appropriate.


Output

Store notes under recon/<domain>/ — tools/ad_recon.sh creates a baseline layout; see notes/ldap-goals.txt for a checklist mirror.


Safety

  • Document every enumeration action for the final report.
  • Hybrid identity: If the org syncs to Entra ID, passwords or lockout may also affect cloud sign-in — stay within ROE; see ad-pentest skill Hybrid identity note.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
17
Repository forks
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/evaluris-solutions/claude-active-directory/ad-recon/badge)](https://verified-skill.com/skills/evaluris-solutions/claude-active-directory/ad-recon)

Something wrong with this skill or its page? Tell us.