Zerologon Exploit
A flaw in the Netlogon authentication encryption (AES-CFB8) allowed an attacker to bypass authentication and take control of a Domain Controller, gaining root privileges. The attacker could then inject malware and move laterally using Impacket tools.
Published on medium.com
نختصر حوار جديد في الـ Cyber Security بإذن الله، ونأسف على التأخير. Zerologon Exploit اتسجل CVE-2020-1472 ..
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the AES-CFB8 encryption mode used by Netlogon accepted an all-zero key in about 1 in 256 attempts, letting an attacker bypass authentication.
Impact
An attacker could take control of a Domain Controller and gain root privileges, potentially injecting malware and moving laterally across the network.
What the attacker needed
Attacker in same network as victim; DDoS to enter network if outside
How it was found
- The attacker uses a DDoS attack to get into the network if they are outside it.
- The attacker exploits the Netlogon encryption flaw to bypass authentication.
- The attacker establishes a TCP connection to a C2 server using Impacket tools.
- The attacker uses secretsdump.py to connect and extract data.
- The attacker uses psexec.py and wmiexec.py to move laterally within victim hosts.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Netlogon is a Windows service that checks who is allowed to talk to the Domain Controller, the central login server for a Windows network. The encryption it used had a weakness: in a small fraction of tries, it accepted an all-zero key, so an attacker could pretend to be a trusted computer without knowing any password. This let them take over the Domain Controller and the whole network.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.