evaluris-solutions/claude-active-directory/ad-pentest
Claude Code and agent skill by evaluris-solutions/claude-active-directory
- community
Checking that the SKILL.md file is still in the repository.
Use when orchestrating an authorized Active Directory offensive assessment from ROE check through recon, credentials, escalation, lateral movement, AD CS, validation, and reporting. Anchors the engagement in evidence, `/scope`, BloodHound-style path reasoning, hybrid-identity context, and MITRE-ready deliverables. Evaluris master workflow for internal pentest and red team.
Install
npx vskill@latest install evaluris-solutions/claude-active-directory/ad-pentestSKILL.md
The same SKILL.md was published earlier as evaluris-solutions/claude-active-directory/ad-pentest.
Active Directory — Master Engagement Workflow
Claude Active Directory by Evaluris Solutions — Evaluris Team. For authorized testing only — written ROE before any action.
External references
- docs/ad-glossary.md · docs/ad-resources.md
- Child skills: ad-methodology, ad-recon, ad-attack-classes, ad-cs-pki
Usage examples
- Greenfield internal — Operator loads this skill first, runs
/scope, then/reconand follows the skill map toad-reconbefore any credential testing. - AD CS–heavy customer — After recon shows enterprise CA, the team prioritizes
ad-cs-pkiand/web3-auditbefore lateral movement; Golden ticket scenarios stay lab-only per critical rules. - Hybrid org — Hybrid identity paragraph is copied into the report scope section while methodology stays on-prem AD per ROE.
Troubleshooting
| Problem | What to do | |
|---|---|---|
| “Everything is in scope” verbally | Stop — get written ROE; /scope checklist is not a substitute for legal authorization. | |
| Graph says DA, no proof | Apply finding-validation; do not ship theoretical chains. | |
| Tooling gaps | Use ad-arsenal patterns; document missing binaries in the appendix, not as fake results. |
The question that matters
"Given explicit authorization, can we demonstrate impact (credential exposure, privilege escalation, domain compromise path) with reproducible evidence — without exceeding ROE?"
If the answer is no (out of scope, no proof, or theoretical only) — stop and document why.
Critical rules
- ROE first — authorized domains, DCs, subnets, windows, destructive vs read-only.
- No unauthorized systems — exclusions are absolute.
- Evidence — every claim needs command output, screenshot, or log reference.
- Validate before the client report — use
/validateandfinding-validationskill. - Minimize harm — prefer non-destructive techniques unless the engagement allows.
- OPSEC — be aware of event logs, EDR, and SOC; document what telemetry your actions may generate.
Engagement phases (non-linear)
| Phase | Focus | |
|---|---|---|
| Plan | ROE, objectives, stealth vs noisy tradeoffs, tool inventory | |
| Recon | DNS, LDAP, SMB signing, user enum, Kerberos pre-auth, SPNs, password policy, BloodHound collection | |
| Credential access | Spray (if allowed), AS-REP roast, Kerberoast, LLMNR/NBT-NS, captured hashes | |
| Escalation | Delegation, ACLs (GenericAll, WriteDACL), GPP/cPassword, misconfigured templates | |
| AD CS | Template analysis, ESC patterns, Certipy-style checks | |
| Lateral | WMI, PSRemoting, SMB, scheduled tasks — within ROE | |
| Objective | Document paths to crown jewels (DA, EA, sensitive groups) | |
| Report | Executive + technical + remediation |
Deep methodology: `skills/ad-methodology/SKILL.md`. Recon detail: `skills/ad-recon/SKILL.md`. Attacks: `skills/ad-attack-classes/SKILL.md`.
Skill map (when to open which file)
| Skill | Open when… | |
|---|---|---|
| ad-methodology | Planning phases, stuck routing, session discipline | |
| ad-recon | Trusts, LDAP cookbook, SMB signing, BloodHound collection choice, spray approval gates | |
| ad-attack-classes | Technique names, lateral protocol matrix, LAPS/RBCD/trust/SQL pointers, ticket sensitivity | |
| ad-arsenal | Concrete tool invocation patterns, OPSEC / log categories | |
| ad-cs-pki | Enterprise CA, templates, ESC-labeled evidence bundles | |
| finding-validation | Before reporting — AD false positives, severity rubric | |
| engagement-reporting | Report structure and AD-specific finding fields | |
| Glossary | Term definitions (TGT/TGS, delegation, Tiering, ESC, …) | |
| ad-resources | Curated external links |
Hybrid identity (one paragraph)
Microsoft Entra ID (cloud) sync and hybrid join do not replace on-premises Active Directory testing for engagements scoped to the Windows Server AD forest. Password writeback, cloud-only passwords, and cloud session issuance can change where credentials are validated and which surfaces appear in scope — but methodology here stays on-prem AD unless the ROE explicitly expands. Do not add an Azure/Entra pentest chapter to this plugin; note hybrid context in kickoff and in the report scope section only.
A → B → C path hunting (domain)
When you confirm technique A, hunt for B and C on the same engagement:
| Signal A | Often leads to B | Escalate to C | |
|---|---|---|---|
| AS-REP roastable users | Cracked passwords | Lateral spray / RDP / SMB | |
| Kerberoastable SPNs | Cracked service accounts | New sessions, local admin | |
| Unconstrained delegation host | Coerced auth to that host | TGT misuse (within lab/ROE) | |
| RBCD / constrained misconfig | Machine account abuse | Resource compromise | |
| Weak AD CS template | Cert request as user/machine | Authenticated session as higher principal | |
ACL (GenericAll on user) | Shadow credentials / reset | Domain escalation path |
Tooling (illustrative)
| Category | Examples | |
|---|---|---|
| Enumeration | ldapsearch, rpcclient, NetExec / CrackMapExec, windapsearch, bloodyAD | |
| Kerberos | Impacket suite, Rubeus (Windows), Certipy (AD CS) | |
| Graph | SharpHound / BloodHound CE, bloodhound-python | |
| Relay | ntlmrelayx, mitm6 (only with authorization) |
Scripts in this repo check for binaries and structure output; they do not replace operator skill.
Reporting and deliverable standards
- `skills/engagement-reporting/SKILL.md` — executive and technical structure, AD-specific object fields, optional MITRE ATT&CK column per finding.
- `skills/finding-validation/SKILL.md` — quality gates, false-positive patterns, severity rubric, and ATT&CK mapping table (verify IDs against the current MITRE release).
- AD CS — triage and evidence must cover ESC1–ESC11 labels when tooling reports them (especially mapping and RPC posture — see `ad-cs-pki`), not only legacy ESC1–ESC8 narratives.
Internal / red-team style: scope, methodology, findings with severity, evidence, remediation — not bug-bounty platform templates.
License / attribution
MIT — Evaluris Solutions. https://evaluris.ae
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
- SKILL.md in the repositoryCheckingskills/ad-pentest/SKILL.md
Popularity
- 7-day trend score
- 0
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
[](https://verified-skill.com/skills/evaluris-solutions/claude-active-directory/ad-pentest)