Use Windows CAPI2 Logs To Verify Partial Chain Errors
book
Article ID: 288979
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)
Issue/Introduction
How to use Windows CAPI2 logging to verify Partial Chain Errors
Environment
App Control Agent: All Supported Versions
Microsoft Windows: All Supported Versions
Resolution
The Agent relies on the Windows Cryptographic API to validate Publishers and Certificates associated with relevant file(s). The following steps will help compare how the Agent is interpreting what the Windows Crypto API is returning when conducting this validation.
Step 1: Configure & Capture Relevant Logs
Enable Windows CAPI2 Logging:
Start > Run > eventvwr
Local > Applications and Services Logs > Microsoft > Windows > CAPI2
Right Click: Operational > Enable Log
Right Click: Operational > Properties > Maximum Log Size (KB): 4096
Compare against the PowerShell Authenticode results captured.
Compare against the dascli find results captured.
Verify the Certificate(s) referenced are in the PowerShell CertList results captured.
For security reasons, the Agent requires certificates be present in the Local Machine (not Per-User) Store on the endpoint.
If discrepancies are found, or if requested by Support:
Zip the Event Viewer and text file results
Provide the Agent Logs and zipped results to Support.
Additional Information
It is recommended to coordinate this logging with extra logging at the network/firewall/proxy level to determine what changes may be necessary to allow this communication.