EDR: Set Up and Customize Virtual Desktop Infrastructure (VDI)
search cancel

EDR: Set Up and Customize Virtual Desktop Infrastructure (VDI)


Article ID: 285269


Updated On:


Carbon Black EDR (formerly Cb Response)


Enable and configure VDI settings allowing EDR to recognize rebuilt or re-imaged virtual machines.


EDR Servers: 7.6+


1. Add VDI configuration lines to /etc/cb/cb.conf. 
     1a.  Adding the two lines below enables the VDI feature and defaults to mapping sensors by hostname (and the DNS name). The advantage is enabling VDI but not allowing it to be configurable by the EDR Console.  Warning: The lines must match exactly with no extra spaces, special characters, and have the right case. Make a backup of cb.conf before making changes.  If EDR is a cluster, add the lines to each EDR server.
# Added <date>
     1b.  Adding the line below overrides the variables in 1a, and instructs EDR that VDI is controlled and configurable by the console.  If EDR is a cluster, add the line to each EDR server.
# Added <date>

2. Restart cb-enterprise or cbcluster for the changes to take affect.
Standalone Server:
service cb-enterprise restart

/usr/share/cb/cbcluster stop
/usr/share/cb/cbcluster start

3. Ensure the master image, 'gold disk', template has a sensorID=0, and the events and binary data have been removed.
sc stop carbonblack
sc stop carbonblackk
regedit - Modify HKLM/software/carbonblack/config/SensorId to 0
del c:\windows\carbonblack\eventlogs\*
del c:\windows\carbonblack\store\MD5_*
systemctl stop cbdaemon

vim /var/opt/carbonblack/response/sensorsetting.ini

vim /var/opt/carbonblack/response/config.ini

rm -rf /var/opt/carbonblack/response/store/* 
rm -rf /var/opt/carbonblack/response/eventlogs/* 
launchctl unload /Library/LaunchDaemons/com.carbonblack.daemon.plist
vi /var/lib/cb/sensor.id  (Replace current id with 0)

4.  In the EDR Console, choose which attributes define a virtual machine or rebuilt system.
User > Settings > VDI Settings > Edit > Save
User-added image
5.  Configure the groups to accept the VDI settings.  With the sensor group VDI option, the server attempts to correlate only sensors that are in a VDI-enabled group. For this to occur, the desired sensor group VDI behavior setting must be enabled.
To set up group-based VDI support:
1 Login to the Carbon Black EDR console.
2 To configure a group for VDI support, click Sensors on the navigation bar.
3 From the Sensors menu, select the sensor group to configure for VDI support.
4 Click the Edit Settings tab. The Edit Settings page appears.
5 On the Advanced tab, select the VDI Behavior Enabled checkbox.
6 Click the Save Changes button to enable the configuration.


Additional Information

  • The Console VDI attribute selections have replaced the need to modify the /usr/share/cb/plugin files.