Attack Overview
Kerberoasting
Request service tickets for offline password cracking
AS-REP Roasting
Extract hashes from accounts without pre-authentication
Ticket Manipulation
Forge Golden/Silver tickets and convert formats
Delegation Attacks
Exploit unconstrained and constrained delegation
GetUserSPNs.py (Kerberoasting)
Finds user accounts with Service Principal Names (SPNs) and requests TGS tickets for offline cracking.Basic Usage
- Enumerate SPNs
- Request TGS
- Save Tickets
Advanced Options
Filtering & Targeting
Filtering & Targeting
Machine Accounts
Machine Accounts
Cross-Domain
Cross-Domain
Example Output
Cracking Kerberoast Hashes
- John the Ripper
- Hashcat
- Usage
GetNPUsers.py (AS-REP Roasting)
Extracts crackable hashes from accounts with “Do not require Kerberos preauthentication” enabled.Basic Usage
- Authenticated
- Unauthenticated
- Output Formats
Example Output
Cracking AS-REP Hashes
- John the Ripper
- Hashcat
Ticket Manipulation Tools
getTGT.py
Request Ticket Granting Tickets (TGT) with credentials.getST.py
Request Service Tickets (TGS) for specific services.- Basic TGS Request
- Impersonation (S4U2Self)
- Delegation Attacks
ticketer.py
Forge Kerberos tickets (Golden Ticket, Silver Ticket).- Golden Ticket
- Silver Ticket
- Advanced Options
ticketConverter.py
Convert tickets between .ccache and .kirbi formats.describeTicket.py
Analyze and display ticket contents.Delegation Attack Tools
findDelegation.py
Find accounts with delegation configured.rbcd.py
Manage Resource-Based Constrained Delegation (RBCD).- Read RBCD
- Write RBCD
- Remove RBCD
addcomputer.py
Add computer accounts to the domain (for RBCD attacks).Advanced Kerberos Attacks
goldenPac.py
Exploit MS14-068 Kerberos vulnerability.raiseChild.py
Automate child-to-parent domain privilege escalation.getPac.py
Retrieve and decrypt Privilege Attribute Certificate (PAC).Complete Attack Chain Examples
- Kerberoasting Chain
- RBCD Attack Chain
- Golden Ticket Chain
Detection & Defense
Detection Indicators
Kerberoasting
Kerberoasting
- Event ID 4769: TGS requests for user accounts (unusual encryption type RC4)
- Event ID 4768: TGT requests from unusual locations
- High volume of TGS requests
- TGS requests for dormant accounts
AS-REP Roasting
AS-REP Roasting
- Event ID 4768: AS-REQ without pre-authentication
- Multiple AS-REQ failures from single source
- Unusual user account queries
Golden/Silver Tickets
Golden/Silver Tickets
- Tickets with unusual lifetime (10+ years)
- Tickets created outside normal KDC
- Event ID 4624: Logons with tickets showing anomalies
- Tickets with missing or invalid PAC validation info
Delegation Attacks
Delegation Attacks
- Event ID 4662: Changes to msDS-AllowedToActOnBehalfOfOtherIdentity
- Event ID 4741/4742: Computer account creation/modification
- Unusual S4U2Self/S4U2Proxy requests
Defensive Measures
- Use strong, long passwords for service accounts (25+ characters)
- Enable AES encryption for Kerberos (disable RC4)
- Monitor for accounts with “Do not require preauth” flag
- Implement Service Account password rotation
- Use Group Managed Service Accounts (gMSA)
- Enable PAC validation
- Monitor delegation configurations
- Restrict SPN registration permissions
Next Steps
Credential Dumping
Extract credentials for Kerberos attacks
LDAP Operations
Enumerate delegation and SPNs via LDAP
Remote Execution
Use Kerberos tickets for remote execution