techniques/kerberoasting
TECHNIQUE · credential access · ATT&CK T1558.003
Kerberoasting
Any domain user can request a service ticket for an account that has an SPN. Part of that ticket is encrypted with the service account's password, so you can take it offline and crack it — no special privileges required.
Needs credsAny domain user
Network positionReach the DC
NoiseLow
Fixed byLong service passwords, gMSA
01
Requirements
all must hold REQUIRED One domain account
Any authenticated user can request service tickets.
CHECK An account with an SPN
Service accounts register a Service Principal Name; those are roastable.
enumerate on 88 → CHECK A weak password
The ticket only cracks if the service password is guessable.
02
Do it
your target is filled in 01
Roast every SPN
Request tickets for all accounts with an SPN and save the hashes.
nxc ldap $IP -u $USER -p $PASS --kerberoasting roasted.txt
02
Crack offline
Run the hashes against a wordlist on your own machine.
hashcat -m 13100 roasted.txt wordlist.txt 03
Variants
→ Targeted
Set an SPN on an account you control (if you have write), roast it, then remove it.
→ AS-REP roasting
Accounts with pre-auth disabled can be roasted with no credentials at all.
04
Detect & harden
Detect
- Event 4769 ticket requests with RC4 encryption
- A single account requesting many service tickets quickly
Harden
- Long, random service passwords; move to group Managed Service Accounts
- Enforce AES; alert on RC4 ticket requests
Kerberoasting is low-noise and needs nothing but a single domain account, which is why it’s often the first move after an initial foothold. The whole defence is password strength and gMSA: a 30-character random service password simply won’t crack.