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

Written for Claude Code: installed under .claude/.

Good fit 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.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pashki975/thm-claude-kit/ad-attack-advisor
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.

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/github.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/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-attack-advisor

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.00021 $0.00442
Opus 5.5 $0.00008 $0.00177
Sonnet 5.5 $0.00004 $0.00088
Haiku 4.5 $0.00002 $0.00044

Measured 3mo ago against content hash 4e478f2110c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 3mo 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 3mo ago), licensed MIT. It adds 21 tokens to every session and 442 once invoked, about $0.0001 per session on Opus 5.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

ad-attack-advisor compared with agents from other repositories

ad-attack-advisor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ad-attack-advisorpashki975/thm-claude-kitAgent23mo agoMITA21Claude Code
flow-optimizeriso73-ops/claude-keitaroAgent258mo agoMITA33Claude Code
browser-qa-agentstuartshields/claude-setupAgent26mo agoMITA41Claude Code
foundry-auditorSoftMissT/tudo-sobre-vibe-codingAgent82mo agononeA216Claude Code
backend-builderstuartshields/claude-setupAgent26mo agoMITA65Claude Code
resume-tailorsaifwarraich/claude-job-applicationsAgent22mo agononeA55Claude Code
go-backendPlanVault/ai-engineering-playbookAgent63mo agononeA8Claude Code