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.
npx agentmods add skills/adscanpro/claude-ad/ad-methodologynpx skills add ADScanPro/Claude-AD --skill ad-methodologygit clone --depth 1 https://github.com/ADScanPro/Claude-ADWrote 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.
[](https://agentmods.dev/skills/adscanpro/claude-ad/ad-methodology)<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>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.
| Model | Per session | Once 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 |
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.
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:
- Setup: reachability, name resolution, environment posture, first credentials.
- Collection: topology, trusts, directory objects, hosts, shares. Read, do not touch.
- Exploitation: attack-path discovery, then cheap wins, then spraying, then hunting.
- 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
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.
- 6d ago First seen · 262 lines · 125 tokens per session scan B e4b0fb59cc50
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.
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…
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…
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.
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…
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…
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…