SkillAgentSearch skills...

AuthHashCalc

Authenticode Hash Calculator for PE32/PE32+ files

Install / Use

/learn @hfiref0x/AuthHashCalc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

AuthHashCalc

Visitors

Authenticode Hash Calculator for PE32/PE32+ files

<img src="https://raw.githubusercontent.com/hfiref0x/AuthHashCalc/master/Screenshots/mainwnd.png" width="600" /> <img src="https://raw.githubusercontent.com/hfiref0x/AuthHashCalc/master/Screenshots/cli.png" width="600" />

System Requirements

  • x86/x64 Windows 7/8/8.1/10/11
  • Administrative privileges are not required

Features

  • Portable Executable (PE32/PE32+) Authenticode hash calculation (MD5/SHA1/SHA256/SHA384/SHA512)
  • WDAC-compliant page hash calculation (image header only hash), SHA1/SHA256
  • GUI and CLI versions combined in a single executable
  • Drag and drop support for GUI version

Usage

  • Open the desired file using the button [...], select hash types you want to calculate, and press the "Calculate" button. Or drop your file using drag and drop.
  • CLI usage: run the program from the console, supplying as a parameter the input filename for which you want to calculate Authenticode hashes, e.g., ahc64.exe c:\dir\mydriver.sys.
  • If you want to save the result to a file, use a third parameter as the output filename, e.g., ahc64.exe c:\dir\mydriver.sys c:\dir\result.txt.

Build

AuthHashCalc comes with full source code written in C. To build from source you need Microsoft Visual Studio 2015 or later.

Links

  • https://docs.microsoft.com/en-us/windows-hardware/drivers/install/authenticode
  • https://docs.microsoft.com/en-us/windows/win32/seccrypto/signtool

Authors

(c) 2021 - 2026 AuthHashCalc Project

Related Skills

View on GitHub
GitHub Stars122
CategoryDevelopment
Updated22d ago
Forks34

Languages

C

Security Score

95/100

Audited on Mar 8, 2026

No findings