EDR: How to Get the Sensor ID for a Specific Sensor
search cancel

EDR: How to Get the Sensor ID for a Specific Sensor

book

Article ID: 291124

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

To get the sensor ID for a specific endpoint. 

Environment

  • EDR: 7.x and Higher
  • EDR Sensor: 7.x and Higher

Resolution

Get the Sensor ID from the EDR Server UI
  1. Log into the Server UI.
  2. Click "Sensors" on the menu > Click on the affected Sensor to browse to the Host Details page.
  3. Look at the URL:
    https://YOUR_SERVER/#/host/123
In this case, the sensor ID is "123".

Get the Sensor ID from a Windows Sensor
  1. Log into Windows as an Admin User.
  2. Look at the registry by running "regedit".
  3. Look in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\CarbonBlack\config\SensorId
The value shown in the registry is stored in hexadecimal format. 
  1. Take the last 8 digits of the hexadecimal value and convert it to decimal. 
  2. This decimal value is the Sensor ID.
Get the Sensor ID from a Mac OSX Sensor
  1. Log into OSX as an Admin User.
  2. Look inside /var/lib/cb/sensor.id
Get the Sensor ID from a Linux Sensor
  1. Log into the Linux sensor endpoint
  2. Look inside /var/lib/cb/config
    SensorIdForDisplay=123

Additional Information

Hexadecimal-to-decimal converters can be found online.