Skip to content
Crypto Advisory Advanced CVE-2020-0601

Windows CryptoAPI Spoofing Vulnerability (CVE-2020-0601)

Windows CryptoAPI did not fully validate ECC certificates, so an attacker could present a spoofed code-signing certificate that appeared to come from a trusted provider. This could let a malicious executable look legitimately signed, and could also enable man-in-the-middle attacks and decryption of confidential traffic.

National Security Agency Follow

Originally disclosed on Microsoft

High 8.1 View original

Description

A spoofing vulnerability exists in the way Windows CryptoAPI (Crypt32.dll) validates Elliptic Curve Cryptography (ECC) certificates. An attacker could exploit the vulnerability by using a spoofed code-signing certificate to sign a malicious executable, making it appear the file was from a trusted, legitimate source. The user would have no way of knowing the file was malicious, because the digital signature would appear to be from a trusted provider. A successful exploit could also allow the attacker to conduct man-in-the-middle attacks and decrypt confidential information on user connections to the affected software. The security update addresses the vulnerability by ensuring that Windows CryptoAPI completely validates ECC certificates.

FAQ

How can I tell is someone is attempting to use a forged certificate to exploit this vulnerability? After the applicable Windows update is applied, the system will generate Event ID 1 in the Event Viewer after each reboot under Windows Logs/Application when an attempt to exploit a known vulnerability ([CVE-2020-0601] cert validation) is detected. This Event is raised by a User mode process. Type Value Event Log Windows Logs/Application Event Source Audit-CVE Event ID 1 Certificate Authority Microsoft ECC Product Root Certificate Authority 2018 SHA1 This data is specific to the certificate in question Para This data is specific to the certificate in question otherPara This data is specific to the certificate in question

FAQ

Is there more information from Microsoft regarding CVE-2020-0601? Yes, please see the blog post released on 1/14/2020. Are versions older than Windows 10 versions affected by this vulnerability? No, only Windows 10 versions of the OS are affected. In the initial release of Windows 10 (Build 1507, TH1), Microsoft added support for ECC parameters configuring ECC curves. Prior to this, Windows only supported named ECC curves. The code which added support for ECC parameters also resulted in the certificate validation vulnerability. It was not a regression, and versions of Windows which don’t support ECC parameters configuring ECC curves (Server, 2008, Windows 7, Windows 8.1 and servers) were not affected.

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by National Security Agency. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the code that added support for custom ECC curve parameters did not fully validate those parameters during certificate validation.

Impact

A spoofed certificate could make a malicious executable appear trusted and could allow man-in-the-middle attacks and decryption of confidential information; only Windows 10 versions were affected.

What the attacker needed

Windows 10 (affected versions); Attacker can present a forged certificate

The fix

It was fixed by a security update that ensures Windows CryptoAPI completely validates ECC certificates.

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 report has not been written yet. The Original tab links to the source.

When software is signed, Windows checks a digital certificate to confirm who made it. Here, that check was incomplete for one type of certificate (elliptic curve), so a forged certificate could pass as a real one. That means a harmful program could look as if it came from a trusted company.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by National Security Agency

View all

9 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.