Verify file integrity with Sigcheck: a complete step-by-step guide

Last update: 19/09/2025
Author Isaac
  • Sigcheck verifies signatures, hashes, and reputation against VirusTotal to secure files.
  • SHA-256 is the recommended standard; use GPG to validate packages with .sig.
  • Windows y Linux include native utilities for calculating and comparing hashes.
  • GUI tools like QuickHash or HashMyFiles make bulk checks easy.

Verify file integrity with Sigcheck

File integrity is the fine line between a reliable download and a serious problem on your computer. Checking it with the right tools, like Sigcheck, makes all the difference between a worry-free installation and playing Russian roulette with your software. This article will show you, in detail and without any fuss, how to use Sigcheck, hashes, and signatures to ensure that what you have on your disk is exactly what it should be.

In addition to Sigcheck, we'll cover hash functions (MD5, SHA-1, SHA-2, SHA-3, BLAKE2/3), how to use them on Windows and Linux without installing anything, how to validate lists, and how to use VirusTotal and PGP signatures when the file comes with a .sig extension or your package manager expects it. All of this will be explained with a practical, step-by-step approach and with ready-to-copy commands.

What is Sigcheck and why it's a good idea to have it handy?

Sigcheck is a command-line utility from Sysinternals (Microsoft) that displays the version, timestamp, digital signature, and certificate chain of a file; it can also check the malware status on VirusTotal and even upload samples if none exist. In other words, it tells you if an executable is signed and trusted , and if its hash has been detected by antivirus engines.

Among its strengths, it can list certificates from system stores, check for revocations (or disable them on demand), and recursively traverse directories to hunt for unsigned binaries. In a real-world scenario, you'll use it to find unsigned files in System32 , verify string expirations, and obtain hashes to compare against official sources.

Using Sigcheck on Windows

Essential syntax and key options of Sigcheck

The executable accepts several combinations, starting with the general syntax: sigcheck [options] <file or folder> . Below are the most useful flags for everyday use, all designed for auditing file signatures, hashes, and reputation .

Featured options for output and detail:

  • -a: Displays extended version information, with entropy measure (bits per byte) of the content.
  • -h: prints hashes of the file.
  • -i: shows the catalogue and the chain of signatures.
  • -m: dumps the manifesto.
  • -n: outputs only the version number.
  • -c/-ct: comma- or tab-separated CSV output for automate reports.

Options for route and format:

  • -s: traverses subdirectories.
  • -e: examines only executable images (ignores the extension).
  • -l: follows symbolic links and junctions.
  • -nobanner: hides the startup banner; ideal in silent scripts.

Integration with VirusTotal:

  • -vt: accept the VirusTotal Terms of Use (required for viewing).
  • -v[rs]: Query reputation by hash; add "r" to open reports with detection and "s" to upload unanalyzed files.
  • -u: If VirusTotal is enabled, it shows unknown or detected; if not, it shows only unsigned files.
  • -o: Performs VT searches using hashes previously captured in a Sigcheck CSV (offline-friendly mode).
  Microsoft Office: versions, differences, licenses, and comparisons

Certificates and revocation:

  • -t[u][v]: dumps the contents of a certificate store; with -tu you query the user store, and with -tv you filter by Microsoft's roots of trust.
  • -r: Disables revocation checking (use wisely).
  • -p: Validates against a specific signing policy (by GUID), useful in corporate environments.

Other useful features:

  • -d: dumps contents of a catalog file.
  • -f: Searches for signatures in a specified catalog file.

Classic usage example for hunting unsigned binaries in System32:

sigcheck -u -e C:\\Windows\\System32

Based on that list, calmly investigate the purpose of each unsigned item before making any decisions.

Checking integrity and reputation with Sigcheck in practice

If you want to combine signatures and AV reputation, first accept VT's terms and launch a query, uploading samples if necessary. This allows you to cross-reference local cryptographic integrity with the collective intelligence of dozens of engines.

Suggested sequence for VT reputation:

  1. Accept terms: sigcheck -vt <archivo>
  2. Check and open positive reports: sigcheck -vrs <archivo>
  3. Filter unknowns/positives in a tree: sigcheck -u -s -v <carpeta>

This allows you to quickly detect problematic executables, reinforcing integrity and provenance verification.

For mass audits, it is advisable to export to CSV and work with spreadsheets or a SIEM. With -h you get hashes and with -ct easy to parse tabs: sigcheck -h -ct -s C:\\Rutas\\De\\Interes > inventario.tsv. Afterwards, you can use -o on that CSV/TSV for offline queries to VT when you have network again.

Hash functions: what they are, which ones to use, and why they matter

A hash is like a file's digital fingerprint : if you change a single bit, its resulting value is completely different. That's why they're used extensively to verify if a download is identical to the original or to ensure that a forensic disk remains intact.

Classical algorithms and practical impact:

  • MD5: very fast and widespread in its day, but with collisions; it is not safe for adversarial integrity. However, it is still present in internal workflows where speed is paramount and the risk is low.
  • SHA-1: also has collision problems; best avoided for new uses.
  • SHA-2 (224/256/384/512): Current standard for integrity and authentication; SHA-256 is the wildcard recommended by manufacturers and distributions.
  • SHA-3: Modern NIST-approved alternative, with output lengths equivalent to SHA-2.
  • BLAKE2/BLAKE3: very fast and safe; useful when you need high performance for large volumes.

Remember that hash functions work in only one direction: storing passwords as hashes requires specific schemes (e.g., bcrypt or Argon2 ), not a fast hash like unhardened SHA-256.

Verify on Windows without installing anything: PowerShell and Certutil

Windows includes built-in tools that handle most cases. With PowerShell, you can obtain the hash in a second and compare it to the one published by the vendor, allowing for quick validation before installation.

PowerShell:

  How to disable People Nearby on Telegram and avoid proximity tracking

Get-FileHash "C:\\Ruta\\archivo.ext" -Algorithm SHA256

Compare the result to the official hash; if they match, the download hasn't been tampered with. You can replace SHA256 with SHA1, SHA384, or SHA512 depending on what the site publishes.

Certutil ( command prompt or PowerShell):

certutil -hashfile "C:\\Ruta\\archivo.ext" SHA256

It's ideal for scripts and batch verification; align your algorithms with those declared by the manufacturer on their website.

Verification in Linux: cksum, md5sum, sha256sum and list validation

In GNU/Linux, you have standard hash sums in coreutils. For home security, you can use cksum (CRC32) , and for real security, sha256sum/sha512sum. The process is identical: you calculate it locally and compare it to the published hash.

Basic commands:

  • CRC32 Quick: cksum archivo
  • MD5: md5sum archivo
  • SHA-256: sha256sum archivo

The alternatives sha1sum, sha224sum, sha384sum, sha512sum work the same; choose the algorithm indicated by the source.

Checklists: When you have many files, it's more convenient to work with .sfv/.md5 lists, etc. To validate them, you can use cksfv or cfv , very useful terminal tools.

Examples with lists:

  • Install cksfv: sudo apt install cksfv
  • Check a list: cksfv -g /ruta/lista.sfv
  • Create new list: cksfv fichero1 fichero2 > listado.sfv

With cf You will have extensive support (.sfv, .md5, .par2, .crc, sha1sum, md5sum…):

  • Install: sudo apt install cfv
  • Check: cfv -f /ruta/test.sfv
  • Create: cfv -C -flista.sfv -tsfv documento.pdf documento2.jpg

PGP signatures and .sig files: the case of .tar.zst.sig packages

If you download a package with an attached .sig file (typical in distributions like Arch), the verification is no longer a simple hash, but a cryptographic signature using OpenPGP. The goal here is to confirm that the file was signed with the maintainer's key and has not been tampered with.

How to manually verify with GnuPG:

  1. Import the maintainer's public key or sync your distro's keyring.
  2. Run: gpg --verify paquete.tar.zst.sig paquete.tar.zst

If GnuPG indicates a valid signature and the key belongs to the trusted developer, integrity and authorship are guaranteed. On Arch, pacman and makepkg automate this using pacman-key; manually, the process is identical: validate that the PGP signature matches the downloaded file.

Compare files to each other: Is this copy identical to the original?

To verify that a copied file is faithful to the original, calculate the hash of both and compare them. If the values ​​match, the copy is bit by bit identical . If they differ, something changed along the way (corruption, truncation, editing, etc.).

Quick example:

  • Original: sha256sum documento.bin
  • Copy: sha256sum documento_copia.bin

By comparing them, you gain the certainty that the process (transfer, storage , compression) has preserved the integrity.

Free graphical tools for all kinds of flows

If you prefer a user interface, there are some very capable and lightweight utilities available. Several work on Windows, Linux, and macOS, with support for multiple algorithms and extra features such as comparing folders, checking catalogs, or generating lists.

Recommended selection:

  • QuickHash (Win/Linux/macOS): Open source, clear GUI, supports MD5, SHA-1/2/3, xxHash, BLAKE2/3; includes modules for text, single file, multiple files, verified copy, comparing two files/folders, and disk hash.
  • Hash My Files (Windows, portable): generates mass hashes (SHA*, CRC32, MD5), integrates context menu and works with drag and drop.
  • multi-hasher (Windows): Hashes for folders and subfolders; supports CRC32, MD5, RIPEMD-160, SHA-1/256/384/512.
  • MD5 & SHA Checksum Utility (Windows): Get and verify MD5, SHA-1, SHA-256, SHA-512, export to CSV/HTML/TXT.
  Windows 11 SE is reaching its end: what it means and what options are available

More interesting options:

  • HashCalc: Calculates hashes, checksums, and HMACs; supports multiple algorithms and large sizes.
  • MD5 Hash Check: compares values ​​and integrates into the context menu; supports a wide range of algorithms.
  • Hasher Lite: Simple, drag & drop, processes up to 100 files per batch in its free version.
  • DeadHash: Supports MD4, MD5, SHA-1/224/256/384/512, RIPEMD160, CRC32; ideal for quick checks.
  • Hash generator: generates MD2/3/4/5, CRC32, Whirlpool, RIPEMD, HAVAL families; useful for basic integrity.
  • FCIV (File Checksum Integrity Verifier): Classic Microsoft tool for MD5/SHA-1/256.
  • Checksum Control: open source and cross-platform (Win/macOS/Linux) for MD5 and SHA-1.

HashCheck on Windows: Explorer integration

HashCheck adds a "Checksum" tab to file properties in Windows, displaying CRC-32, MD4, MD5, and SHA-1 values. From there, you can save a verification file, and when you open it later, the program will tell you if the file has been modified since you generated the hash.

Typical flow:

  1. File Properties > Checksum tab > Save List.
  2. You edit the file (or replace it) and reopen the list.
  3. HashCheck marks discrepancies in red (incorrect) if it detects changes. This is a very convenient way to audit folders complete with a single control file.

Beyond Integrity: When and Why to Use Each Approach

Use hashes when your source publishes the expected value; simply recalculate locally and compare. Use PGP signatures when the distribution or project publishes .sig files or maintainer public keys. If you suspect an executable, combine a digital signature with VirusTotal to increase reputation and trust.

Other real-world applications of hashes:

  • Verify forensic chains of custody and evidence.
  • Detect duplicate files (same hash, same content) and save space.
  • Message and document security with digital signatures (hash + private key encryption).
  • Malware detection by databases of signatures (known hashes of threats).

Risks, collisions and good practices

Although MD5 and SHA-1 have shown collisions, using SHA-256/512 or SHA-3 gets you out of that gray area. For passwords, avoid fast hashes and use slow derivation algorithms (bcrypt, scrypt, Argon2). Always check via HTTPS and from official sources to avoid manipulated hashes on fraudulent sites.

If you need performance, BLAKE2/BLAKE3 are excellent, and in forensic investigations MD5+SHA-1 is sometimes calculated for speed and compatibility with legacy tools , even knowing its cryptographic limitations.