ad-attack-advisor

ad-attack-advisor is an agent for Claude Code from pashki975/thm-claude-kit. It costs 21 tokens per session (442 once invoked), scanned A, original, MIT.

An advisor for finding attack paths in Active Directory, Microsoft's system for managing users, computers, and permissions across a Windows network. It uses scan results or BloodHound data, where BloodHound maps relationships and permissions.

In plain words
What is it for?
Use it on domain-joined Windows lab machines to plan enumeration, credential reuse, service-account attacks, permission abuse, certificate-service attacks, and domain takeover paths.
Why use it?
It turns complex domain findings into a suggested next step and briefly explains terms such as service tickets, delegation, and access-control rules.

Agent for Claude Code

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 agents/pashki975/thm-claude-kit/ad-attack-advisor
Clone the repo
git clone --depth 1 https://github.com/pashki975/thm-claude-kit

Made for: Claude Code.

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-attack-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/pashki975/thm-claude-kit/ad-attack-advisor.svg)](https://agentmods.dev/agents/pashki975/thm-claude-kit/ad-attack-advisor)
Your own site
<a href="https://agentmods.dev/agents/pashki975/thm-claude-kit/ad-attack-advisor"><img src="https://agentmods.dev/badge/agents/pashki975/thm-claude-kit/ad-attack-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 442 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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 $0.00021 $0.00442
Opus 5 $0.00010 $0.00221
Sonnet 5 $0.00004 $0.00088
Haiku 4.5 $0.00002 $0.00044

Measured 4d ago against content hash 4e478f2110c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ad-attack-advisor 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 4d 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.

.claude/agents/ad-attack-advisor.md · 29 lines

What it actually says

You advise on Active Directory attack paths for CTF boxes. Assume the user knows Linux well but is newer to AD — briefly explain AD concepts (SPNs, tickets, delegation, ACLs) as they come up, without over-explaining.

Given enumeration output (nxc, enum4linux-ng, rpcclient, ldapsearch), cracked creds, or BloodHound findings:

  • Map where we are in the standard AD kill chain and what the next concrete move is:
    1. Foothold cred (AS-REP roast, password spray, guest/null, web app, cred in a share)
    2. Situational awareness — run BloodHound collection when we have any valid cred: bloodhound-python -u <user> -p <pass> -d <DOMAIN> -ns <DC-IP> -c all
    3. Privilege path — Kerberoast service accounts, abuse ACLs (GenericAll, WriteDACL, AddMember), DCSync rights, delegation (unconstrained/constrained/RBCD)
    4. Domain dominance — DCSync to dump krbtgt, then note it's game over
  • For each step give the exact tool + command (impacket, nxc, evil-winrm, bloodyAD, certipy)
  • When creds are found, always suggest spraying them across other users/hosts and checking for local admin with nxc smb <range> -u <user> -p <pass>
  • If ADCS (certificate services) is in scope, flag checking for ESC1-ESC8 with certipy
  • Watch for clock skew and /etc/hosts issues — the #1 cause of "it should work but doesn't"

Explain WHY each move follows, rank by likelihood, and flag rabbit holes. Only analyze provided data; ask for the specific enumeration you need. Do not run attacks against the target yourself — hand over a verified, ordered plan. Stay strictly on the assigned target.

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. 4d ago First seen · 29 lines · 21 tokens per session scan A 4e478f2110c1

Subscribe to this mod's changes

ad-attack-advisor is an agent published in the GitHub repository pashki975/thm-claude-kit (2 stars, last pushed 21d ago), licensed MIT. It adds 21 tokens to every session and 442 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

documenter

Edits one documentation file in-place to reflect code changes — minimal edits, no prose polish, no scope creep. Operates in UPDATE mode (file exists) or CREATE mode (file is new). Dispatched by /hyperclaude:hyper-docs-sync once per affected doc. Context: hyper-docs-sync identified a doc that needs updating after a…

zeikar/hyperclaude · 303 tokens

prompts-guide

Interactive guide for using prompt-factory skill to generate mega-prompts. Helps choose from 69 presets or create custom prompts, select formats (XML/Claude/ChatGPT/Gemini), and explains usage. Use when user wants to generate production-ready prompts for any LLM.

alirezarezvani/claude-code-skill-factory · 60 tokens

problem-explorer

Deepens understanding of extracted problems by discovering sub-problems, implied problems, ambiguities, contradictions, and factors — producing enriched problem definitions that support reliable decomposition.

nestharus/agent-implementation-skill · 32 tokens

problem-expander

Validates problem surfaces discovered by the intent judge and integrates confirmed ones into the living section problem definition and rubric axis table.

nestharus/agent-implementation-skill · 24 tokens

scan-related-files-adjudicator

Compares a section's current related-files list against evidence and emits a structured update signal with additions and removals.

nestharus/agent-implementation-skill · 23 tokens

philosophy-bootstrap-prompter

Optional bootstrap helper that reads project-shaping artifacts and suggests project-specific philosophy prompts for the user.

nestharus/agent-implementation-skill · 19 tokens