Skip to content

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/4769 on 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 4768 traffic 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 krbtgt twice 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: 4769 service-ticket requests with no preceding 4768 for the same account (golden), PAC group mismatches, tickets with unusual lifetimes, 4662 on 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 lsass access events.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.