Documentation
¶
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...