Skip to main content

Wolfcore Cyber Security

DCSync Attack Explained: How It Works and How to Detect It

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 24 November 2026. Part of Hacking techniques explained.

In one sentence: DCSync is when an attacker who already holds powerful Windows domain rights pretends to be a domain controller and asks a real one to hand over the stored password data for the whole company.

What it is

A domain controller (DC) is the server that holds your Active Directory, the central list of staff accounts and passwords in a Windows network. Most firms with more than a handful of Windows PCs have at least one. To stay consistent, DCs copy changes to each other. This is called replication.

MITRE ATT&CK tracks DCSync as technique T1003.006. MITRE describes it as abusing the domain controller’s programming interface to simulate that replication process from a remote DC. The attacker is not breaking into the DC’s disk. They are asking for the data politely, using a feature that exists on purpose.

The data they ask for is password material. MITRE notes this can include current and historical hashes of accounts such as KRBTGT and Administrators. A hash is a scrambled form of a password that can still be used to prove identity in some Windows protocols.

How it works

  1. The attacker gets in and climbs. Through phishing, a stolen password or an exposed service, they land on one machine. They then gain rights over the domain. MITRE says members of the Administrators, Domain Admins and Enterprise Admins groups, or computer accounts on the DC, can run DCSync.
  2. They send a replication request. From a machine that is not a domain controller, they use a tool to send the same kind of request one DC sends another. Mimikatz, a well known testing tool, includes this in its lsadump module (see Mimikatz).
  3. The DC answers. Because the request comes from an account with replication rights, the DC replies with the requested password data.
  4. They use what they got. MITRE says the hashes can be used to create a Golden Ticket, a forged Kerberos ticket that gives long lasting access, or to change an account’s password.

What they are after is simple: the keys to everything on the domain, quietly, with no malware left on the DC.

Attacker on a normal PC (not a DC) Real domain controller 1. “Please replicate password data” 2. Hashes come back The tell: a replication request from a machine that is not a DC

Who it affects and how badly

It affects any organisation that runs on-premises Active Directory. That includes accountancy and legal practices, schools, care providers, manufacturers, councils and MSPs managing client domains, in the UK, EU, US and Armenia alike. The attacker needs high privileges first, so DCSync is usually a late step, not the way in.

Realistic worst cases (illustrations, not real incidents): – Small business (up to 10 staff, one server): all staff passwords are exposed, the whole domain must be rebuilt, and the office is offline for days. – Mid-sized business (50 to 250 staff): every password, including the KRBTGT account, has to be reset while systems stay disrupted. Client data may be reachable. – Regulated business (fintech, insurance, healthcare): loss of control of the identity system may trigger breach notification duties under rules such as UK GDPR and EU GDPR, with possible regulator involvement and lost clients.

Real examples

  • MITRE lists LAPSUS$ as having used DCSync attacks to gather credentials for privilege escalation, citing Microsoft’s March 2022 report on the group it called DEV-0537.
  • MITRE records that in the SolarWinds compromise, the APT29 group used privileged accounts to replicate directory service data with domain controllers, citing Microsoft’s analysis.
  • MITRE also lists Storm-0501 and Mustang Panda among groups that used DCSync.

Source for all three: https://attack.mitre.org/techniques/T1003/006/

What we check on a test

On an internal test, where Active Directory is in scope, a Wolfcore tester looks at: – Which accounts and groups hold directory replication rights on the domain, and whether any ordinary user or service account holds them. – How many Domain Admin and Enterprise Admin members exist, and whether they log on to everyday workstations. – Whether local administrator passwords are unique per machine, which affects how easily an attacker reaches high rights. – Whether directory access auditing is switched on, so that a replication request from a non-DC would be recorded.

This is method only. We do not publish findings from any client.

How to detect it

  • Windows Event 4662 on domain controllers. Microsoft says it is generated when an operation is performed on an Active Directory object, but only if a matching auditing rule (SACL) is set. Microsoft recommends monitoring operations on the domainDNS class (the domain object) and notes Control Access is among the access types worth watching.
  • Alert on the source. MITRE’s detection strategy is to look for replication requests made by non-DC endpoints. A workstation or an ordinary user account asking for replication is the signal.
  • Check the volume. Event 4662 can be noisy, so use a narrow auditing rule on the domain object rather than switching on everything.
  • Watch what follows. Unusual Kerberos ticket requests (events 4768 and 4769) from accounts whose passwords may now be known.
  • MSPs: forward domain controller Security logs to a central place so a replication request is not lost if the DC is later tampered with.

How to fix or prevent it

  1. Review and tighten who holds “Replicating Directory Changes” and related rights. MITRE’s mitigation M1015 is to manage this access control list.
  2. Keep Domain Admin and Enterprise Admin membership very small and use those accounts only on domain controllers and admin machines (MITRE M1026, privileged account management).
  3. Use unique, complex local administrator passwords on every machine (MITRE M1027), for example with Windows LAPS.
  4. Turn on the Directory Service Access auditing subcategory for domain controllers and set a narrow rule on the domain object.
  5. Forward and alert on domain controller logs.
  6. Do not rely on endpoint protection alone. Microsoft states Credential Guard does not protect the Active Directory database on domain controllers, so it will not stop DCSync.

Related terms

Mimikatz, How pass-the-hash works, How Kerberoasting works, Kerberos authentication, Events 4768 and 4769 Kerberos tickets, Event 4672 special privileges, Windows Event ID 4662: what it logs and what to watch, Zerologon (CVE-2020-1472): Netlogon flaw and how to fix it

FAQ

Is DCSync a vulnerability that a patch fixes? No. MITRE describes it as abuse of a normal replication feature by accounts that hold the right permissions, so the fix is controlling who has those permissions and watching for misuse.

Does the attacker need to be on the domain controller? No. MITRE says the attacker simulates replication from a remote domain controller, which is why a request from a non-DC machine is the key warning sign.

Will Credential Guard stop it? No. Microsoft says Credential Guard does not protect the Active Directory database on domain controllers.

How Wolfcore helps

A Wolfcore penetration test finds this the way an attacker would, by hand, not with a scanner. Start with the free web vulnerability scan and see penetration testing. Step 1 above can start with phishing, which is what phishing simulation software tests for. Prices are on our pricing page.

Wolfcore

Would your staff click a phishing email?

Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.

Start a free phishing testFree website security scanor book a 30 minute call