On August 11, Microsoft's monthly security release included a fix for a flaw in Netlogon, the protocol Windows machines use to set up a trusted channel with a domain controller. It was rated critical and given the maximum severity score, and for a month it got less attention than it deserved. Then, on September 11, the researchers who found it published a technical paper. It showed that an attacker who could reach an unpatched domain controller over the network could take control of the domain without any credentials. They called the flaw Zerologon. Public exploit code appeared within days.
On Friday, September 18, CISA issued Emergency Directive 20-04. It gave federal civilian agencies until 11:59 p.m. the following Monday to patch every domain controller or take it off the network. The following Wednesday, Microsoft said it was seeing attackers use public exploits for the flaw. If you have not patched yet, stop reading and go do it. If you have, there is a second part you need to plan for.
Why this one is different
My team's job is to break into clients' networks with their permission, so here is how a domain controller looks from our side.
Almost every engagement we run has the same shape. The foothold is the easy part: a phished user, an exposed service, a laptop on a guest network. Then comes the long middle. We find credentials, move between machines and work out who the administrators are. It ends in the same place every time. Once we control Active Directory, we control everything that trusts it. That means every server, every workstation, every file share, and often the backup system and the email tenant too. The domain controller is not just one important system among many. For most of our clients it is the company.
Most of the work in that long middle is noisy, slow and detectable, and that is where defenders catch us. Zerologon cuts it out. An attacker who can reach an unpatched domain controller over the network goes straight from foothold to domain.
That is why "it's an internal vulnerability, our domain controllers aren't on the internet" is the wrong response. Ransomware operators do not need your domain controller on the internet. They need a foothold on any machine that can reach it, and footholds are cheap.
The directive is good advice for everyone
CISA's directive applies only to federal agencies, but its reasoning applies everywhere. The agency cited five things:
- exploit code was available in the wild
- affected domain controllers were everywhere
- the potential for compromise was high
- a successful compromise would have a grave impact
- the flaw was still present more than thirty days after the fix shipped
Every one of those is as true for a 200-person company as for a cabinet department.
The directive also has a requirement worth copying into your own standard. A domain controller that cannot be updated comes off the network, and a new or reconnected domain controller gets patched before it connects. The ones somebody else will find are the forgotten ones: the domain controller in a branch office, the one restored from an old backup during a test, the virtual machine someone spun up and never cleaned up.
The second phase is the hard part
Patching your domain controllers stops the attack. It does not finish the job, and Microsoft has said so plainly.
The fix comes in two phases. The August update protects domain controllers and starts logging connections from devices that still use the vulnerable form of the protocol. On February 9, 2021, an enforcement update will start refusing those connections regardless of the registry setting, unless a device has been explicitly exempted. Anything that still depends on the old behaviour, and has not been exempted, will lose its connection to the domain that day.
For Windows machines on a supported, patched build, this mostly passes unnoticed. The risk is in everything else that joins the domain:
- storage appliances
- older Linux and Unix systems
- network devices
- building management systems
- the line-of-business appliance a vendor installed six years ago
Those are the devices that will quietly drop off the domain on a Tuesday morning in February.
So the work between now and then is an inventory:
Watch the logs the update gives you. Patched domain controllers record an event every time a device connects the vulnerable way. Event ID 5829 means the connection was still allowed. Event IDs 5827 and 5828 mean it was denied. Collect these centrally. Every device that shows up is a February outage waiting to happen.
Work the list with vendors. For each non-Windows device, find out whether an update supports the secure form of the protocol. If there isn't one, plan the replacement now, while there is still a budget cycle before February.
Use the allow-list only as a bridge. Microsoft provides a group policy that exempts specific devices, and it says plainly that exempted accounts remain vulnerable. Keep the list short and give every entry an owner and an end date. Keep trust accounts off it entirely: Microsoft warns that allowing them makes the whole forest vulnerable.
Turn on enforcement early once the list is clean. You do not have to wait for February. A registry setting turns on enforcement mode today. Finding breakage on your own schedule is much better than finding it on Microsoft's.
Assume someone tried
If any of your domain controllers were unpatched after mid-September, when exploit code was circulating publicly, check whether anyone used it. The clearest sign, according to several vendors, is an unexpected change to a domain controller's own computer account, especially one made anonymously. That account changes routinely on a long cycle, so a change that breaks the pattern deserves a look. If you are not sure how to look, spend an hour on it with whoever watches your logs.
The broader lesson
Edge devices get our attention because they face the internet. This month is a reminder that the systems inside matter just as much. What your defences are really buying is distance: the number of steps between "someone clicked a link" and "someone owns the domain". Anything that cuts that distance to one step deserves the same urgency as a hole in the perimeter.
Patch the domain controllers this week. Then spend the months until February finding the devices that will break.
Sources
- ED 20-04: Mitigate Netlogon Elevation of Privilege Vulnerability from August 2020 Patch Tuesday — CISA, September 2020
- How to manage the changes in Netlogon secure channel connections associated with CVE-2020-1472 — Microsoft, August 2020
- Microsoft: Attackers Exploiting 'ZeroLogon' Windows Flaw — Krebs on Security, September 2020






