IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Cb Defense: How to Retrieve a Certificate String for Whitelisting PKG Installer Files

Cb Defense: How to Retrieve a Certificate String for Whitelisting PKG Installer Files

Environment

  • Cb Defense Sensor: 3.2.x.x and Higher
  • Apple macOS: All Supported Versions

Objective

Locate certificate string and CA information required to Whitelist PKG installers

Resolution

Retrieve the Cert String from Investigate page

  1. Navigate to the Investigate page.
  2. Locate the PKG installer by searching for the Sha256 value of the PKG or the package name.
  3. Click on the PKG file name.
  4. The full string listed in the "Signed by" Field and the CA Field are used for PKG certificate whitelisting.

Retrieve the Cert String using the pkgutil command

  1. Launch Terminal (Cmd + Space and type in Terminal and Enter).
  2. Enter the following command, substituting the path to the installer for <installer.pkg>
    pkgutil --check-signature <installer.pkg>
  3. The "Developer ID Installer:" value (or the first certificate in the chain) is the required certificate string.
  4. The values listed for the CA ((or the last certificate in the chain) is the required CA information.

Additional Notes

This information is required to configure Certificate Whitelisting for PKG installers.
 

Related Content


Was this article helpful? Yes No
100% helpful (1/1)
Article Information
Author:
Creation Date:
‎09-28-2018
Views:
864
Contributors