ad-methodology

ad-methodology is a skill for Claude Code from ADScanPro/Claude-AD. It costs 125 tokens per session (2,798 once invoked), scanned B, original, MIT.

A step-by-step method for testing the security of an Active Directory domain, the system many organizations use to manage Windows users, computers, and permissions.

In plain words
What is it for?
Use it to plan domain assessments through setup, read-only information collection, exploitation, and post-processing of findings.
Why use it?
It provides an order for gathering information and testing access so you map the environment first, avoid unnecessary account lockouts, and focus on realistic attack paths.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the Claude-AD plugin — 8 skills, 3 commands, 3 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/adscanpro/claude-ad/ad-methodology
Any agent
npx skills add ADScanPro/Claude-AD --skill ad-methodology
Clone the repo
git clone --depth 1 https://github.com/ADScanPro/Claude-AD

Made for: Claude Code.

Or install Claude-AD, the plugin that ships this one along with the rest of its 8 skills, 3 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ad-methodology

README.md
[![agentmods](https://agentmods.dev/badge/skills/adscanpro/claude-ad/ad-methodology.svg)](https://agentmods.dev/skills/adscanpro/claude-ad/ad-methodology)
Your own site
<a href="https://agentmods.dev/skills/adscanpro/claude-ad/ad-methodology"><img src="https://agentmods.dev/badge/skills/adscanpro/claude-ad/ad-methodology.svg" alt="Measured on agentmods" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,798 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00125 $0.02798
Opus 5 $0.00063 $0.01399
Sonnet 5 $0.00025 $0.00560
Haiku 4.5 $0.00013 $0.00280

Measured 6d ago against content hash e4b0fb59cc50, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

ad-methodology scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Harvests environment variablesmediumData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

Harvest credentials that cost nothing and lock nothing before you ever send a spray.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo ntpdate <dc_ip> # or: sudo rdate -n <dc_ip>

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/ad-methodology/SKILL.md · 262 lines

How it starts

The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AD Pentest Methodology: Phase Order

A domain assessment is not a bag of tricks you run in random order. The order is the craft. Enumeration feeds exploitation; a credential harvested cheaply saves you a spray that locks accounts; a graph collected once tells you which of a hundred possible attacks actually reaches Domain Admin. Run the phases in order and each one narrows the next.

Four phases, in sequence:

  1. Setup: reachability, name resolution, environment posture, first credentials.
  2. Collection: topology, trusts, directory objects, hosts, shares. Read, do not touch.
  3. Exploitation: attack-path discovery, then cheap wins, then spraying, then hunting.
  4. Post-processing: consolidate loot, re-collect as the owned set grows, report.

The rest of this skill is what happens inside each phase and why that order holds.


Phase 1: Setup

You cannot attack a DC you cannot reach, resolve, or authenticate against. Get these four things straight before anything else.

1.1 Reachability and DNS

The DC is the DNS server for the domain. If your resolver does not point at it, corp.local, dc01.corp.local and SRV records will not resolve, and half your tools fail with confusing errors that look like auth problems.

# Point resolution at the DC, confirm the domain answers
nslookup -type=SRV _ldap._tcp.dc._msdcs.corp.local <dc_ip>
nxc smb <dc_ip>                      # confirms host up + prints domain/hostname/OS

Kerberos also needs FQDNs. Add the DC to /etc/hosts (<dc_ip> dc01.corp.local dc01) so short names and IPs both resolve to the canonical FQDN. This one step prevents a whole class of Kerberos SPN failures later (see ad-environment-constraints).

1.2 Clock sync

Kerberos rejects tickets when client and DC differ by more than five minutes (KRB_AP_ERR_SKEW). Sync before you touch Kerberos.

sudo ntpdate <dc_ip>        # or: sudo rdate -n <dc_ip>

1.3 Environment posture: detect before you authenticate

Read the full file on GitHub · 262 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 262 lines · 125 tokens per session scan B e4b0fb59cc50

Subscribe to this mod's changes

ad-methodology is a skill published in the GitHub repository ADScanPro/Claude-AD (165 stars, last pushed 12d ago), licensed MIT. It adds 125 tokens to every session and 2,798 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 2 findings (harvests environment variables, asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

deploying-active-directory-honeytokens

Deploys deception-based honeytokens in Active Directory including fake privileged accounts with AdminCount=1, fake SPNs for Kerberoasting detection (honeyroasting), decoy GPOs with cpassword traps, and fake BloodHound paths. Monitors Windows Security Event IDs 4769, 4625, 4662, 5136 for honeytoken interaction. Use…

xalgorix/xalgorix · 101 tokens

deploying-active-directory-honeytokens

Deploys deception-based honeytokens in Active Directory including fake privileged accounts with AdminCount=1, fake SPNs for Kerberoasting detection (honeyroasting), decoy GPOs with cpassword traps, and fake BloodHound paths. Monitors Windows Security Event IDs 4769, 4625, 4662, 5136 for honeytoken interaction. Use…

26zl/cybersec-toolkit · 101 tokens

conducting-internal-reconnaissance-with-bloodhound-ce

Conduct internal Active Directory reconnaissance using BloodHound Community Edition to map attack paths, identify privilege escalation chains, and discover misconfigurations in domain environments.

26zl/cybersec-toolkit · 44 tokens

active-directory-full-attack-chain

Execute a complete Active Directory penetration test from initial enumeration to domain dominance. Use this skill for AD security assessments including LDAP enumeration, Kerberos attacks (Kerberoasting, AS-REP roasting), BloodHound attack path analysis, credential dumping with Mimikatz, lateral movement via…

ShulkwiSEC/bb-huge · 96 tokens

ad-cs-esc1-abuse

Exploit Active Directory Certificate Services (AD CS) misconfigurations, specifically ESC1. By requesting a certificate based on a overly permissive template that allows the enrollee to supply a Subject Alternative Name (SAN), an attacker can impersonate highly privileged users (like Domain Admins) and seamlessly…

ShulkwiSEC/bb-huge · 78 tokens

ad-recon

Active Directory reconnaissance skill — host discovery and comprehensive AD enumeration. Activate when the user wants to map an AD environment, enumerate users, groups, shares, trusts, SPNs, or BloodHound data before attacking. Also activate for phrases like "map the domain", "enumerate AD", "find AD users", "collect…

DouglasRao/Claude-Pentest-Skills · 100 tokens