Hunting kerberoasting and ticket attacks

From meltedinhex/analyst-ai-pack · View interactive version

Hunting kerberoasting and ticket attacks is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Hunts for Kerberoasting and related ticket attacks by analyzing Kerberos service ticket request events (4769) for weak encryption types, abnormal request volume per account, and non-machine accounts requesting many SPNs. Activates for requests to hunt Kerberoasting, detect RC4 ticket requests, or fi

How to use this skill

Skill file

Hunting Kerberoasting and Ticket Attacks

When to Use

(bulk TGS requests with crackable RC4 encryption against service accounts).

Do not use this for AS-REP roasting (4768 with preauth disabled) — that is a related but

separate hunt; this focuses on 4769 TGS requests.

Prerequisites

address.

Workflow

Step 1: Flag weak-encryption ticket requests

python scripts/analyst.py hunt 4769_events.csv

Flags tickets with encryption type 0x17 (RC4-HMAC) — the crackable type Kerberoasting prefers —

and computes per-account SPN request volume.

Step 2: Detect bulk SPN targeting

Surface accounts requesting tickets for many distinct SPNs in a short window (a single user

enumerating service accounts).

Step 3: Confirm

Correlate with the requesting host and whether the account legitimately needs those services.

Step 4: Operationalize

Write a detection for RC4 4769 requests from non-machine accounts above a volume threshold.

Validation

Pitfalls

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.