authenticode-probe

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Rendered for windows/amd64

Overview

authenticode-probe is an INVESTIGATION tool, not part of the collector and not shipped. It answers one question before any Authenticode evidence is added to the collector: can WinVerifyTrust verify a file's embedded signature OFFLINE, with no network activity, and still give a useful answer?

It verifies each file twice, once in the mode a collector would use and once in the default, network-capable mode:

offline: WTD_REVOKE_NONE, WTD_REVOCATION_CHECK_NONE | WTD_CACHE_ONLY_URL_RETRIEVAL
online:  WTD_REVOKE_WHOLECHAIN (revocation checking of the whole chain, allowed to fetch)

and, around each call, looks for the two visible side effects of a network fetch: TCP connections owned by this process (sampled every millisecond) and new or updated files in the CryptoAPI URL cache (%USERPROFILE%\AppData\LocalLow\Microsoft\ CryptnetUrlCache), which is where fetched CRLs and OCSP responses are stored.

Neither is proof of absence (a connection shorter than a millisecond can be missed; a fetch that is not cached leaves no file), so the report says "not observed", never "did not happen". The verdict on shipping the sensor also rests on the design: the offline flags are documented by Microsoft as forbidding URL retrieval.

Usage: authenticode-probe [-json] file...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL