Add new "Authenticode (padded)" hash types

Author: dinhngtuCreated Sep 19, 2026Updated Sep 19, 2026
Labelsenhancement

Description of the feature, modification, idea or suggestion

Unsigned PE files having an overlay may have a total size not divisible by 8. Windows' Authenticode hash calculation zero-pads the file to a multiple of 8 in the hash calculation. However, the Authenticode specification is itself ambiguous on whether this padding is needed, and many tools (VirusTotal, System Informer, etc) do not perform the zero padding step during their hash calculations on these files. Therefore, the Authenticode hash calculated by PE Viewer may not match what's calculated by e.g. Get-AppLockerFileInformation.

In order to facilitate the comparison of signed and unsigned files, there should be a new hash type that follows the method used by Windows.

For the background and full explanation from jxy-s, refer to https://github.com/winsiderss/systeminformer/issues/3073.

Proposed implementation details (optional)

PE Viewer should provide new hash types, named e.g. "Authentihash (padded, SHA-1)". These hash type should follow Microsoft's padding rules and match the output of Microsoft tools such as Get-AppLockerFileInformation.

The existing "Authentihash" types could be renamed to e.g. "Authentihash (unpadded)" to avoid presenting them as the canonical Authentihash representations.

An alternative and friendlier way to name them is to present them by their vendors, like Imphash already does; for example, "Authentihash (Microsoft, SHA-1)" versus "Authentihash (VirusTotal, SHA-1)".

Source: winsiderss/systeminformer