What is the affect of CertPaddingCheck/WinVerify on existing exe files on a server.

DavidClelland-3066 20 Reputation points
2025-03-03T08:59:41.5566667+00:00

We are investigating CVE-2013–3900 and, currently, colleagues of mine have a concern regarding exe files already present on the servers.

Does anyone have experience of this? We are wondering if current, unsigned, exe files on a server will be affected.

Does the check happen every time the exe is run or just when it is installed and initially executed?

Any insight would be much appreciated. Thanks

Windows Server Performance and maintenance Application technologies and compatibility
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2025-03-03T09:04:26.3566667+00:00

    Hello,

    CVE-2013-3900 is a vulnerability related to the way the WinVerifyTrust function handles Windows Authenticode signature verification for portable executable (PE) files. This vulnerability allows an attacker to modify an existing signed executable file to add malicious code without invalidating the signature.

    Regarding your concerns:

    Unsigned EXE Files: The vulnerability primarily affects signed PE files. Unsigned EXE files are not directly impacted by this vulnerability since they do not undergo the same signature verification process.

    Check Frequency: The verification check happens every time the EXE file is run, not just during installation or initial execution. This means that any modifications to the file will be detected whenever the file is executed, provided the stricter verification behavior is enabled.

    To mitigate this vulnerability, you can enable the stricter verification behavior by setting the EnableCertPaddingCheck registry key. This will ensure that non-conforming binaries appear unsigned and are rendered untrusted.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

     


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.