WinVerifyTrust Signature Validation Vulnerability
CVE-2012-0151 is a signature validation flaw in Microsoft Windows Authenticode handling. The vulnerability exists in the WinVerifyTrust/AuthentiCode signature verification logic on affected Windows versions because the digest of a signed portable executable file is not properly validated when additional content is appended. As a result, a specially modified PE file can retain an apparently valid digital signature even though attacker-controlled data has been added after signing. This weakness can be abused to make a tampered executable appear trustworthy to users or security controls that rely on Authenticode validation, enabling delivery of malicious content inside or alongside a signed file. The issue is user-assisted because successful exploitation depends on a target opening or executing the modified file.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An attacker can use a legitimately signed but modified PE file to bypass trust decisions based on Authenticode validation and induce execution of arbitrary code. The practical impact is defense evasion and initial compromise: malicious content can be concealed within a file that appears validly signed, increasing the likelihood of user execution and potentially reducing detection by controls that trust signed binaries. In campaigns abusing this weakness, the flaw has been used to hide script content in signed files and support malware delivery.
If you can’t patch tonight, do this now.
Where patching is not immediately possible, reduce reliance on Authenticode trust alone for execution decisions. Use application control, reputation-based protections, and content inspection capable of detecting appended or embedded malicious payloads in signed PE files. Restrict execution of untrusted files from user-writable locations, harden email and web download paths, and monitor for suspicious use of signed binaries as malware carriers. Additional strict signature validation settings may help detect related certificate-padding abuse, but that mitigation is primarily associated with later related issues and may not fully address this CVE by itself.
Patch, then assume compromise.
Apply the Microsoft security updates that correct the WinVerifyTrust/AuthentiCode validation behavior for affected Windows versions. Systems running unsupported legacy Windows releases should be upgraded to supported versions that include the fix. Organizations should also review any workflows or security products that make allow/deny decisions solely on the presence of a valid Authenticode signature and ensure they validate file integrity beyond signature presence alone.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.