Lesson 10 of 13 · 15m
DCSync and Golden Tickets
Replication rights as a dump-the-domain primitive, and what krbtgt forgery actually gives an attacker — plus the two-rotation fix.
Two endgames dominate AD compromise reports: the attacker dumps the entire credential store, or the attacker forges the root credential. DCSync is the first; golden tickets are the second. Both reduce to the same thing — control of the key material the whole domain trusts.
DCSync: replication as extraction
Domain controllers replicate with each other over MS-DRSR using IDL_DRSGetNCChanges. Two extended rights on the domain object authorize it: Replicating Directory Changes (1131f6aa-…) and Replicating Directory Changes All (1131f6ad-…). Administrators, DCs, and Enterprise DCs hold them by default. Anything else holding both can ask a DC to replicate any account's password hash — including krbtgt and every DA.
Mimikatz lsadump::dcsync /domain:corp.local /user:krbtgt does exactly that from a workstation. No LSASS dump on the DC, no service disruption — the DC answers a replication request because the caller has the rights. The wrong mental model: "DCSync needs Domain Admin." It needs the two ERs, which arrive through ACL grants — the chain from the ACL lesson is usually how they got there.
Zerologon (CVE-2020-1472) made this dramatically worse in 2020: a Netlogon crypto flaw let an unauthenticated attacker reset the DC machine account password to empty, then authenticate as the DC and DCSync — no prior rights needed. Patched August 2020; enforced by Feb 2021 update. The pattern it demonstrated — machine account + replication rights = domain — survives in every RBCD relay chain.
Golden tickets: forging the TGT itself
The TGT is encrypted with krbtgt's key and carries the PAC. Steal the krbtgt NT hash (via DCSync, NTDS.dit, or LSASS on a DC) and you can mint a TGT claiming any identity — Administrator, a nonexistent user, RID 500. The KDC decrypts it with its own key; it's valid. Mimikatz kerberos::golden /user:Administrator /domain:corp.local /sid:S-1-5-21-… /krbtgt:<hash> writes a .kirbi you pass-the-ticket into your session.
Why it outlives remediation: golden tickets carry attacker-chosen lifetimes (10 years default in Mimikatz), survive the impersonated user's password reset, and survive the account's deletion — the ticket references a SID, and the PAC can claim any group SIDs. The only thing that kills a golden ticket is rotating krbtgt.
The wrong mental model: "rotate krbtgt once." krbtgt keeps the current and previous keys valid. Rotate once and existing forged TGTs still validate against the previous key. Rotate twice — New-ADUser krbtgt isn't how; use the Reset-… script Microsoft's guidance provides, or change it twice via the normal account password-reset path — with replication time between rotations.
Variants worth naming
- Silver ticket — forged service ticket with the service account's hash. No DC contact at all: invisible to
4768/4769on DCs. Caught only by the service's own logs and PAC anomalies. - Diamond ticket (2022, byf4h3nt0m / Charlie Clark's lineage in public writeups) — request a real TGT, decrypt, modify the PAC, re-encrypt. Leaves normal-looking
4768traffic instead of the missing-request signature golden tickets produce. - Bronze Bit / CVE-2020-17049 — a Kerberos delegation flaw letting forwardable tickets bypass the "cannot be delegated" flag; patched November 2020.
Break them
- Rotate
krbtgttwice after any DC compromise or NTDS.dit exposure — Microsoft's published script does it correctly. - Protect replication ERs: only DA/DC groups should hold them; alert on grants elsewhere.
- Detect anomalies:
4769service-ticket requests with no preceding4768for the same account (golden), PAC group mismatches, tickets with unusual lifetimes,4662on the domain object showing replication from non-DC hosts (DCSync signature). - Protect the DC like crown jewels: DC LSASS access = everything. Credential Guard on member machines; on DCs, limit interactive logons and monitor
lsassaccess events.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
A Password-Free Path to Root: Inside the macOS Screen Sharing Vulnerability Now Under Attack
A logic bug in screensharingd let attackers skip authentication entirely and land as root — no password required. Here's how it was found, patched, reverse-engineered, and finally weaponized.
CVE-2026-31431 "Copy Fail": How a 9-Year-Old Linux Kernel Bug Gives Any Local User Root in 732 Bytes
CVE-2026-31431 chains AF_ALG, splice(), and authencesn's ESN scratch write into a deterministic 4-byte page cache write that gives an unprivileged local user root. Full technical breakdown, exploit mechanics, detection, mitigation, and patch status per distro.
BlueHammer: The Unpatched Windows Zero-Day That Weaponizes Microsoft Defender Against Your Own System
BlueHammer is an unpatched, publicly released Windows local privilege escalation exploit that chains Microsoft Defender's update workflow, Volume Shadow Copy, Cloud Files callbacks, and opportunistic locks to reach NT AUTHORITY\SYSTEM from a standard user account.
What is Privilege Escalation? How Attackers Go From Foothold to Full Control
An attacker starts with a low-privileged shell or user account and escalates to root or Administrator using misconfigurations, SUID binaries, kernel exploits, and Active Directory attacks. Here's every technique, the tools professionals use, and how to harden against it.