VMware Carbon Black EDR (Deprecated)
This Integration is part of the Carbon Black Enterprise Response Pack.#
Deprecated
Use VMware Carbon Black EDR v2 instead.
Deprecated. Use VMware Carbon Black EDR v2 instead. Query and response with Carbon Black endpoint detection and response.
This integration was integrated and tested with version 6.2.0 of Carbon Black Response
Configure carbonblack-v2 in Cortex#
| Parameter | Required |
|---|---|
| Server URL | True |
| API Token | True |
| Trust any certificate (not secure) | False |
| Use system proxy settings | False |
| Fetch incidents | False |
| Incident type | False |
| Fetch Alert Severity Threshold Higher Than | False |
| Maximum Number Of Incidents To Fetch | False |
Commands#
You can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
cb-alert#
Retrieve alerts from Carbon Black Response.
Base Command#
cb-alert
Input#
| Argument Name | Description | Required |
|---|---|---|
| status | Alert status to filter by. Possible values are: Unresolved, In Progress, Resolved, False Positive. | Optional |
| username | Alert username to filter by. | Optional |
| feedname | Alert feedname to filter by. | Optional |
| hostname | Alert hostname to filter by. | Optional |
| report | Alert report name (watchlist_id) to filter by. | Optional |
| query | Query string. Accepts the same data as the search box on the Binary Search page. See https://github.com/carbonblack/cbapi/blob/master/client_apis/docs/query_overview.pdf. | Optional |
| rows | Return this many rows, 10 by default. | Optional |
| start | Start at this row, 0 by default. | Optional |
| sort | Sort rows by this field and order. server_added_timestamp desc by default. | Optional |
| facet | Return facet results. 'false' by default, set to 'true' for facets. | Optional |
Context Output#
| Path | Type | Description |
|---|---|---|
| CbResponse.Alerts.CbAlertID | unknown | Alert unique id |
| CbResponse.Alerts.ProcessPath | string | Alert Process Path |
| CbResponse.Alerts.Hostname | string | Alert Hostname |
| CbResponse.Alerts.InterfaceIP | string | Alert interface IP |
| CbResponse.Alerts.CommsIP | string | Communications IP |
| CbResponse.Alerts.MD5 | string | Alert process MD5 |
| CbResponse.Alerts.Description | unknown | Alert description |
| CbResponse.Alerts.FeedName | unknown | Alert feed name |
| CbResponse.Alerts.Severity | unknown | Alert severity |
| CbResponse.Alerts.Time | unknown | Alert created time |
| CbResponse.Alerts.Status | unknown | Alert status. One of: Unresolved, Resolved, False Positive |
Command Example#
Human Readable Output#
cb-block-hash#
Blocking hash
Base Command#
cb-block-hash
Input#
| Argument Name | Description | Required |
|---|---|---|
| md5hash | the blacklisted hash. | Required |
| text | text description of block list. | Required |
| lastBanTime | the last time the hash was blocked or prevented from being executed. | Optional |
| banCount | total number of blocks on this block list. | Optional |
| lastBanHost | last hostname to block this hash. | Optional |
Context Output#
| Path | Type | Description |
|---|---|---|
| File.LastAction | unknown | Last action taken on this file |
Command Example#
Human Readable Output#
cb-get-process#
Gets basic process information for segment (segment_id) of process (process_id)
Base Command#
cb-get-process
Input#
| Argument Name | Description | Required |
|---|---|---|
| pid | the internal CB process id; this is the id field in search results. | Required |
| segid | the process segment id, the segment_id field in search results. | Required |
| get_related | If set to true, will get process siblings, parent and children. Possible values are: false, true. Default is false. | Optional |
Context Output#
| Path | Type | Description |
|---|---|---|
| Process.Siblings.MD5 | unknown | The sibling Process MD5 |
| Process.CbSegmentID | unknown | Cb 'segment' where this process instance is stored. Required to fetch further info on a process. |
| Process.Parent.MD5 | unknown | The parent Process MD5 |
| Process.Children.CommandLine | unknown | The children Process CommandLine |
| Process.Hostname | unknown | Process Hostname |
| Process.Parent.CbSegmentID | unknown | The parent Cb 'segment' where this process instance is stored. Required to fetch further info on a process. |
| Process.CbID | unknown | Cb unique ID for this process instance - required (together with CbSegmentID) to fetch further info on a process. |
| Process.Siblings.CbSegmentID | unknown | The sibling Cb 'segment' where this process instance is stored. Required to fetch further info on a process. |
| Process.Children.Name | unknown | The children Process Name |
| Process.Parent.Name | unknown | The parent Process Name |
| Process.Siblings.Hostname | unknown | The sibling Process Hostname |
| Process.Parent.Path | unknown | The parent Process Path |
| Process.Children.Hostname | unknown | The children Process Hostname |
| Process.PID | unknown | Process PID |
| Process.Children.CbSegmentID | unknown | The children Cb 'segment' where this process instance is stored. Required to fetch further info on a process. |
| Process.Children.CbID | unknown | The children Cb unique ID for this process instance - required (together with CbSegmentID) to fetch further info on a process. |
| Process.Path | unknown | Process Path |
| Process.Parent.PID | unknown | The parent Process PID |
| Process.Children.Path | unknown | The children Process Path |
| Process.Name | unknown | Process Name |
| Process.Children.PID | unknown | The children Process PID |
| Process.Parent.CbID | unknown | The parent Cb unique ID for this process instance - required (together with CbSegmentID) to fetch further info on a process. |
| Process.CommandLine | unknown | Process CommandLine |
| Process.Siblings.CommandLine | unknown | The sibling Process CommandLine |
| Process.Siblings.Name | unknown | The sibling Process Name |
| Process.Parent.CommandLine | unknown | The parent Process CommandLine |
| Process.Parent.Hostname | unknown | The parent Process Hostname |
| Process.MD5 | unknown | Process MD5 |
| Process.Children.MD5 | unknown | The children Process MD5 |
| Process.Siblings.CbID | unknown | The sibling Cb unique ID for this process instance - required (together with CbSegmentID) to fetch further info on a process. |
| Process.Siblings.Path | unknown | The sibling Process Path |
| Process.Siblings.PID | unknown | The sibling Process PID |
| Process.StartTime | date | Start time of the process. |
Command Example#
Human Readable Output#
cb-list-sensors#
List the CarbonBlack sensors
Base Command#
cb-list-sensors
Input#
| Argument Name | Description | Required |
|---|---|---|
| limit | The maximum amount of sensors to be returned. | Optional |
Context Output#
| Path | Type | Description |
|---|---|---|
| CbResponse.Sensors.Status | unknown | Sensor Status |
| CbResponse.Sensors.LastUpdate | unknown | Sensor Last Updated |
| CbResponse.Sensors.Uptime | unknown | The Sensor uptime |
| CbResponse.Sensors.SupportsCbLive | unknown | Sensor Support CB Live |
| CbResponse.Sensors.Notes | unknown | Sensor Notes |
| CbResponse.Sensors.Hostname | unknown | Hostname |
| CbResponse.Sensors.CbSensorID | unknown | Sensor ID |
| CbResponse.Sensors.Isolated | unknown | Sensor Isolated |
| CbResponse.Sensors.IPAddresses | unknown | Sensor IP Addresses |
| CbResponse.Sensors.OS | unknown | Sensor OS |
| Endpoint.Hostname | unknown | Sensor Hostname |
| Endpoint.OS | unknown | Sensor OS |
| Endpoint.IPAddresses | unknown | Sensor IP Addresses |
Command Example#
Human Readable Output#
cb-quarantine-device#
Isolate the endpoint from the network
Base Command#
cb-quarantine-device
Input#
| Argument Name | Description | Required |
|---|---|---|
| sensor | the sensor ID to quarantine. | Required |
Context Output#
| Path | Type | Description |
|---|---|---|
| Endpoint.LastAction | unknown | Endpoint Actions |
Command Example#
Human Readable Output#
cb-unblock-hash#
Unblocking hash
Base Command#
cb-unblock-hash
Input#
| Argument Name | Description | Required |
|---|---|---|
| md5hash | the hash on the block list. | Required |
| text | text description of block list. | Required |
Context Output#
| Path | Type | Description |
|---|---|---|
| File.LastAction | unknown | Last action taken on this file |
Command Example#
Human Readable Output#
cb-version#
Display the CarbonBlack version
Base Command#
cb-version
Input#
| Argument Name | Description | Required |
|---|
Context Output#
There is no context output for this command.
Command Example#
Human Readable Output#
cb-watchlist-get#
Retrieve info for a watchlist in Carbon black Response.
Base Command#
cb-watchlist-get
Input#
| Argument Name | Description | Required |
|---|---|---|
| watchlist-id | Watchlist ID. | Optional |
Context Output#
| Path | Type | Description |
|---|---|---|
| CbResponse.Watchlists.LastHit | unknown | Watchlist last hit |
| CbResponse.Watchlists.TotalHits | unknown | Watchlist Total hits |
| CbResponse.Watchlists.SearchQuery | unknown | Cb search query used for the watchlist. |
| CbResponse.Watchlists.Name | unknown | Watchlist Name |
| CbResponse.Watchlists.Enabled | unknown | Watchlist is enabled |
| CbResponse.Watchlists.LastHitCount | unknown | Watchlist last hit count |
| CbResponse.Watchlists.DateAdded | unknown | Watchlist Date added |
| CbResponse.Watchlists.SearchTimestamp | unknown | Watchlist last hit count |
| CbResponse.Watchlists.CbWatchlistID | unknown | Watchlist ID |
Command Example#
Human Readable Output#
cb-watchlist-set#
Modify a watchlist in Carbon black Response.
Base Command#
cb-watchlist-set
Input#
| Argument Name | Description | Required |
|---|---|---|
| watchlist-id | Watchlist ID. | Required |
| search-query | the raw Carbon Black query that this watchlist matches. | Optional |
| name | name of this watchlist. | Optional |
| indexType | the type of watchlist. Valid values are 'modules' and 'events' for binary and process watchlists, respectively. | Optional |
Context Output#
There is no context output for this command.
Command Example#
Human Readable Output#
cb-watchlist#
Retrieve watchlist in Carbon black Response.
Base Command#
cb-watchlist
Input#
| Argument Name | Description | Required |
|---|
Context Output#
| Path | Type | Description |
|---|---|---|
| CbResponse.Watchlists.LastHit | unknown | Watchlist last hit |
| CbResponse.Watchlists.TotalHits | unknown | Watchlist Total hits |
| CbResponse.Watchlists.SearchQuery | unknown | Cb search query used for the watchlist. |
| CbResponse.Watchlists.Name | unknown | Watchlist Name |
| CbResponse.Watchlists.Enabled | unknown | Watchlist is enabled |
| CbResponse.Watchlists.LastHitCount | unknown | Watchlist last hit count |
| CbResponse.Watchlists.DateAdded | unknown | Watchlist Date added |
| CbResponse.Watchlists.SearchTimestamp | unknown | Watchlist last hit count |
| CbResponse.Watchlists.CbWatchlistID | unknown | Watchlist ID |