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

Good fit Use it to plan domain assessments through setup, read-only information collection, exploitation, and post-processing of findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adscanpro/claude-ad/ad-methodology
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ad-methodology

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 9
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • medium Privilege Escalation · line 58
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.5 $0.00050 $0.01119
Sonnet 5.5 $0.00025 $0.00560
Haiku 4.5 $0.00013 $0.00280

Measured 3mo ago against content hash e4b0fb59cc50, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (227 stars, last pushed 3mo ago), licensed MIT. It adds 125 tokens to every session and 2,798 once invoked, about $0.0005 per session on Opus 5.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

ad-methodology compared with skills from other repositories

ad-methodology next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ad-methodologyADScanPro/Claude-ADSkill2273mo agoMITB125Claude Code
performing-active-directory-penetration-testxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A48Claude Code, Codex
deploying-active-directory-honeytokensxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A101Claude Code, Codex
pentesting-ldapxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A99Claude Code, Codex
deploying-active-directory-honeytokens26zl/cybersec-toolkitSkill116yesterdayMITA101Claude Code
conducting-internal-reconnaissance-with-bloodhound-ce26zl/cybersec-toolkitSkill116yesterdayMITA96Claude Code
executing-active-directory-attack-simulationxalgorix/xalgorixSkill1.6kyesterdayApache-2.0C107Claude Code, Codex