Kerberoasting is a post-exploitation technique (MITRE ATT&CK T1558.003) in which any authenticated domain user requests Kerberos service tickets (TGS) for accounts that have a Service Principal Name (SPN).
Part of each ticket is encrypted with the service account's password hash, so the attacker can take it offline and try to crack it without generating failed logons.
Why it works
- Any domain user may request a TGS for any SPN - no special privileges are needed.
- Service accounts often have old, human-chosen passwords that never expire.
- If RC4 (encryption type
0x17) is still allowed, cracking is much faster than with AES.
What to log
Enable Audit Kerberos Service Ticket Operations (Success) on domain controllers. Each ticket request
produces Event ID 4769 with fields such as ServiceName, TicketEncryptionType and IpAddress.
Detection ideas
- RC4 tickets in an AES environment -
TicketEncryptionType = 0x17for normal user service accounts. - Volume anomalies - one account requesting tickets for many distinct SPNs in a short time window.
- Honey SPN - create a decoy account with an SPN that nothing legitimate uses; any 4769 for it is suspicious.
Example Sigma-style logic (adapt field names to your SIEM):
title: Possible Kerberoasting - RC4 service ticket requested logsource: product: windows service: security detection: selection: EventID: 4769 TicketEncryptionType: '0x17' Status: '0x0' filter_machine_accounts: ServiceName|endswith: '$' filter_krbtgt: ServiceName: 'krbtgt' condition: selection and not 1 of filter_* level: medium Hardening
- Use Group Managed Service Accounts (gMSA) - long random passwords rotated automatically.
- Use 25+ character passwords for any remaining service accounts and rotate them.
- Disable RC4 for Kerberos where compatibility allows, and prefer AES.
- Remove SPNs that are no longer used and review accounts with SPNs regularly.
References
- MITRE ATT&CK T1558.003 - https://attack.mitre.org/techniques/T1558/003/
- Microsoft: Event 4769 - https://learn.microsoft.com/windows/security/threat-protection/auditing/event-4769
This article is defensive guidance for blue teams; test detections only in environments you are authorised to use.
