merces / libpe

The PE library used by @merces/pev
http://pev.sf.net
GNU Lesser General Public License v3.0
115 stars 40 forks source link

Feature request: calculate Authenticode hash #22

Open tklengyel opened 6 years ago

tklengyel commented 6 years ago

When examining EFI PE files, it is very useful to calculate the Authenticode hash, which is used by the UEFI firmware to record measurements into the TPM. Currently pehash does not produce this hash.

More info: https://msdn.microsoft.com/en-us/library/windows/desktop/ms680547(v=vs.85).aspx#appendix_a__calculating_authenticode_pe_image_hash