Just Published! Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

CB Response: How To Generate A Sensor Installer Via cbsensorinstallergen In The Back-end

CB Response: How To Generate A Sensor Installer Via cbsensorinstallergen In The Back-end

Environment

  • CB Response Server: 6.X

Objective

How to generate specific versions of sensor installer for a specific sensor group at back-end server/master via the command line.

Resolution

Suggest using /usr/share/cb/cbsensorinstallergen to accomplish the task.


Help file:

/usr/share/cb/cbsensorinstallergen -h

Usage: cbsensorinstallergen [options]

This is a utility that can be used to create sensor installation packages.

The default location for sensor installers is:

/usr/share/cb/coreservices/installers

Options:

-h, --help show this help message and exit

--installer-file=INSTALLER_FILE File path to the sensor installer file(s) - if multiple files, separate by comma(s)

--os=OS_TYPE The os type that the package is for: [win|osx|linux]

--sensor-group=SENSOR_GROUP The sensor group to get the ini settings from [uses Default Group if none provided]

--package-path=PACKAGE_PATH Directory path to save the output package

 

Example usage:

/usr/share/cb/cbsensorinstallergen --installer-file=/usr/share/cb/coreservices/installers/osx/CarbonBlackClientSetup-osx-v6.0.4.70328.pkg --os=osx --sensor-group="Default Group" --package-path=/tmp/

This example uses the install package for OSX v6.0.4 from sensor group Default Group and puts the resulting zip file in the /tmp/ path.


Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎04-03-2019
Views:
367
Contributors