Critical
CVE-2020-1472 · "Zerologon"

Zerologon Explained: How a Math Mistake Could Hand Over a Windows Domain

A cryptographic implementation mistake in Windows' Netlogon protocol meant an attacker on the network could, with no credentials at all, reset a domain controller's password and effectively become an administrator of the entire Active Directory domain.

Quick facts
CVE IDCVE-2020-1472
Affected softwareWindows Server (domain controllers), all supported versions at the time
SeverityCVSS 10.0 (Critical) — full domain compromise, no credentials required
Fixed inMicrosoft's August 2020 security update, with enforcement mode completed in February 2021
DisclosedAugust 11, 2020 (technical details published September 2020)

What Happened

Netlogon is the protocol Windows machines use to authenticate to a domain controller. Part of its cryptographic handshake used a mode of AES encryption (AES-CFB8) with a fixed, all-zero initialization vector. Because of how that specific mode behaves, roughly 1 in 256 attempts at sending a crafted authentication request would succeed by pure chance — and an attacker could just keep trying. Once successful, they could reset the domain controller's own computer account password to a known value.

What This Means

This is a cryptographic implementation flaw, not a logic bug in application code: the math was being used incorrectly, which broke the security guarantee the protocol was supposed to provide. Resetting the domain controller's password effectively handed an attacker the keys to the entire Windows domain — every user, every computer, every policy.

Why You Should Care

Active Directory domain controllers are the trust anchor for most enterprise Windows networks. Zerologon mattered because it required no valid username or password at all — just network access to a domain controller — and within weeks of public proof-of-concept code being released, ransomware groups were actively using it to take over entire corporate networks in a single step.

What You Can Do

Real-world impact

Within a month of public exploit code appearing, multiple ransomware operators (including groups behind Ryuk) incorporated Zerologon into their attack chains to escalate from a single compromised machine to full domain control.

Zerologon in one sentence

A subtly wrong use of encryption in a core Windows authentication protocol meant an attacker with no credentials could become the administrator of an entire corporate network.

Explore More CVEs