Skip to main content

Wolfcore Cyber Security

Zerologon (CVE-2020-1472): Netlogon flaw and how to fix it

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 25 November 2026. Part of Vulnerabilities and exploitation.

In one sentence: Zerologon is a flaw in how Windows domain controllers checked each other’s identity, which let someone with network access take over the server that controls all your staff logins, unless it was patched.

What it is

A domain controller (DC) is the Windows server that holds every account in your network and decides who may log in. Netlogon is the protocol machines use to talk to it securely. CVE-2020-1472, nicknamed Zerologon, is a critical elevation of privilege flaw in the Netlogon Remote Protocol. Microsoft first patched it in August 2020.

The NCSC alert describes the effect: an attacker with network access to a DC can impersonate any domain user and change their account password, including the Domain Admin account, leading to compromise of the DC. The attacker does not need to be domain joined, meaning they do not need a company laptop or account first. Tenable reports a CVSS v3 score of 10.0, the maximum.

How it works

  1. The attacker needs only a network route to an unpatched DC. A foothold on one workstation or an exposed network is enough.
  2. They abuse the Netlogon protocol to impersonate an account and change its password.
  3. With that, they can obtain the powers of a domain administrator and take over the domain.
  4. From there they can reach every domain-joined machine, which is why ransomware crews valued it.

Microsoft’s fix has two stages, as the NCSC and Tenable describe. The August 2020 update protects Windows machines and changes the protocol so the attack is much harder. Then DC enforcement mode requires secure connections from all devices, including non-Windows ones, unless an account is deliberately exempted. Microsoft’s February 2021 update turned enforcement on by default.

Zerologon fix in two stagesUnpatched DCattacker on thenetwork canimpersonateStage 1Aug 2020 updateon every DCStage 2Enforcement modeon (default Feb 2021)Protectedsecure NetlogononlyBoth stages are needed, plus a check for exceptions.

Who it affects and how badly

Any organisation with an on-premises Windows domain: accountancy and legal practices, manufacturers, schools, councils, healthcare providers and MSPs in the UK, EU, US and Armenia. The NCSC lists every Windows Server version from 2008 R2 to version 2004 with the DC role as vulnerable until patched.

Illustrative worst cases:

  • Up to 10 staff: rarely has a DC. If there is one, it holds everything.
  • 10 to 50 staff: a single old DC. Takeover means every account password is suspect and the network is rebuilt.
  • 250 plus or regulated: a missed DC in a branch office is enough. Outcomes include ransomware across the estate, regulator notifications and lost clients.

Real examples

The NCSC states that in September 2020 Microsoft confirmed active exploitation, and that CISA observed advanced threat groups using it alongside older flaws in single intrusions. Tenable reports that Microsoft saw public exploits added to attacker playbooks, that CISA issued Emergency Directive 20-04 on 18 September 2020, and that a published analysis described the Ryuk ransomware group using it to take over a domain controller. We cite no victim organisation.

Rules and regulators

  • UK: the NCSC issued an alert and strongly advised installing the updates and enabling enforcement mode as soon as practicable.
  • US: CISA issued Emergency Directive 20-04, as reported by Tenable, requiring federal agencies to patch within days.
  • EU: no EU agency page was opened for this entry. A DC takeover leading to personal data exposure would fall under GDPR breach notification.

What we check on a test

Method, not findings:

  • Patch level of every domain controller, including forgotten branch and test DCs.
  • Whether enforcement mode is on, and which accounts are exempted from it.
  • Whether domain admin credentials could be obtained from a network foothold, and how far that would reach.
  • Whether the log artefacts the NCSC names would have appeared in your monitoring.

How to detect it

  • The NCSC names Event ID 4742 (a computer account was changed), often combined with 4672 (special privileges assigned), as the best-documented artefacts.
  • Microsoft says Microsoft Defender for Identity and Microsoft 365 Defender can detect attempts against DCs.
  • Microsoft’s KB4557222 describes the event log entries that show which devices make vulnerable connections.
  • The NCSC links a CISA script that lists DC patch levels across a forest.

How to fix or prevent it

  1. Install the August 2020 or any later update on every domain controller.
  2. Enable DC enforcement mode, now default after the 9 February 2021 update.
  3. Find devices making vulnerable connections using the event logs Microsoft describes, and fix or replace them.
  4. Review the exception policy (“Domain controller: Allow vulnerable Netlogon secure channel connections”) and remove entries.
  5. Keep network access to DCs limited to machines that need it.

Illustration: a small business

An illustration, not a real case. A 35-person engineering firm runs one Windows Server 2012 R2 DC that was never updated. A contractor’s infected laptop joins the office Wi-Fi. The attacker uses it to reach the DC and take over the domain. Every server is encrypted over a weekend and production stops for three days. Patching the DC and enabling enforcement would have blocked it.

Frequently asked questions

Is patching enough? The NCSC calls it a two-stage process: update, then enforcement mode.

Does the attacker need a company account? No, the NCSC says they do not need to be domain joined.

What should I watch for? Event 4742, often with 4672, on domain controllers.

Related terms

printnightmare-cve-2021-34527, DCSync Attack Explained: How It Works and How to Detect It, Windows Event ID 4672 (special privileges assigned to new logon): what it means and what to watch, Event ID 4768 and 4769: Kerberos Tickets Explained, What is patch management? How to keep software updated safely

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 at wolfcore.co.uk/free-web-vulnerability-scan, or see our penetration testing service.

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