# Kerberos attacks

> Kerberos attacks is an open-source agent skill for security. Walks an agent through Kerberos attacks on Active Directory: roasting and delegation abuse. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ADScanPro/Claude-AD/tree/main/skills/kerberos-attacks
- **Repository:** https://github.com/adscanpro/claude-ad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** kerberos-attacks
- **Collection:** https://github.com/ADScanPro/Claude-AD
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ADScanPro/Claude-AD/tree/HEAD/skills/kerberos-attacks)
- [License: MIT](https://github.com/ADScanPro/Claude-AD/tree/HEAD/skills/kerberos-attacks)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Ad opsec telemetry](https://ai-powered.com/skills/ad-opsec-telemetry): Ad opsec telemetry is an open-source agent skill for security.
- [System](https://ai-powered.com/skills/system): System is an open-source agent skill for security.
- [Ad environment constraints](https://ai-powered.com/skills/ad-environment-constraints): Ad environment constraints is an open-source agent skill for security.
- [Acl abuse](https://ai-powered.com/skills/acl-abuse): Acl abuse is an open-source agent skill for security.
- [Ad methodology](https://ai-powered.com/skills/ad-methodology): Ad methodology is an open-source agent skill for security.
- [Coercion ntlm relay](https://ai-powered.com/skills/coercion-ntlm-relay): Coercion ntlm relay is an open-source agent skill for security.
- [Adcs attacks](https://ai-powered.com/skills/adcs-attacks): Adcs attacks is an open-source agent skill for security.
- [Compliance mapping](https://ai-powered.com/skills/compliance-mapping): Compliance mapping is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/kerberos-attacks
