windows-ad

windows-ad is a skill for Claude Code, Codex from Asaiuta/reverse-workbench-skill. It costs 34 tokens per session (788 once invoked), scanned A, a copy of windows-ad, MIT.

A guide for authorized security testing of Windows networks that use Active Directory, Microsoft's system for managing users, computers, and permissions. It covers finding identity weaknesses, attack paths, and privilege escalation risks.

In plain words
What is it for?
Use it for Active Directory enumeration, Kerberos and certificate-service assessments, BloodHound path analysis, credential and relay testing, and lateral-movement research.
Why use it?
It provides a structured way to assess domain security while keeping testing scoped, documented, and authorized.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for Active Directory enumeration, Kerberos and certificate-service assessments, BloodHound path analysis, credential and relay testing, and lateral-movement research.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asaiuta/reverse-workbench-skill/windows-ad
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 Asaiuta/reverse-workbench-skill --skill windows-ad
Clone the repo
git clone --depth 1 https://github.com/Asaiuta/reverse-workbench-skill

Made for: Claude Code, Codex.

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 windows-ad

README.md
[![agentmods](https://agentmods.dev/badge/skills/asaiuta/reverse-workbench-skill/windows-ad/github.svg)](https://agentmods.dev/skills/asaiuta/reverse-workbench-skill/windows-ad)
Your own site
<a href="https://agentmods.dev/skills/asaiuta/reverse-workbench-skill/windows-ad"><img src="https://agentmods.dev/badge/skills/asaiuta/reverse-workbench-skill/windows-ad/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 windows-ad

Your own site · 80×15
<a href="https://agentmods.dev/skills/asaiuta/reverse-workbench-skill/windows-ad"><img src="https://agentmods.dev/badge/skills/asaiuta/reverse-workbench-skill/windows-ad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 788 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00034 $0.00788
Opus 5 $0.00017 $0.00394
Sonnet 5 $0.00007 $0.00158
Haiku 4.5 $0.00003 $0.00079

Measured 5d ago against content hash 5670e104212f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

windows-ad scanned grade A with 0 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to windows-ad — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/windows-ad/SKILL.md · 85 lines

What it actually says

Windows / Active Directory Security

ACTION REQUIRED(读完后立刻执行)

  1. NOW: 读取 ../field-journal/precedent-pentest.md
  2. NOW: 域/AD 测试必须明确授权范围(含 DC、是否允许投毒/中继)
  3. NOW: case-init;network_profile 与禁止动作写清
  4. NEXT: tool-index(impacket/certipy/bloodhound 等常手动)
  5. ACT: 从身份枚举与 BloodHound 图开始,不先上破坏性利用

适用场景

  • 域渗透、Kerberoasting、AS-REP、委派
  • AD CS(ESC1–ESC8 等)证书攻击
  • BloodHound / SharpHound 攻击路径
  • NTLM Relay / Coercer 强制认证
  • 本地提权到域路径(Potato 等作为跳板)

与 attack-chain 关系

  • 多阶段从外网到域控 → PRIMARY 可仍是 attack-chain/,本 skill 为 AD 专科
  • 已在域内专注身份 → PRIMARY = 本 skill

工作流

1. 枚举

# 示例 Impacket / 内置(需凭据与授权)
nxc smb <range> -u user -p pass
bloodhound-python -d domain.local -u user -p pass -c All -ns <DC>

2. 常见路径(先图后枪)

□ Kerberoast / AS-REP → 离线破解
□ ACL 滥用(GenericAll/WriteDacl)
□ 委派(非约束/约束/基于资源)
□ AD CS 模板错误 → Certipy
□ 中继:LLMNR/NBT-NS + ntlmrelayx(确认授权)

3. 凭证与横向

□ secretsdump / lsassy / mimikatz(严格授权与清理)
□ PtH / PtT / 黄金票仅在授权红队范围
□ 每步写 Evidence;高危等用户确认

工具链

工具 用途
BloodHound / SharpHound 路径图
Certipy AD CS
Impacket / NetExec 横向与枚举
Rubeus / Mimikatz 票据与凭证(授权)
Coercer / Responder 强制认证 / 投毒

参考

  • references/ad-attack-paths.md
  • ../pentest-tools/references/network-attack-defense.md
  • ../attack-chain/
  • seeds: field-journal/seed-005_ad-certipy-esc1.md seed-007_ntlm-relay-coercer.md seed-013_kerberoasting-spn.md

路由上下文

上游: MASTER R24
下游: 报告 docs-generator;需 EDR 研究 edr-bypass-re
MUST NOT: 无授权 DCSync / 黄金票打生产

任务完成自检

  • 是否先有图/枚举再有利用?
  • 是否记录可复现命令并脱敏?
  • 是否遵守 scope 禁止项?
  • Checklist?
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 85 lines · 34 tokens per session scan A 5670e104212f

Subscribe to this mod's changes

windows-ad is a skill published in the GitHub repository Asaiuta/reverse-workbench-skill (2 stars, last pushed 25d ago), licensed MIT. It adds 34 tokens to every session and 788 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to windows-ad, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

profinet

PROFINET (L2 EtherType 0x8892 / DCP) attack playbook — DCP Identify-All broadcast enumeration, device fingerprinting, station-name and IP reassignment (breaks IO-controller mapping), flash-LED physical location, factory-reset, RT frame injection/replay for cyclic-IO spoofing. Siemens/EU fieldbus peer of S7Comm…

PurpleAILAB/Decepticon · 88 tokens

osint-recon

A knowledge guide for open-source intelligence, or OSINT: collecting information from publicly available sources. It covers servers, websites, domains, and, when appropriate, people.

Netw0rkNoob/VulnClaw · 42 tokens

hackerone

A safety wrapper for HackerOne bug-bounty testing that reads a program's allowed targets and rules before handing each allowed asset to a penetration-testing workflow. HackerOne is a platform where companies invite researchers to report security bugs.

Netw0rkNoob/VulnClaw · 43 tokens

crypto-toolkit

A toolkit for encoding, decoding, hashing, and encrypting data in formats such as Base64, hexadecimal, URLs, JWTs, AES, RSA, and common ciphers.

Netw0rkNoob/VulnClaw · 69 tokens

redteam-cve-lookup

CVE lookup and applicability assessment domain card. Use after reconnaissance has identified products, versions, services, or fingerprints and red-team mode needs evidence-based CVE matching before deeper testing.

Netw0rkNoob/VulnClaw · 43 tokens

redteam-cve-validation

CVE validation domain card. Use after CVE lookup has produced applicable or candidate CVEs and red-team mode needs scoped evidence to decide whether to continue, pivot, or report.

Netw0rkNoob/VulnClaw · 42 tokens