Skip to content
Skill

Kerberos attacks

Walks an agent through Kerberos attacks on Active Directory: roasting and delegation abuse

Kerberos attacks is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
227
Last commit
License
MIT
Listing updated

Similar skills

About Kerberos attacks

This skill is a playbook for four families of Kerberos abuse against Active Directory: Kerberoasting, AS-REP roasting, and delegation abuse via unconstrained, constrained (S4U) and resource-based constrained delegation. For each one it gives the standard impacket, netexec, Rubeus and bloodyAD commands, the hash format and matching hashcat mode for cracking, and the Windows Event IDs a defender would see.

The material is organized as a reference for an authorized tester working by hand. It covers the preconditions to check first, such as valid credentials, correct DNS and clock skew under five minutes, and it points out which steps are quieter or noisier. The remediation guidance for each attack is written so it can be dropped into a findings report.

The skill expects a Windows domain environment and command-line tools such as impacket, netexec, bloodyAD, Rubeus and hashcat. It also assumes the user has explicit permission to test the target systems, and it asks for lab or generic values in any write-up.

When your agent uses it

Kerberos-based Active Directory attacks driven by hand with standard tooling (Kerberoasting, AS-REP roasting, and delegation abuse: unconstrained, constrained/S4U, RBCD). Use when the target has SPN-bearing service accounts, accounts without pre-authentication, or delegation configured on computer/user objects, and you want the exact impacket/Rubeus/bloodyAD command, the hash format and hashcat mode, the Windows Event IDs that fire, and the remediation to write up.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (11 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the claude-ad plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ADScanPro/Claude-AD
/plugin install claude-ad@claude-ad

Or copy only this skill to ~/.claude/skills/kerberos-attacks:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/kerberos-attacks &&
cp -R "$tmp/skills/kerberos-attacks" ~/.claude/skills/kerberos-attacks &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/kerberos-attacks inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/kerberos-attacks to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/kerberos-attacks &&
cp -R "$tmp/skills/kerberos-attacks" ~/.agents/skills/kerberos-attacks &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/kerberos-attacks inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/kerberos-attacks to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/kerberos-attacks &&
cp -R "$tmp/skills/kerberos-attacks" ~/.cursor/skills/kerberos-attacks &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/kerberos-attacks inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ADScanPro/Claude-AD.git --path skills/kerberos-attacks

Or copy the folder to ~/.gemini/skills/kerberos-attacks yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kerberos-attacks:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/kerberos-attacks &&
cp -R "$tmp/skills/kerberos-attacks" ~/.copilot/skills/kerberos-attacks &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/kerberos-attacks inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git

Then copy Claude-AD/skills/kerberos-attacks into your agent's skills folder as kerberos-attacks. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Kerberoasting workflow
Commands to enumerate and request service tickets for SPN-bearing accounts and crack them offline.
AS-REP roasting
Steps to find accounts without Kerberos pre-authentication and extract crackable responses.
Delegation abuse paths
Covers unconstrained, constrained S4U and resource-based constrained delegation attacks.
Hash formats and cracking
Shows the krb5tgs and krb5asrep hash formats and the hashcat modes for RC4 and AES.
Detection event IDs
Lists the Windows Event IDs and patterns that reveal each attack on the domain controller.
Remediation guidance
Provides hardening advice per attack, such as gMSA, AES-only encryption and Protected Users.

Good for

  • Find service accounts that can be Kerberoasted and crack their tickets
  • Check a domain for accounts that do not require Kerberos pre-authentication
  • Identify computers trusted for unconstrained delegation and assess the exposure
  • Test constrained delegation with S4U to impersonate a user to a target service
  • Set up resource-based constrained delegation on a computer object in a lab
  • Write up Kerberos findings with detection events and remediation steps

Kerberos attacks FAQ

What do I need before running these attacks?

Valid domain credentials for Kerberoasting and delegation reads, correct DNS pointing at the domain controller, and clock skew under 5 minutes. AS-REP roasting needs only a username list when run unauthenticated.

Which cracking modes does the skill cover?

It covers hashcat mode 13100 for RC4 Kerberoast tickets, mode 19700 for AES256 Kerberoast tickets, and mode 18200 for AS-REP roast hashes.

Which Windows Event IDs does Kerberos attacks mention?

It references 4769 and 4768 for ticket requests, 5136 for directory object changes on the RBCD attribute, and 4741 for computer account creation.

Does Kerberos attacks cover the tools only, or defensive steps too?

It includes both the offensive commands and remediation advice such as gMSA, AES-only encryption, MachineAccountQuota set to 0 and Protected Users.

How do I install Kerberos attacks in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/kerberos-attacks to use it in all your projects, or to .claude/skills/kerberos-attacks in one project. Or install the claude-ad plugin, which includes it: /plugin marketplace add ADScanPro/Claude-AD, then /plugin install claude-ad@claude-ad.

Does Kerberos attacks run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Kerberos attacks?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Kerberos attacks?

The closest alternatives to Kerberos attacks are Ad opsec telemetry, System, Ad environment constraints, Acl abuse and Ad methodology.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ADScanPro/Claude-AD

  1. Walks Active Directory ACL edges to escalate privileges, with bloodyAD and impacket

    • Open source
    • 227 GitHub stars
    • Security
  2. Active Directory hardening checks that stop auth and LDAP failures looking like bad

    • Open source
    • 227 GitHub stars
    • Security
  3. Sequences the phases of an Active Directory pentest, from setup through reporting

    • Open source
    • 227 GitHub stars
    • Security
  4. Maps the event logs and alerts each Active Directory attack technique leaves behind

    • Open source
    • 227 GitHub stars
    • Security
  5. Walks an agent through AD CS certificate escalation (ESC1-ESC17) using Certipy

    • Open source
    • 227 GitHub stars
    • Security
  6. Guides an agent through coercing machine-account auth and relaying it with ntlmrelayx

    • Open source
    • 227 GitHub stars
    • Security