DCSync abuses the Microsoft Directory Replication Service Remote Protocol (MS-DRSR / DRSUAPI). An account holding the “Replicating Directory Changes” and “Replicating Directory Changes All” extended rights can call DRSGetNCChanges, impersonating a domain controller asking a real DC to replicate directory data. The DC returns credential material — NTLM hashes and Kerberos keys, including password history — for the requested accounts. Critically it runs remotely from a workstation, needs no code execution on the DC, and never touches LSASS or disk, so it evades many endpoint controls. MITRE ATT&CK tracks it as T1003.006.
How It Works
By default only Domain Admins, Enterprise Admins, Administrators and DC computer accounts hold the replication rights DCSync needs, so an attacker must already control an account granted them — not necessarily full Domain Admin. Once the hashes are pulled, the attacker can perform pass-the-hash or, by extracting the KRBTGT account’s keys, forge Golden Tickets (T1558.001) for domain-wide, long-lived persistence. T1003.006
DCSync is the standard way to steal the KRBTGT key. MITRE procedure examples include Operation Wocao, and directory-replication abuse was reported in the SolarWinds/SUNBURST compromise disclosed December 2020 (publicly attributed to APT29 — a government/industry assessment).
Tooling
Mimikatz lsadump::dcsync, Impacket secretsdump.py (with -just-dc), and DSInternals implement the technique.
MITRE ATT&CK Mapping
| Tactic | Technique | Usage |
|---|---|---|
| Credential Access | T1003.006 DCSync | DRSUAPI replication abuse |
| Persistence / Priv Esc | T1558.001 Golden Ticket | KRBTGT key forgery |
Detection & Mitigation
- Alert on directory-replication requests (Event ID 4662 referencing the DS-Replication-Get-Changes control-access GUIDs) originating from source hosts that are not legitimate domain controllers.
- Audit and minimise which principals hold “Replicating Directory Changes (All)” rights; remove it from anything that is not a DC.
- Protect Tier-0 assets and tightly constrain privileged accounts that could hold replication rights.
- Where feasible, segment and restrict DRSUAPI RPC traffic so replication occurs only DC-to-DC.
Defend Your Domain Controllers
Mjolnir Security helps organisations lock down replication rights and detect credential theft at the DC.
- Active Directory Security Review Auditing replication rights and Tier-0 protection.
- Managed Detection and Response Detecting DCSync replication from non-DC hosts.
- 24/7 Incident Response Containment when domain credentials are stolen. Call +1 833 403 5875.
Stay ahead of emerging threats. Get notified when we publish new intelligence reports and advisories.
Subscribe to Alerts