CAPECattack pattern
CAPEC-509 Kerberoasting
High
Official page ↗
- Abstraction
- Detailed
- Status
- Stable
- Typical severity
- High
- CAPEC version
- 3.9
Description
Through the exploitation of how service accounts leverage Kerberos authentication with Service Principal Names (SPNs), the adversary obtains and subsequently cracks the hashed credentials of a service account target to exploit its privileges. The Kerberos authentication protocol centers around a ticketing system which is used to request/grant access to services and to then access the requested services. As an authenticated user, the adversary may request Active Directory and obtain a service ticket with portions encrypted via RC4 with the private key of the authenticated account. By extracting the local ticket and saving it disk, the adversary can brute force the hashed value to reveal the target account credentials.
Execution flow
1. [Explore] Scan for user accounts with set SPN values
2. [Explore] Request service tickets
3. [Experiment] Extract ticket and save to disk
4. [Exploit] Crack the encrypted ticket to harvest plain text credentials
Prerequisites
• The adversary requires access as an authenticated user on the system. This attack pattern relates to elevating privileges.
• The adversary requires use of a third-party credential harvesting tool (e.g., Mimikatz).
• The adversary requires a brute force tool.
Skills required
• [Medium]
Consequences
• Confidentiality: Gain Privileges
Mitigations
• Monitor system and domain logs for abnormal access.
• Employ a robust password policy for service accounts. Passwords should be of adequate length and complexity, and they should expire after a period of time.
• Employ the principle of least privilege: limit service accounts privileges to what is required for functionality and no more.
• Enable AES Kerberos encryption (or another stronger encryption algorithm), rather than RC4, where possible.
Related
Att&ck technique · MITRE ATT&CK (1)
- T1558.003 Kerberoasting sub-technique
Can precede · CAPEC (1)
- CAPEC-151 Identity Spoofing attack pattern
Child of · CAPEC (1)
- CAPEC-652 Use of Known Kerberos Credentials attack pattern
Weakness · CWE (7)
- CWE-262 Not Using Password Aging weakness
- CWE-263 Password Aging with Long Expiration weakness
- CWE-294 Authentication Bypass by Capture-replay weakness
- CWE-308 Use of Single-factor Authentication weakness
- CWE-309 Use of Password System for Primary Authentication weakness
- CWE-521 Weak Password Requirements weakness
- CWE-522 Insufficiently Protected Credentials weakness
Referenced by CWE · attack pattern (7)
- CWE-262 Not Using Password Aging weakness
- CWE-263 Password Aging with Long Expiration weakness
- CWE-294 Authentication Bypass by Capture-replay weakness
- CWE-308 Use of Single-factor Authentication weakness
- CWE-309 Use of Password System for Primary Authentication weakness
- CWE-521 Weak Password Requirements weakness
- CWE-522 Insufficiently Protected Credentials weakness