Skip to main content

Kerberoasting: I Requested a Ticket, Then Cracked It Offline

Updated 5 min readMarkdown
Part of seriesChakravyuha
Kerberoasting: I Requested a Ticket, Then Cracked It Offline

Post 3 covered the mechanics: any authenticated domain user can request a service ticket for any SPN-holding account, and if that account is a regular user object with a weak password, the ticket is a standing invitation to crack offline. This post is where that stops being theory. I ran the attack against svc.sqlsvc myself, as a completely ordinary domain user - no special privileges, no admin rights - and had the password in under a second.

TL;DR for recruiters / hiring managers

  • What I did: Enumerated SPN-holding accounts from Kali, requested a real Kerberos service ticket as a low-privilege domain user, extracted the hash, and cracked it offline with hashcat.
  • Why it matters: This requires zero exploits, zero malware, and zero elevated access - just a normal, Kerberos-compliant ticket request that looks unremarkable in a log unless you know what to check.
  • What's next: Post 5 covers how I caught myself doing this, with a detection rule built from scratch.

Prerequisites, Quick Recap

From Post 3: svc.sqlsvc holds a real SPN (MSSQLSvc/srv-01.corp.chakravyuh.local:1433), it's a user account rather than a computer or gMSA account, and at the time of this attack its msDS-SupportedEncryptionTypes still allowed RC4. That's the entire setup this attack needs.

I ran everything from Kali, authenticated as pnair - the ordinary Finance-tier domain user from WS-01, with no admin rights of any kind. That's deliberate. This attack doesn't need a privileged account; it needs an authenticated one.


Step 1: Enumerate

impacket-GetUserSPNs corp.chakravyuh.local/pnair -dc-ip 192.168.10.10

This asks the domain, as pnair, which accounts hold SPNs - the same enumeration Post 3 covered, just run from the attacker's own machine this time rather than from inside the domain as an admin. The output confirmed svc.sqlsvc, with its PasswordLastSet and LastLogon values visible - useful attacker reconnaissance on its own, since an account whose password hasn't rotated in months is a signal worth noticing before spending time attacking it.

I ran this enumeration as an early validation step, before the real attack - specifically to confirm the request itself would generate the right telemetry in Wazuh once I actually went for it. Getting the mechanics right before treating a session as "the real attempt" mattered more to me than getting a fast result.


Step 2: Request the Ticket

Same tool, one flag added:

impacket-GetUserSPNs corp.chakravyuh.local/pnair -dc-ip 192.168.10.10 -request

The -request flag doesn't just list the SPN - it actually requests a TGS ticket for it and prints the ticket's encrypted portion directly to the terminal, formatted as a $krb5tgs$ hash ready for cracking. This is the moment the attack actually happens: a completely normal, protocol-compliant Kerberos request, indistinguishable at a glance from a legitimate service authenticating to svc.sqlsvc.


Step 3: Extract the Hash

I saved the printed output directly to a file:

kerberoast_hash.txt

$krb5tgs$23$*svc.sqlsvc$CORP.CHAKRAVYUH.LOCAL$CORP.CHAKRAVYUH.LOCAL/svc.sqlsvc*$3d0724a76199b96ff2e3ed5b853809d2$b9b3351f504c15c94c776ec8954...

That $23$ right after $krb5tgs$ is worth pointing at specifically - it's the hash format's own label for the Kerberos encryption type used, and 23 is RC4. The hash format is telling you, before you even try to crack it, exactly why this account was crackable in the first place.


Step 4: Crack It Offline

echo -e “Welcome\nWelcome1\nSummer\nSpring\nPassword\nCompany” > corp_words.txt  
hashcat -m 13100 kerberoast_hash.txt corp_words.txt ?d?d?d?d?s

Mode 13100 is hashcat's dedicated mode for exactly this hash type - Kerberos 5, etype 23, TGS-REP. I didn't reach for rockyou.txt. Instead I built a tiny, deliberately targeted wordlist of six words that fit a plausible corporate password pattern, combined with a mask (?d?d?d?d?s) appending four digits and a symbol - the kind of guess an attacker makes about this specific environment, not a brute-force sweep of every password ever leaked.

It cracked in under a second.

Session...........: hashcat  
Status.............: Cracked  
Hash.Mode..........: 13100 (Kerberos 5, etype 23, TGS-REP)  
Recovered..........: 1/1 (100.00%) Digests (new)  
Candidates.#01 ....: Welcome9883@ → Company4255+

The actual recovered password was a dictionary word, capitalized, followed by a year and a symbol - a pattern that, once you've seen one organization use it, you start recognizing immediately. I'm not printing it in plain text here; even in a lab, this is exactly the habit worth building before it's not a lab.


What This Actually Means

At this point I hold svc.sqlsvc's real password. In this specific lab, that account's reach is limited to its SQL service role on SRV-01 - but that's exactly the point worth making honestly: the severity of a Kerberoasting result depends entirely on what the compromised service account can actually do. In plenty of real environments, service accounts like this one are quietly over-privileged - local admin on the host they run on, membership in groups nobody's audited in years, access to shares nobody remembers granting. Cracking the ticket is the easy part. What makes it dangerous is what the account was allowed to touch.

And notice what I didn't need at any point in this walkthrough: no exploit, no malware, no elevated starting access. Just an ordinary authenticated domain user and a service account with a tired password.


Next: How Would a SOC Actually Catch This?

Running the attack is half the project. The other half - and the harder, rarer half - is catching it. Post 5 covers the detection side: the Sigma rule I wrote from scratch for this exact attack, what it actually looks for, and proof that it fires against the very attack walked through here.

Full series index: Series Link

About the author

  • Offensive Security Engineer | Built 7 Security Tools | Top 2% TryHackMe Globally | CNSP · Google Cybersecurity Certified | Open to AppSec & SOC Roles

No comments yet. Be the first to comment.