Skip to main content

VMware Carbon Black EDR v2

This Integration is part of the Carbon Black Enterprise Response Pack.#

Supported versions

Supported Cortex XSOAR versions: 5.5.0 and later.

VMware Carbon Black EDR (formerly known as Carbon Black Response) This integration was integrated and tested with product version 6.2 of VMware Carbon Black EDR and based on API version 6.3+.

Some changes have been made that might affect your existing content.

Configure VMware Carbon Black EDR v2 in Cortex#

ParameterDescriptionRequired
Server URLTrue
API TokenFalse
Fetch incidentsFalse
Incident typeFalse
Filter alerts by queryAdvanced query string. Accepts the same data as the search box on the Alert Search page.
For more information on the query syntax see https://developer.carbonblack.com/resources/query_overview.pdf.
If provided, other search filters are not allowed.
False
Filter alerts by statusFalse
Filter alerts by feed nameFalse
Maximum Number Of Incidents To FetchFalse
First fetch timestamp (<number> <time unit>, e.g., 12 hours, 7 days)False
Trust any certificate (not secure)False
Use system proxy settingsFalse

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-edr-processes-search#


Process search

Base Command#

cb-edr-processes-search

Input#

Argument NameDescriptionRequired
process_nameThe name of the process.Optional
groupThe CB Host group this sensor is assigned to.Optional
hostnameThe hostname of the computer for this process.Optional
parent_nameThe parent process name.Optional
process_pathThe process path.Optional
md5The md5 of the binary image backing the process.Optional
queryAdvanced query string. Accepts the same data as the search box on the Process Search page. For more information on the query syntax see https://developer.carbonblack.com/resources/query_overview.pdf. If not provided, at least one other search field must be provided.Optional
group_bygroup by a field name. For example, if parameter group=id, search will return one result per process. Note that results will still honor sorting specified by the search. Even within group, it will return result that is first in the sort order. Grouping will be slower (sometimes much slower) than regular results.Optional
sortSort rows by this field and order. last_update desc by default.Optional
facetReturn facet results. ‘false’ by default, set to ‘true’ for facets. Possible values are: true, false.Optional
facet_fieldfacet field name to return. Multiple facet.field parameters can be specified in a query. Possible values are: process_md5, hostname, group, path_full, parent_name, process_name, host_type, hour_of_day, day_of_week, start, username_full.Optional
limitReturn this many rows, 10 by default.Optional
startStart at this row, 0 by default.Optional

Context Output#

PathTypeDescription
CarbonBlackEDR.ProcessSearch.TermsStringA list of strings, each representing a token as parsed by the query parser.
CarbonBlackEDR.ProcessSearch.Results.process_md5StringThe md5 of the binary image backing the process.
CarbonBlackEDR.ProcessSearch.Results.sensor_idNumberThe internal CB id for the sensor on which the process executed.
CarbonBlackEDR.ProcessSearch.Results.filtering_known_dllsBooleanWhether known dlls are filtered.
CarbonBlackEDR.ProcessSearch.Results.modload_countNumberThe count of modules loaded in this process.
CarbonBlackEDR.ProcessSearch.Results.parent_unique_idStringInternal CB process id of the process's parent.
CarbonBlackEDR.ProcessSearch.Results.emet_countNumberNumber of EMET associated with the event.
CarbonBlackEDR.ProcessSearch.Results.cmdlineStringThe command line of the process.
CarbonBlackEDR.ProcessSearch.Results.filemod_countNumberThe count of file modifications in this process.
CarbonBlackEDR.ProcessSearch.Results.idStringThe internal CB process id for this process (processes are identified by this id and their segment id).
CarbonBlackEDR.ProcessSearch.Results.parent_nameStringThe name of the process's parent.
CarbonBlackEDR.ProcessSearch.Results.parent_md5StringThe md5 of the process's parent.
CarbonBlackEDR.ProcessSearch.Results.groupStringThe CB Host group this sensor is assigned to.
CarbonBlackEDR.ProcessSearch.Results.parent_idStringThe id of the process's parent.
CarbonBlackEDR.ProcessSearch.Results.hostnameStringThe hostname of the computer for this process.
CarbonBlackEDR.ProcessSearch.Results.last_updateDateThe time of the most recently received event for this process in remote computer GMT time.
CarbonBlackEDR.ProcessSearch.Results.startDateThe start time of the process in remote computer GMT time.
CarbonBlackEDR.ProcessSearch.Results.comms_ipStringIP address that the Cb server received the events on. If the endpoint is behind a NAT,
for example, this will be the external IP of the network the endpoint lives on.
CarbonBlackEDR.ProcessSearch.Results.regmod_countNumberThe count of registry modifications in this process.
CarbonBlackEDR.ProcessSearch.Results.interface_ipNumberThe IP address of the network interface(s) on the endpoint that generated the message.
CarbonBlackEDR.ProcessSearch.Results.process_pidNumberThe pid of the process.
CarbonBlackEDR.ProcessSearch.Results.usernameStringThe user assosicated with the process.
CarbonBlackEDR.ProcessSearch.Results.terminatedBooleanWhether the process is terminated.
CarbonBlackEDR.ProcessSearch.Results.process_nameStringThe name of the process.
CarbonBlackEDR.ProcessSearch.Results.emet_configStringThe configuration of the EMET.
CarbonBlackEDR.ProcessSearch.Results.last_server_updateDateWhen the process was last updated in the server.
CarbonBlackEDR.ProcessSearch.Results.pathStringThe full path of the executable backing this process, e.g., c:\windows\system32\svchost.exe.
CarbonBlackEDR.ProcessSearch.Results.netconn_countNumberThe count of network connections in this process.
CarbonBlackEDR.ProcessSearch.Results.parent_pidNumberThe pid of the process's parent.
CarbonBlackEDR.ProcessSearch.Results.crossproc_countNumberThe count of cross process events launched by this process.
CarbonBlackEDR.ProcessSearch.Results.segment_idStringThe process segment id (processes are identified by this segment id and their id)
CarbonBlackEDR.ProcessSearch.Results.watchlists.segments_hitStringNumber of segment hits associated with the watchlist.
CarbonBlackEDR.ProcessSearch.Results.watchlists.widStringThe id of the watchlist associated with the process.
CarbonBlackEDR.ProcessSearch.Results.watchlists.valueStringThe value of the watchlist associated with the process.
CarbonBlackEDR.ProcessSearch.Results.host_typeStringThe type of the process's host.
CarbonBlackEDR.ProcessSearch.Results.processblock_countNumberThe number of processblock associated with the process.
CarbonBlackEDR.ProcessSearch.Results.os_typeStringThe operating system type of the computer for this process; one of windows, linux, osx.
CarbonBlackEDR.ProcessSearch.Results.childproc_countNumberThe count of child processes launched by this process.
CarbonBlackEDR.ProcessSearch.Results.unique_idStringAn internal CB process id combining of the process id and segment id.

Command Example#

!cb-edr-processes-search process_name=chrome.exe limit=2

Context Example#

{
"CarbonBlackEDR": {
"ProcessSearch": {
"Results": [
{
"childproc_count": 0,
"cmdline": "(unknown)",
"comms_ip": 314169177,
"crossproc_count": 0,
"emet_config": "",
"emet_count": 0,
"filemod_count": 10,
"filtering_known_dlls": false,
"group": "default group",
"host_type": "server",
"hostname": "ec2amaz-l4c2okc",
"id": "00000018-0000-164c-01d5-9ed472b33472",
"interface_ip": -1407250960,
"last_server_update": "2021-05-26T13:00:03.651Z",
"last_update": "2021-05-26T12:51:30.227Z",
"modload_count": 0,
"netconn_count": 0,
"os_type": "windows",
"parent_id": "00000018-ffff-ffff-0000-000000000000",
"parent_md5": "000000000000000000000000000000",
"parent_name": "(unknown)",
"parent_pid": -1,
"parent_unique_id": "00000018-ffff-ffff-0000-000000000000-000000000001",
"path": "c:\\program files (x86)\\google\\chrome\\application\\chrome.exe",
"process_md5": "8698e468bc379e30383a72ce63da7972",
"process_name": "chrome.exe",
"process_pid": 5708,
"processblock_count": 0,
"regmod_count": 0,
"segment_id": 1622034003651,
"sensor_id": 24,
"start": "2019-11-19T12:25:37.19Z",
"terminated": false,
"unique_id": "00000018-0000-164c-01d5-9ed472b33472-0179a8c2b6c3",
"username": "EC2AMAZ-L4C2OKC\\Administrator",
"watchlists": [
{
"segments_hit": [
1622033757062
],
"value": "2021-05-26T13:00:03.333Z",
"wid": "1870"
}
]
},
{
"childproc_count": 0,
"cmdline": "(unknown)",
"comms_ip": 314169177,
"crossproc_count": 0,
"emet_config": "",
"emet_count": 0,
"filemod_count": 10,
"filtering_known_dlls": false,
"group": "default group",
"host_type": "server",
"hostname": "ec2amaz-l4c2okc",
"id": "00000018-0000-164c-01d5-9ed472b33472",
"interface_ip": -1407250960,
"last_server_update": "2021-05-26T13:25:57.176Z",
"last_update": "2021-05-26T13:21:30.216Z",
"modload_count": 0,
"netconn_count": 0,
"os_type": "windows",
"parent_id": "00000018-ffff-ffff-0000-000000000000",
"parent_md5": "000000000000000000000000000000",
"parent_name": "(unknown)",
"parent_pid": -1,
"parent_unique_id": "00000018-ffff-ffff-0000-000000000000-000000000001",
"path": "c:\\program files (x86)\\google\\chrome\\application\\chrome.exe",
"process_md5": "8698e468bc379e30383a72ce63da7972",
"process_name": "chrome.exe",
"process_pid": 5708,
"processblock_count": 0,
"regmod_count": 0,
"segment_id": 1622035557173,
"sensor_id": 24,
"start": "2019-11-19T12:25:37.19Z",
"terminated": false,
"unique_id": "00000018-0000-164c-01d5-9ed472b33472-0179a8da6b35",
"username": "EC2AMAZ-L4C2OKC\\Administrator"
}
],
"Terms": [
"process_name:chrome.exe"
],
"total_results": 3379
}
}
}

Human Readable Output#

Carbon Black EDR - Process Search Results####

Showing 0 - 2 out of 3379 results. |Process Path|Process ID|Segment ID|Process md5|Process Name|Hostname|Process PID|Username|Last Update|Is Terminated| |---|---|---|---|---|---|---|---|---|---| | c:\program files (x86)\google\chrome\application\chrome.exe | 00000018-0000-164c-01d5-9ed472b33472 | 1622034003651 | 8698e468bc379e30383a72ce63da7972 | chrome.exe | ec2amaz-l4c2okc | 5708 | EC2AMAZ-L4C2OKC\Administrator | 2021-05-26T12:51:30.227Z | false | | c:\program files (x86)\google\chrome\application\chrome.exe | 00000018-0000-164c-01d5-9ed472b33472 | 1622035557173 | 8698e468bc379e30383a72ce63da7972 | chrome.exe | ec2amaz-l4c2okc | 5708 | EC2AMAZ-L4C2OKC\Administrator | 2021-05-26T13:21:30.216Z | false |

cb-edr-process-get#


Gets basic process information for segment of process.

Base Command#

cb-edr-process-get

Input#

Argument NameDescriptionRequired
process_idThe internal CB process id; this is the id field in search results.Required
segment_idThe process segment id, the segment_id field in search results.Required
get_relatedWhether to get sibling data for process. Possible values are: true, false. Default is false.Optional

Context Output#

PathTypeDescription
CarbonBlackEDR.Process.process.process_md5StringThe md5 of the binary image backing the process.
CarbonBlackEDR.Process.process.sensor_idNumberThe internal CB id for the sensor on which the process executed.
CarbonBlackEDR.Process.process.uidStringThe uid of the process.
CarbonBlackEDR.Process.process.filtering_known_dllsBooleanWhether known dlls are filtered.
CarbonBlackEDR.Process.process.modload_countNumberThe count of modules loaded in this process.
CarbonBlackEDR.Process.process.parent_unique_idStringInternal CB process id of the process's parent.
CarbonBlackEDR.Process.process.cmdlineStringThe command line of the process.
CarbonBlackEDR.Process.process.max_last_updateDateThe maximum last update of the process.
CarbonBlackEDR.Process.process.min_last_updateDateThe minimum last update of the process.
CarbonBlackEDR.Process.process.last_updateDateThe time of the most recently received event for this process in remote computer GMT time.
CarbonBlackEDR.Process.process.idStringThe id of the process.
CarbonBlackEDR.Process.process.terminatedBooleanWhether the process is terminated.
CarbonBlackEDR.Process.process.crossproc_countNumberThe count of cross process events launched by this process.
CarbonBlackEDR.Process.process.groupStringThe CB Host group this sensor is assigned to.
CarbonBlackEDR.Process.process.max_last_server_updateDateWhen the process was last updated in the server.
CarbonBlackEDR.Process.process.parent_idStringThe id of the process's parent.
CarbonBlackEDR.Process.process.hostnameStringThe hostname of the computer for this process.
CarbonBlackEDR.Process.process.filemod_countNumberThe count of file modifications in this process.
CarbonBlackEDR.Process.process.startDateThe start time of the process in remote computer GMT time.
CarbonBlackEDR.Process.process.comms_ipStringIP address that the Cb server received the events on. If the endpoint is behind a NAT,
for example, this will be the external IP of the network the endpoint lives on.
CarbonBlackEDR.Process.process.regmod_countNumberThe count of registry modifications in this process.
CarbonBlackEDR.Process.process.interface_ipNumberThe IP address of the network interface(s) on the endpoint that generated the message.
CarbonBlackEDR.Process.process.process_pidNumberThe pid of the process.
CarbonBlackEDR.Process.process.usernameStringThe user assosicated with the process.
CarbonBlackEDR.Process.process.process_nameStringThe name of the process.
CarbonBlackEDR.Process.process.emet_countNumberNumber of EMET associated with the process.
CarbonBlackEDR.Process.process.last_server_updateDateWhen the process was last updated in the server.
CarbonBlackEDR.Process.process.pathStringThe full path of the executable backing this process, e.g., c:\windows\system32\svchost.exe.
CarbonBlackEDR.Process.process.netconn_countNumberThe count of network connections in this process.
CarbonBlackEDR.Process.process.parent_pidNumberThe pid of the process's parent.
CarbonBlackEDR.Process.process.segment_idDateThe process segment id (processes are identified by this segment id and their id)
CarbonBlackEDR.Process.process.min_last_server_updateDateWhen the process was last updated in the server.
CarbonBlackEDR.Process.process.host_typeStringThe Type of the process's host.
CarbonBlackEDR.Process.process.processblock_countNumberThe number of processblock associated with the process.
CarbonBlackEDR.Process.process.os_typeStringThe operating system type of the computer for this process; one of windows, linux, osx.
CarbonBlackEDR.Process.process.childproc_countNumberThe count of child processes launched by this process.
CarbonBlackEDR.Process.process.unique_idStringAn internal CB process id combining of the process id and segment id
CarbonBlackEDR.Process.siblings.process_md5StringThe md5 of the binary image backing the sibling process.
CarbonBlackEDR.Process.siblings.sensor_idNumberThe internal CB id for the sensor on which the sibling process executed.
CarbonBlackEDR.Process.siblings.uidStringThe uid of the sibling process.
CarbonBlackEDR.Process.siblings.parent_unique_idStringInternal CB process id of the sibling process's parent.
CarbonBlackEDR.Process.siblings.cmdlineStringThe command line of the sibling process
CarbonBlackEDR.Process.siblings.idStringThe id of the process.
CarbonBlackEDR.Process.siblings.terminatedBooleanWhether the sibling process is terminated.
CarbonBlackEDR.Process.siblings.groupStringThe CB Host group this sensor is assigned to.
CarbonBlackEDR.Process.siblings.parent_idStringThe id of the sibling process's parent.
CarbonBlackEDR.Process.siblings.hostnameStringThe hostname of the computer for the sibling process.
CarbonBlackEDR.Process.siblings.last_updateDateThe time of the most recently received event for the sibling process in remote computer GMT time.
CarbonBlackEDR.Process.siblings.startDateThe start time of the sibling process in remote computer GMT time.
CarbonBlackEDR.Process.siblings.process_pidNumberThe pid of the sibling process.
CarbonBlackEDR.Process.siblings.usernameStringThe user assosicated with the process.
CarbonBlackEDR.Process.siblings.process_nameStringThe name of the sibling process.
CarbonBlackEDR.Process.siblings.pathStringThe path of the sibling process.
CarbonBlackEDR.Process.siblings.parent_pidNumberThe pid of the sibling process's parent.
CarbonBlackEDR.Process.siblings.segment_idDateThe sibling process segment id (processes are identified by this segment id and their id)
CarbonBlackEDR.Process.siblings.host_typeStringThe type of the host associated with the process.
CarbonBlackEDR.Process.siblings.os_typeStringThe operating system type of the computer for the sibling process; one of windows, linux, osx.
CarbonBlackEDR.Process.siblings.child_proc_typeStringThe type of the child process associated with the process.
CarbonBlackEDR.Process.siblings.unique_idStringAn internal CB process id combining of the sibling process id and segment id
CarbonBlackEDR.Process.children.process_md5StringThe md5 of the binary image backing the children process.
CarbonBlackEDR.Process.children.sensor_idNumberThe internal CB id for the sensor on which the children process executed.
CarbonBlackEDR.Process.children.uidStringThe uid of the child process.
CarbonBlackEDR.Process.children.parent_unique_idStringInternal CB process id of the child process's parent.
CarbonBlackEDR.Process.children.cmdlineStringThe command line of the child process
CarbonBlackEDR.Process.children.idStringThe id of the process.
CarbonBlackEDR.Process.children.terminatedBooleanWhether the process is terminated.
CarbonBlackEDR.Process.children.groupStringThe CB Host group this sensor is assigned to.
CarbonBlackEDR.Process.children.parent_idStringThe id of the child process's parent.
CarbonBlackEDR.Process.children.hostnameStringThe hostname of the computer for the child process.
CarbonBlackEDR.Process.children.last_updateDateThe time of the most recently received event for the child process in remote computer GMT time.
CarbonBlackEDR.Process.children.startDateThe start time of the child process in remote computer GMT time.
CarbonBlackEDR.Process.children.process_pidNumberThe pid of the child process.
CarbonBlackEDR.Process.children.usernameStringThe user assosicated with the process.
CarbonBlackEDR.Process.children.process_nameStringThe name of the child process.
CarbonBlackEDR.Process.children.pathStringThe path of the child process.
CarbonBlackEDR.Process.children.parent_pidNumberThe pid of the child process's parent.
CarbonBlackEDR.Process.children.segment_idDateThe child process segment id (processes are identified by this segment id and their id)
CarbonBlackEDR.Process.children.host_typeStringThe host type of the children process.
CarbonBlackEDR.Process.children.os_typeStringThe operating system type of the computer for the child process; one of windows, linux, osx.
CarbonBlackEDR.Process.children.child_proc_typeStringThe type of the host associated with the process.
CarbonBlackEDR.Process.children.unique_idStringAn internal CB process id combining of the child process id and segment id

Command Example#

!cb-edr-process-get get_related=true process_id="00000018-0000-164c-01d5-9ed472b33472" segment_id=1622034003651

Context Example#

{
"CarbonBlackEDR": {
"Process": {
"children": [
{
"child_proc_type": "exec",
"cmdline": "",
"group": "default group",
"host_type": "server",
"hostname": "ec2amaz-l4c2okc",
"id": "00000018-0000-040c-01d5-c6881466ccfd",
"last_update": "2021-05-21T05:02:07.44Z",
"os_type": "windows",
"parent_id": "00000018-0000-164c-01d5-9ed472b33472",
"parent_pid": 5708,
"parent_unique_id": "00000018-0000-164c-01d5-9ed472b33472-000000000001",
"path": "c:\\program files (x86)\\google\\chrome\\application\\chrome.exe",
"process_md5": "8698e468bc379e30383a72ce63da7972",
"process_name": "chrome.exe",
"process_pid": 1036,
"segment_id": 1621573543800,
"sensor_id": 24,
"start": "2020-01-09T00:59:43.743Z",
"terminated": false,
"uid": "S-1-5-21-2523591321-1041074104-504789541-500",
"unique_id": "00000018-0000-040c-01d5-c6881466ccfd-01798d50a778",
"username": "EC2AMAZ-L4C2OKC\\Administrator"
},
{
"child_proc_type": "exec",
"cmdline": "",
"group": "default group",
"host_type": "server",
"hostname": "ec2amaz-l4c2okc",
"id": "00000018-0000-083c-01d5-9ed472f57ab4",
"last_update": "2021-05-21T05:02:07.222Z",
"os_type": "windows",
"parent_id": "00000018-0000-164c-01d5-9ed472b33472",
"parent_pid": 5708,
"parent_unique_id": "00000018-0000-164c-01d5-9ed472b33472-000000000001",
"path": "c:\\program files (x86)\\google\\chrome\\application\\chrome.exe",
"process_md5": "8698e468bc379e30383a72ce63da7972",
"process_name": "chrome.exe",
"process_pid": 2108,
"segment_id": 1621573543800,
"sensor_id": 24,
"start": "2019-11-19T12:25:37.624Z",
"terminated": false,
"uid": "S-1-5-21-2523591321-1041074104-504789541-500",
"unique_id": "00000018-0000-083c-01d5-9ed472f57ab4-01798d50a778",
"username": "EC2AMAZ-L4C2OKC\\Administrator"
}
],
"parent": {},
"process": {
"childproc_count": 0,
"cmdline": "",
"comms_ip": 314169177,
"crossproc_count": 0,
"emet_count": 0,
"filemod_count": 10,
"filtering_known_dlls": false,
"group": "default group",
"host_type": "server",
"hostname": "ec2amaz-l4c2okc",
"id": "00000018-0000-164c-01d5-9ed472b33472",
"interface_ip": -1407250960,
"last_server_update": "2021-05-26T13:00:03.651Z",
"last_update": "2021-05-26T12:51:30.227Z",
"max_last_server_update": "2021-05-26T13:00:03.651Z",
"max_last_update": "2021-05-26T12:51:30.227Z",
"min_last_server_update": "2021-05-26T13:00:03.651Z",
"min_last_update": "2021-05-26T12:51:30.227Z",
"modload_count": 0,
"netconn_count": 0,
"os_type": "windows",
"parent_id": "00000018-ffff-ffff-0000-000000000000",
"parent_pid": -1,
"parent_unique_id": "00000018-ffff-ffff-0000-000000000000-000000000001",
"path": "c:\\program files (x86)\\google\\chrome\\application\\chrome.exe",
"process_md5": "8698e468bc379e30383a72ce63da7972",
"process_name": "chrome.exe",
"process_pid": 5708,
"processblock_count": 0,
"ref_segment_id": [
1622033757062
],
"regmod_count": 0,
"segment_id": 1622034003651,
"sensor_id": 24,
"start": "2019-11-19T12:25:37.19Z",
"terminated": false,
"unique_id": "00000018-0000-164c-01d5-9ed472b33472-0179a8c2b6c3",
"username": "EC2AMAZ-L4C2OKC\\Administrator"
},
"siblings": [
{
"child_proc_type": "exec",
"cmdline": "",
"group": "default group",
"host_type": "server",
"hostname": "ec2amaz-l4c2okc",
"id": "00000018-0000-019c-01d7-61cc9c8a9b67",
"last_update": "2021-06-15T13:06:08.907Z",
"os_type": "windows",
"parent_id": "00000018-ffff-ffff-0000-000000000000",
"parent_pid": -1,
"parent_unique_id": "00000018-ffff-ffff-0000-000000000000-000000000001",
"process_pid": 412,
"segment_id": 1623762407950,
"sensor_id": 24,
"start": "2021-06-15T09:55:45.827Z",
"terminated": false,
"unique_id": "00000018-0000-019c-01d7-61cc9c8a9b67-017a0fc8120e",
"username": ""
},
{
"child_proc_type": "exec",
"cmdline": "",
"group": "default group",
"host_type": "server",
"hostname": "ec2amaz-l4c2okc",
"id": "00000018-0000-0228-01d5-9ed00a25b248",
"last_update": "2021-05-21T05:02:03.425Z",
"os_type": "windows",
"parent_id": "00000018-ffff-ffff-0000-000000000000",
"parent_pid": -1,
"parent_unique_id": "00000018-ffff-ffff-0000-000000000000-000000000001",
"path": "c:\\windows\\system32\\winlogon.exe",
"process_md5": "e2908e2ded4c0dd15e81eef9087329d2",
"process_name": "winlogon.exe",
"process_pid": 552,
"segment_id": 1621573543800,
"sensor_id": 24,
"start": "2019-11-19T11:54:03.792Z",
"terminated": false,
"uid": "S-1-5-18",
"unique_id": "00000018-0000-0228-01d5-9ed00a25b248-01798d50a778",
"username": "SYSTEM"
}
]
}
}
}

Human Readable Output#

Carbon Black EDR - Process#

HostnameIs TerminatedLast UpdateProcess IDProcess NameProcess PIDProcess PathProcess md5Segment IDUsername
ec2amaz-l4c2okcfalse2021-05-26T12:51:30.227Z00000018-0000-164c-01d5-9ed472b33472chrome.exe5708c:\program files (x86)\google\chrome\application\chrome.exe8698e468bc379e30383a72ce63da79721622034003651EC2AMAZ-L4C2OKC\Administrator

cb-edr-process-segments-get#


Gets segment data for a given process.

Base Command#

cb-edr-process-segments-get

Input#

Argument NameDescriptionRequired
process_idThe internal CB process id; this is the id field in search results.Required
limitThe maximum amount of segments to be returned. Default is 50.Optional

Context Output#

PathTypeDescription
CarbonBlackEDR.ProcessSegments.last_server_updateDateThe last date/time when the server pushed events into this segment.
CarbonBlackEDR.ProcessSegments.event_counts.filemodNumberThe number of events for filemod event type stored in this segment.
CarbonBlackEDR.ProcessSegments.event_counts.netconnNumberThe number of events for netconn event type stored in this segment.
CarbonBlackEDR.ProcessSegments.event_counts.crossprocNumberThe number of events for crossproc event type stored in this segment.
CarbonBlackEDR.ProcessSegments.unique_idStringThe full process ID + segment number associated with this event segment.
CarbonBlackEDR.ProcessSegments.last_updateDateThe last event (represented in sensor date/time) stored in this segment.

Command Example#

!cb-edr-process-segments-get process_id="00000018-0000-164c-01d5-9ed472b33472" limit=2

Context Example#

{
"CarbonBlackEDR": {
"ProcessSegments": [
{
"event_counts": {
"filemod": 10
},
"last_server_update": "2021-05-20T12:55:42.042Z",
"last_update": "2021-05-20T12:51:27.7Z",
"unique_id": "00000018-0000-164c-01d5-9ed472b33472-017989d890d7"
},
{
"event_counts": {},
"last_server_update": "2021-05-20T13:00:03.484Z",
"last_update": "2021-05-20T12:51:27.7Z",
"unique_id": "00000018-0000-164c-01d5-9ed472b33472-017989dc8e17"
}
]
}
}

Human Readable Output#

[ { "event_counts": { "filemod": 10 }, "last_server_update": "2021-05-20T12:55:42.042Z", "last_update": "2021-05-20T12:51:27.7Z", "unique_id": "00000018-0000-164c-01d5-9ed472b33472-017989d890d7" }, { "event_counts": {}, "last_server_update": "2021-05-20T13:00:03.484Z", "last_update": "2021-05-20T12:51:27.7Z", "unique_id": "00000018-0000-164c-01d5-9ed472b33472-017989dc8e17" } ]

cb-edr-sensor-installer-download#


Download a zip archive including a sensor installer for Windows, Mac OS X or Linux.

Base Command#

cb-edr-sensor-installer-download

Input#

Argument NameDescriptionRequired
os_typeDownload a zip archive including a sensor installer for Windows, Mac OS X or Linux.

For Windows- A ZIP archive which includes a signed Windows EXE or MSI sensor installer and settings file
For Mac OS X- A ZIP archive which includes a signed OSX PKG sensor installer and settings file
For Linux- A compressed tarball (tar.gz) archive which includes a Linux sensor installer and settings file. Possible values are: windows_exe, windows_msi, osx, linux.
Required
group_idAn ID of a group related to sensors.Required

Context Output#

There is no context output for this command.

Command Example#

Human Readable Output#

cb-edr-process-events-list#


Gets the events for the process with CB process id (process_id) and segment id (segment_id).

Base Command#

cb-edr-process-events-list

Input#

Argument NameDescriptionRequired
process_idThe internal CB process id; this is the id field in search results.Required
segment_idThe process segment id. This is the segment_id field in search results.
If this is set to 0, the API will merge all segments in results.
Required
startReturn events starting with this offset.
If not provided, offset will be 0 (returns events starting from the beginning).
Optional
countHow many events to fetch.Optional

Context Output#

PathTypeDescription
CarbonBlackEDR.Events.process_md5StringThe MD5 of the executable backing this process.
CarbonBlackEDR.Events.sensor_idNumberThe sensor id of the host this process executed on.
CarbonBlackEDR.Events.uidStringThe uid of the event.
CarbonBlackEDR.Events.filtering_known_dllsBooleanWhether known dlls are filtered.
CarbonBlackEDR.Events.modload_countNumberThe count of modules loaded in this process.
CarbonBlackEDR.Events.parent_unique_idStringThe id of the parent process.
CarbonBlackEDR.Events.cmdlineStringThe command line of the process.
CarbonBlackEDR.Events.max_last_updateDateThe time of last update.
CarbonBlackEDR.Events.min_last_updateDateThe time of last update.
CarbonBlackEDR.Events.last_updateDateThe time of the last event received from this process, as recorded by the remote host.
CarbonBlackEDR.Events.idStringThe internal CB process id of this process.
CarbonBlackEDR.Events.terminatedBooleanWhether the event is terminated.
CarbonBlackEDR.Events.crossproc_countNumberThe count of cross process events launched by this process.
CarbonBlackEDR.Events.groupStringThe sensor group the sensor was assigned to.
CarbonBlackEDR.Events.max_last_server_updateDateTime of server last update.
CarbonBlackEDR.Events.parent_idStringThe Carbon Black process id of the parent process.
CarbonBlackEDR.Events.hostnameStringThe hostname of the computer this process executed on.
CarbonBlackEDR.Events.filemod_countNumberThe count of file modifications in this process.
CarbonBlackEDR.Events.startDateThe start time of this process, as recorded by the remote host.
CarbonBlackEDR.Events.comms_ipNumberIP address that the Cb server received the events on. If the endpoint is behind a NAT,
for example, this will be the external IP of the network the endpoint lives on.
CarbonBlackEDR.Events.regmod_countNumberThe count of registry modifications in this process.
CarbonBlackEDR.Events.interface_ipNumberThe IP address of the network interface(s) on the endpoint that generated the message.
CarbonBlackEDR.Events.process_pidNumberThe pid of the process.
CarbonBlackEDR.Events.usernameStringThe user assosicated with the event.
CarbonBlackEDR.Events.process_nameStringThe name of this process, e.g., svchost.exe.
CarbonBlackEDR.Events.emet_countNumberNumber of EMET associated with the event.
CarbonBlackEDR.Events.last_server_updateDateWhen the event was last updated in the server.
CarbonBlackEDR.Events.pathStringThe full path of the executable backing this process, e.g., c:\windows\system32\svchost.exe .
CarbonBlackEDR.Events.netconn_countNumberThe count of network connections in this process.
CarbonBlackEDR.Events.parent_pidNumberThe pid of the process's parent.
CarbonBlackEDR.Events.segment_idDateThe segment id of this process.
CarbonBlackEDR.Events.min_last_server_updateDateWhen the event was last updated in the server.
CarbonBlackEDR.Events.host_typeStringThe host type associated with the event.
CarbonBlackEDR.Events.processblock_countNumberThe number of processblock associated with the process.
CarbonBlackEDR.Events.filemod_complete.operation_typeStringThe operation type.
One of Created the file, First wrote to the file, Deleted the file, Last wrote to the file.
CarbonBlackEDR.Events.filemod_complete.event_timeDateThe event time.
CarbonBlackEDR.Events.filemod_complete.file_pathStringThe file path.
CarbonBlackEDR.Events.filemod_complete.md5_after_last_writeStringThe md5 of the file after the last write.
CarbonBlackEDR.Events.filemod_complete.file_typeStringThe file type, if known. One of: PE, Elf, UniversalBin, EICAR, OfficeLegacy, OfficeOpenXml,
Pdf, ArchivePkzip, ArchiveLzh, ArchiveLzw, ArchiveRar, ArchiveTar, Archive7zip.
CarbonBlackEDR.Events.filemod_complete.flagged_as_potential_tamper_attemptStringWhether event is flagged as potential tamper attempt.
CarbonBlackEDR.Events.modload_complete.event_timeDateThe event time.
CarbonBlackEDR.Events.modload_complete.loaded_module_md5StringMD5 of the loaded module.
CarbonBlackEDR.Events.modload_complete.loaded_module_full_pathStringFull path of the loaded module.
CarbonBlackEDR.Events.regmod_complete.operation_typeStringThe operation type.
One of Created the file, First wrote to the file, Deleted the file, Last wrote to the file.
CarbonBlackEDR.Events.regmod_complete.event_timeDateThe event time.
CarbonBlackEDR.Events.regmod_complete.registry_key_pathStringThe registry key path.
CarbonBlackEDR.Events.crossproc_complete.cross-process_access_typeStringThe type of cross-process access:
RemoteThread if remote thread creation; ProcessOpen if process handle open with access privileges.
CarbonBlackEDR.Events.crossproc_complete.event_timeDateThe event time.
CarbonBlackEDR.Events.crossproc_complete.targeted_process_unique_idStringThe unique_id of the targeted process.
CarbonBlackEDR.Events.crossproc_complete.targeted_process_md5StringThe md5 of the targeted process.
CarbonBlackEDR.Events.crossproc_complete.targeted_process_pathStringThe path of the targeted process.
CarbonBlackEDR.Events.crossproc_complete.ProcessOpen_sub-typeStringThe sub-type for ProcessOpen.
CarbonBlackEDR.Events.crossproc_complete.requested_access_priviledgesStringThe requested access priviledges.
CarbonBlackEDR.Events.crossproc_complete.flagged_as_potential_tamper_attemptStringWhether event is flagged as potential tamper attempt.
CarbonBlackEDR.Events.os_typeStringThe operating system type of the computer for this process.
CarbonBlackEDR.Events.binariesStringThe binaries associated with the event.
CarbonBlackEDR.Events.childproc_countNumberThe count of child processes launched by this process.
CarbonBlackEDR.Events.unique_idStringThe unique_id of the Event.

Command Example#

!cb-edr-process-events-list process_id="00000018-0000-164c-01d5-9ed472b33472" segment_id=1622034003651 count=2

Context Example#

{
"CarbonBlackEDR": {
"Events": {
"binaries": {
"8698E468BC379E30383A72CE63DA7972": {
"digsig_publisher": "Google LLC",
"digsig_result": "Signed"
}
},
"childproc_count": 0,
"cmdline": "",
"comms_ip": 314169177,
"crossproc_count": 0,
"emet_count": 0,
"filemod_count": 10,
"filtering_known_dlls": false,
"group": "default group",
"host_type": "server",
"hostname": "ec2amaz-l4c2okc",
"id": "00000018-0000-164c-01d5-9ed472b33472",
"interface_ip": -1407250960,
"last_server_update": "2021-05-26T13:00:03.651Z",
"last_update": "2021-05-26T12:51:30.227Z",
"max_last_server_update": "2021-05-26T13:00:03.651Z",
"max_last_update": "2021-05-26T12:51:30.227Z",
"min_last_server_update": "2021-05-26T13:00:03.651Z",
"min_last_update": "2021-05-26T12:51:30.227Z",
"modload_count": 0,
"netconn_count": 0,
"os_type": "windows",
"parent_id": "00000018-ffff-ffff-0000-000000000000",
"parent_pid": -1,
"parent_unique_id": "00000018-ffff-ffff-0000-000000000000-000000000001",
"path": "c:\\program files (x86)\\google\\chrome\\application\\chrome.exe",
"process_md5": "8698e468bc379e30383a72ce63da7972",
"process_name": "chrome.exe",
"process_pid": 5708,
"processblock_count": 0,
"ref_segment_id": [
1622033757062
],
"regmod_count": 0,
"segment_id": 1622034003651,
"sensor_id": 24,
"start": "2019-11-19T12:25:37.19Z",
"terminated": false,
"unique_id": "00000018-0000-164c-01d5-9ed472b33472-0179a8c2b6c3",
"username": "EC2AMAZ-L4C2OKC\\Administrator"
}
}
}

Human Readable Output#

{ "binaries": { "8698E468BC379E30383A72CE63DA7972": { "digsig_publisher": "Google LLC", "digsig_result": "Signed" } }, "childproc_count": 0, "cmdline": "", "comms_ip": 314169177, "crossproc_count": 0, "emet_count": 0, "filemod_count": 10, "filtering_known_dlls": false, "group": "default group", "host_type": "server", "hostname": "ec2amaz-l4c2okc", "id": "00000018-0000-164c-01d5-9ed472b33472", "interface_ip": -1407250960, "last_server_update": "2021-05-26T13:00:03.651Z", "last_update": "2021-05-26T12:51:30.227Z", "max_last_server_update": "2021-05-26T13:00:03.651Z", "max_last_update": "2021-05-26T12:51:30.227Z", "min_last_server_update": "2021-05-26T13:00:03.651Z", "min_last_update": "2021-05-26T12:51:30.227Z", "modload_count": 0, "netconn_count": 0, "os_type": "windows", "parent_id": "00000018-ffff-ffff-0000-000000000000", "parent_pid": -1, "parent_unique_id": "00000018-ffff-ffff-0000-000000000000-000000000001", "path": "c:\program files (x86)\google\chrome\application\chrome.exe", "process_md5": "8698e468bc379e30383a72ce63da7972", "process_name": "chrome.exe", "process_pid": 5708, "processblock_count": 0, "ref_segment_id": [ 1622033757062 ], "regmod_count": 0, "segment_id": 1622034003651, "sensor_id": 24, "start": "2019-11-19T12:25:37.19Z", "terminated": false, "unique_id": "00000018-0000-164c-01d5-9ed472b33472-0179a8c2b6c3", "username": "EC2AMAZ-L4C2OKC\Administrator" }

cb-edr-unquarantine-device#


Unquarantine the endpoint

Base Command#

cb-edr-unquarantine-device

Input#

Argument NameDescriptionRequired
sensor_idThe sensor ID to quarantine.Required

Context Output#

There is no context output for this command.

Command Example#

!cb-edr-unquarantine-device sensor_id=15

Human Readable Output#

Sensor was un-isolated successfully.

cb-edr-quarantine-device#


Isolate the endpoint from the network

Base Command#

cb-edr-quarantine-device

Input#

Argument NameDescriptionRequired
sensor_idThe sensor ID to quarantine.Required

Context Output#

There is no context output for this command.

Command Example#

!cb-edr-quarantine-device sensor_id=15

Human Readable Output#

Sensor was isolated successfully.

cb-edr-sensors-list#


List the CarbonBlack sensors

Base Command#

cb-edr-sensors-list

Input#

Argument NameDescriptionRequired
idThe sensor ID.Optional
ipReturns the sensor registration(s) with specified IP address. Possible values are: .Optional
group_idRetruns the sensor registration(s) in the specified sensor group id.Optional
inactive_filter_daysonly returns sensors that have been inactive for less than the specified number of days.Optional
hostnameReturns the sensor registration(s) with matching hostname.Optional
limitThe maximum amount of sensors to be returned.Optional

Context Output#

PathTypeDescription
CarbonBlackEDR.Sensor.systemvolume_total_sizeStringThe size, in bytes, of system volume of endpoint on which sensor in installed.
CarbonBlackEDR.Sensor.emet_telemetry_pathStringThe path of emet telemtry associated with the sensor.
CarbonBlackEDR.Sensor.os_environment_display_stringStringHuman-readable string of the installed OS.
CarbonBlackEDR.Sensor.emet_versionStringThe emet version associated with the sensor.
CarbonBlackEDR.Sensor.emet_dump_flagsStringThe flags of emet dump associated with the sensor.
CarbonBlackEDR.Sensor.clock_deltaStringThe clock delta associated with the sensor.
CarbonBlackEDR.Sensor.supports_cblrBooleanWhether the sensor supports cblr.
CarbonBlackEDR.Sensor.sensor_uptimeStringThe uptime of the process.
CarbonBlackEDR.Sensor.last_updateStringWhen the sensor last updated.
CarbonBlackEDR.Sensor.physical_memory_sizeDateThe size in bytes of physical memory.
CarbonBlackEDR.Sensor.build_idNumberThe sensor version installed on this endpoint. From the /api/builds/ endpoint.
CarbonBlackEDR.Sensor.uptimeStringEndpoint uptime in seconds.
CarbonBlackEDR.Sensor.is_isolatingBooleanBoolean representing sensor-reported isolation status.
CarbonBlackEDR.Sensor.event_log_flush_timeDateIf event_log_flush_time is set, the server will instruct the sensor to immediately send all data before this date, ignoring all other throttling mechansims. To force a host current, set this value to a value far in the future. When the sensor has finished sending its queued data, this value will be null.
CarbonBlackEDR.Sensor.computer_dns_nameStringThe DNS name of the endpoint on which the sensor is installed.
CarbonBlackEDR.Sensor.emet_report_settingStringThe report setting of EMET associated with sensor.
CarbonBlackEDR.Sensor.idNumberThe sensor id of this sensor.
CarbonBlackEDR.Sensor.emet_process_countNumberThe number of EMET processes associated with the sensor.
CarbonBlackEDR.Sensor.emet_is_gpoBooleanWhther the EMET is gpo.
CarbonBlackEDR.Sensor.power_stateNumberThe sensor power state.
CarbonBlackEDR.Sensor.network_isolation_enabledBooleanBoolean representing network isolation request status.
CarbonBlackEDR.Sensor.systemvolume_free_sizeDateThe bytes free on the system volume.
CarbonBlackEDR.Sensor.statusStringThe sensor status.
CarbonBlackEDR.Sensor.num_eventlog_bytesStringNumber bytes of eventlog.
CarbonBlackEDR.Sensor.sensor_health_messageStringHuman-readable string indicating sensor’s self-reported status.
CarbonBlackEDR.Sensor.build_version_stringStringHuman-readable string of the sensor version.
CarbonBlackEDR.Sensor.computer_sidStringMachine SID of this host.
CarbonBlackEDR.Sensor.next_checkin_timeStringNext expected communication from this computer in server-local time and zone.
CarbonBlackEDR.Sensor.node_idNumberThe node ID associated with the sensor.
CarbonBlackEDR.Sensor.cookieNumberThe cookie associated with the sensor.
CarbonBlackEDR.Sensor.emet_exploit_actionStringThe EMET exploit action associated with the sensor.
CarbonBlackEDR.Sensor.computer_nameStringNetBIOS name of this computer.
CarbonBlackEDR.Sensor.license_expirationDateWhen the licene of the sensor expires.
CarbonBlackEDR.Sensor.supports_isolationBooleanWhther sensor supports isolation.
CarbonBlackEDR.Sensor.parity_host_idStringThe ID of the parity host associated with the sensor.
CarbonBlackEDR.Sensor.supports_2nd_gen_modloadsBooleanWhether the sensor support modload of 2nd generation.
CarbonBlackEDR.Sensor.network_adaptersStringA pipe-delimited list list of IP,MAC pairs for each network interface.
CarbonBlackEDR.Sensor.sensor_health_statusNumberself-reported health score, from 0 to 100. Higher numbers are better.
CarbonBlackEDR.Sensor.registration_timeStringTime this sensor originally registered in server-local time and zone.
CarbonBlackEDR.Sensor.restart_queuedBooleanWhether a restart of the sensot is queued.
CarbonBlackEDR.Sensor.notesStringThe notes associated with the sensor.
CarbonBlackEDR.Sensor.num_storefiles_bytesStringNumber of storefiles bytes associated with the sensor.
CarbonBlackEDR.Sensor.os_environment_idNumberThe ID of the os enviroment of the sensor.
CarbonBlackEDR.Sensor.shard_idNumberThe ID of the shard associated with the sensor.
CarbonBlackEDR.Sensor.boot_idStringA sequential counter of boots since the sensor was installed.
CarbonBlackEDR.Sensor.last_checkin_timeStringLast communication with this computer in server-local time and zone.
CarbonBlackEDR.Sensor.os_typeNumberThe operating system type of the computer.
CarbonBlackEDR.Sensor.group_idNumberThe sensor group id this sensor is assigned to.
CarbonBlackEDR.Sensor.displayBooleanDeprecated.
CarbonBlackEDR.Sensor.uninstallBooleanwhen set, indicates sensor will be directed to uninstall on next checkin.

Command Example#

!cb-edr-sensors-list limit=2

Context Example#

{
"CarbonBlackEDR": {
"Sensor": [
{
"boot_id": "5",
"build_id": 2,
"build_version_string": "006.001.002.71109",
"clock_delta": "0",
"computer_dns_name": "WIN-SOSSKVTTQAB",
"computer_name": "WIN-SOSSKVTTQAB",
"computer_sid": "S-1-5-21-3953612773-3739516437-1294407085",
"cookie": 465121924,
"display": true,
"emet_dump_flags": "",
"emet_exploit_action": " (Locally configured)",
"emet_is_gpo": false,
"emet_process_count": 0,
"emet_report_setting": " (Locally configured)",
"emet_telemetry_path": "",
"emet_version": "",
"event_log_flush_time": null,
"group_id": 1,
"id": 15,
"is_isolating": false,
"last_checkin_time": "2021-06-20 13:46:07.891689+00:00",
"last_update": "2021-06-20 13:46:12.614699+00:00",
"license_expiration": "1990-01-01 00:00:00+00:00",
"network_adapters": "x.x.x.x,06d3d4a5ba28|",
"network_isolation_enabled": false,
"next_checkin_time": "2021-06-20 13:46:38.890886+00:00",
"node_id": 0,
"notes": null,
"num_eventlog_bytes": "0",
"num_storefiles_bytes": "0",
"os_environment_display_string": "Windows Server 2012 R2 Server Standard, 64-bit",
"os_environment_id": 1,
"os_type": 1,
"parity_host_id": "0",
"physical_memory_size": "1073332224",
"power_state": 0,
"registration_time": "2018-08-26 13:00:02.811470+00:00",
"restart_queued": false,
"sensor_health_message": "Svc Component Failure",
"sensor_health_status": 20,
"sensor_uptime": "50049182",
"shard_id": 0,
"status": "Online",
"supports_2nd_gen_modloads": false,
"supports_cblr": true,
"supports_isolation": true,
"systemvolume_free_size": "7761645568",
"systemvolume_total_size": "31843151872",
"uninstall": false,
"uninstalled": null,
"uptime": "83808602"
},
{
"boot_id": "1",
"build_id": 2,
"build_version_string": "006.001.002.71109",
"clock_delta": "0",
"computer_dns_name": "EC2AMAZ-L4C2OKC",
"computer_name": "EC2AMAZ-L4C2OKC",
"computer_sid": "S-1-5-21-2523591321-1041074104-504789541",
"cookie": 1176535804,
"display": true,
"emet_dump_flags": "",
"emet_exploit_action": " (Locally configured)",
"emet_is_gpo": false,
"emet_process_count": 0,
"emet_report_setting": " (GPO configured)",
"emet_telemetry_path": "",
"emet_version": "",
"event_log_flush_time": null,
"group_id": 1,
"id": 24,
"is_isolating": false,
"last_checkin_time": "2021-06-20 13:45:57.690995+00:00",
"last_update": "2021-06-20 13:46:02.824545+00:00",
"license_expiration": "1990-01-01 00:00:00+00:00",
"network_adapters": "x.x.x.x,0a02fe5a854e|",
"network_isolation_enabled": false,
"next_checkin_time": "2021-06-20 13:46:26.689805+00:00",
"node_id": 0,
"notes": null,
"num_eventlog_bytes": "0",
"num_storefiles_bytes": "0",
"os_environment_display_string": "Windows 10 Server Server Datacenter, 64-bit",
"os_environment_id": 5,
"os_type": 1,
"parity_host_id": "0",
"physical_memory_size": "4231622656",
"power_state": 0,
"registration_time": "2019-11-19 12:27:21.530043+00:00",
"restart_queued": false,
"sensor_health_message": "Elevated memory usage",
"sensor_health_status": 85,
"sensor_uptime": "42419698",
"shard_id": 0,
"status": "Online",
"supports_2nd_gen_modloads": false,
"supports_cblr": true,
"supports_isolation": true,
"systemvolume_free_size": "71386714112",
"systemvolume_total_size": "107372081152",
"uninstall": false,
"uninstalled": null,
"uptime": "50030889"
}
]
}
}

Human Readable Output#

Carbon Black EDR - Sensors#

Sensor IdComputer NameStatusPower StateGroup IDOS VersionHealth ScoreIs IsolatingNode IdSensor VersionIP Address/MAC Info
15WIN-SOSSKVTTQABOnline01120false0006.001.002.7110906d3d4a5ba28
24EC2AMAZ-L4C2OKCOnline01185false0006.001.002.711090a02fe5a854e

Showing 2 out of 24 results.

cb-edr-watchlist-delete#


Delete a Watchlist that is specified using ID.

Base Command#

cb-edr-watchlist-delete

Input#

Argument NameDescriptionRequired
idDelete a watchlist in Carbon black Response.Required

Context Output#

There is no context output for this command.

Command Example#

!cb-edr-watchlist-delete id=2412

Human Readable Output#

success

cb-edr-watchlist-update#


Updates a Watchlist that is specified using ID.

Base Command#

cb-edr-watchlist-update

Input#

Argument NameDescriptionRequired
idThe watchlist ID.Required
search_queryThe raw Carbon Black query that this watchlist matches.Optional
descriptionA description of the update.Optional
enabledWhether the watchlist is enabled or not.Optional

Context Output#

There is no context output for this command.

Command Example#

!cb-edr-watchlist-update id=2406 description="example description" search_query=chrome.exe

Human Readable Output#

success

cb-edr-watchlist-update-action#


Updates a Watchlist action that is specified using ID.

Base Command#

cb-edr-watchlist-update-action

Input#

Argument NameDescriptionRequired
idThe watchlist ID.Required
action_typeAction type specified for the watchlist. Options are syslog, email and alert.Required
enabledWhether the watchlist is enabled or not.Required

Context Output#

There is no context output for this command.

Command Example#

!cb-edr-watchlist-update id=2406 action_type=alert enabled=True

Human Readable Output#

success

cb-edr-watchlist-create#


Creates a new Watchlist within EDR,

Base Command#

cb-edr-watchlist-create

Input#

Argument NameDescriptionRequired
nameName of the watchlist.Required
search_queryThe raw Carbon Black query that this watchlist matches.Required
descriptionA description of the update.Optional
index_typethe type of watchlist. Valid values are ‘modules’ and ‘events’ for binary and process watchlists, respectively. Deafult is 'events'.Optional

Context Output#

PathTypeDescription
CarbonBlackEDR.Watchlist.idNumberAn ID for the new watchlist

Command Example#

!cb-edr-watchlist-create name=example_name search_query=chrome.exe

Context Example#

{
"CarbonBlackEDR": {
"Watchlist": {
"id": 2414
}
}
}

Human Readable Output#

Successfully created new watchlist with id 2414

cb-edr-watchlists-list#


Retrieve watchlist in Carbon black Response.

Base Command#

cb-edr-watchlists-list

Input#

Argument NameDescriptionRequired
idThe watchlist ID.Optional
limitThe maximum amount of watchlists to be returned.Optional

Context Output#

PathTypeDescription
CarbonBlackEDR.Watchlist.last_hit_countNumberA count of lifetime watchlist matches.
CarbonBlackEDR.Watchlist.descriptionStringA description of the watchlist.
CarbonBlackEDR.Watchlist.search_queryStringThe raw Carbon Black query that this watchlist matches.
CarbonBlackEDR.Watchlist.enabledBooleanWhether the watchlist is enabled.
CarbonBlackEDR.Watchlist.search_timestampDateTime of the search associated with the watchlist.
CarbonBlackEDR.Watchlist.index_typeStringThe type of watchlist.
Valid values are ‘modules’ and ‘events’ for binary and process watchlists, respectively.
CarbonBlackEDR.Watchlist.readonlyBooleanWhether the watchlist is readonly.
CarbonBlackEDR.Watchlist.total_hitsStringThe number of total hits associated with the watchlist.
CarbonBlackEDR.Watchlist.date_addedStringThe date this watchlist was created on this Enterprise Server.
CarbonBlackEDR.Watchlist.group_idNumberThe sensor group id this watchlist is assigned to.
CarbonBlackEDR.Watchlist.total_tagsStringThe number of total tags associated with the watchlist.
CarbonBlackEDR.Watchlist.idStringThe id of this watchlist.
CarbonBlackEDR.Watchlist.last_hitDateA timestamp of the last time this watchlist triggered a match.
CarbonBlackEDR.Watchlist.nameStringThe name of this watchlist.

Command Example#

!cb-edr-watchlists-list limit=2

Context Example#

{
"CarbonBlackEDR": {
"Watchlist": [
{
"date_added": "2019-03-27 13:15:10.858750+00:00",
"description": "updating description for playbook test.",
"enabled": true,
"group_id": -1,
"id": "1870",
"index_type": "events",
"last_hit": "2021-06-03 11:20:04.064133+00:00",
"last_hit_count": 1,
"name": "chrome",
"readonly": false,
"search_query": "chrome.exe",
"search_timestamp": "2021-06-03 11:20:03.732105",
"total_hits": "9071",
"total_tags": "5360"
},
{
"date_added": "2019-06-13 15:09:59.469919+00:00",
"description": "updating description for playbook test.",
"enabled": true,
"group_id": -1,
"id": "2163",
"index_type": "events",
"last_hit": "2021-04-04 11:40:05.832123+00:00",
"last_hit_count": 50,
"name": "Example-ipaddr:x.x.x.x",
"readonly": false,
"search_query": "chrome.exe",
"search_timestamp": "2021-06-03 11:20:03.732105",
"total_hits": "198",
"total_tags": "198"
}
]
}
}

Human Readable Output#

Carbon Black EDR - Watchlists### Showing 2 out of 33 results. |Description|Group ID|ID|Name|Query|Total Hits| |---|---|---|---|---|---| | updating description for playbook test. | -1 | 1870 | chrome | chrome.exe | 9071 | | updating description for playbook test. | -1 | 2163 | David-ipaddr:x.x.x.x | chrome.exe | 198 |

cb-edr-binary-ban#


Prevent execution of a specified md5 hash

Base Command#

cb-edr-binary-ban

Input#

Argument NameDescriptionRequired
md5The banned hash.Required
textText description of block list.Required
last_ban_timeThe last time the hash was blocked or prevented from being executed.Optional
ban_countTotal number of blocks on the banned list.Optional
last_ban_hostLast hostname to block this hash.Optional

Context Output#

There is no context output for this command.

Command Example#

!cb-edr-binary-ban md5=0ea59cf80ef9703b3d92ca6b25426458 text=example

Human Readable Output#

Ban for md5 0ea59cf80ef9703b3d92ca6b25426458 already exists

cb-edr-binary-bans-list#


Returns a list of banned hashes

Base Command#

cb-edr-binary-bans-list

Input#

Argument NameDescriptionRequired
limitThe maximum hashs of result to retrieve.Required

Context Output#

PathTypeDescription
CarbonBlackEDR.BinaryBan.usernameStringThe username who banned the record.
CarbonBlackEDR.BinaryBan.audit.usernameStringThe user assosicated with the binary ban.
CarbonBlackEDR.BinaryBan.audit.timestampDateThe time of the binary ban.
CarbonBlackEDR.BinaryBan.audit.textStringThe text assosicated with the binary ban.
CarbonBlackEDR.BinaryBan.audit.enabledBooleanWhether the binary ban is enabled.
CarbonBlackEDR.BinaryBan.audit.user_idNumberThe user ID assosiated with binary ban.
CarbonBlackEDR.BinaryBan.textStringThe text description of banned record.
CarbonBlackEDR.BinaryBan.md5hashStringThe banned hash.
CarbonBlackEDR.BinaryBan.block_countNumberThe total number of blocks on the banned list.
CarbonBlackEDR.BinaryBan.user_idNumberThe id of the user who banned the record.
CarbonBlackEDR.BinaryBan.last_block_sensor_idStringThe last sensor id which prevented the hash from executing.
CarbonBlackEDR.BinaryBan.enabledBooleanWhether the ban is enabled.
CarbonBlackEDR.BinaryBan.last_block_timeDateThe last time the hash was blocked or prevented from being executed.
CarbonBlackEDR.BinaryBan.timestampStringThe date and time the record was banned.
CarbonBlackEDR.BinaryBan.last_block_hostnameStringThe last hostname to block this hash.

Command Example#

!cb-edr-binary-bans-list limit=2

Context Example#

{
"CarbonBlackEDR": {
"BinaryBan": [
{
"audit": [
{
"enabled": true,
"text": "test",
"timestamp": "2021-06-10 06:25:58.431602+00:00",
"user_id": 1,
"username": "admin"
}
],
"block_count": 0,
"enabled": true,
"last_block_hostname": null,
"last_block_sensor_id": null,
"last_block_time": null,
"md5hash": "0ea59cf80ef9703b3d92ca6b25426456",
"text": "test",
"timestamp": "2021-06-10 06:25:58.431602+00:00",
"user_id": 1,
"username": "admin"
},
{
"audit": [
{
"enabled": true,
"text": "testing",
"timestamp": "2021-05-25 11:41:56.151008+00:00",
"user_id": 1,
"username": "admin"
}
],
"block_count": 0,
"enabled": true,
"last_block_hostname": null,
"last_block_sensor_id": null,
"last_block_time": null,
"md5hash": "0ea59cf80ef9703b3d92ca6b25426458",
"text": "testing",
"timestamp": "2021-05-25 11:41:56.151008+00:00",
"user_id": 1,
"username": "admin"
}
]
}
}

Human Readable Output#

Carbon Black EDR -Banned Hashes#

TextTimestampUser IDUsernamemd5
test2021-06-10 06:25:58.431602+00:001admin0ea59cf80ef9703b3d92ca6b25426456
testing2021-05-25 11:41:56.151008+00:001admin0ea59cf80ef9703b3d92ca6b25426458

cb-edr-alert-update#


Alerts update and resolution. Updating Alerts requires an API key with Global Administrator privileges.

Base Command#

cb-edr-alert-update

Input#

Argument NameDescriptionRequired
alert_idsAlert unique identifier.Required
statusThe requested status to
. Possible values are: Resolved, Unresolved, In Progress, False Positive.
Optional
set_ignoredSetting is_ignored to True for an Alert carries through to the threat report that generated the Alert. Any further hits on IOCs contained within that report will no longer trigger an Alert. Possible values are: true, false.Optional
queryAdvanced query string. Accepts the same data as the search box on the Process Search page. For more information on the query syntax see https://developer.carbonblack.com/resources/query_overview.pdf. If not provided, at least one other search field must be provided.Optional

Context Output#

There is no context output for this command.

Command Example#

!cb-edr-alert-update alert_ids=9f67733c-0632-4c55-bae0-985d9440c207 status=Unresolved

Human Readable Output#

Alert was updated successfully.

cb-edr-alert-search#


Retrieve alerts from Carbon Black Response.

Base Command#

cb-edr-alert-search

Input#

Argument NameDescriptionRequired
statusAlert status to filter by. Possible values are: Unresolved, In Progress, Resolved, False Positive.Optional
usernameAlert username to filter by.Optional
feednameAlert feedname to filter by.Optional
hostnameAlert hostname to filter by.Optional
reportAlert report name (watchlist_id) to filter by.Optional
queryAdvanced query string. Accepts the same data as the search box. For more information on the query syntax see https://developer.carbonblack.com/resources/query_overview.pdf. If not provided, at least one other search field must be provided.Optional
sortSort rows by this field and order. server_added_timestamp desc by default.Optional
facetReturn facet results. 'false' by default, set to 'true' for facets.Optional
limitMaximum number of alerts to show, 10 by default.Optional

Context Output#

PathTypeDescription
CarbonBlackEDR.Alert.TermsStringA list of strings, each representing a token as parsed by the query parser.
CarbonBlackEDR.Alert.Results.usernameStringThe user assosicated with the alert.
CarbonBlackEDR.Alert.Results.alert_typeStringThe type of the alert.
CarbonBlackEDR.Alert.Results.sensor_criticalityNumberThe criticality of the sensor.
CarbonBlackEDR.Alert.Results.modload_countNumberThe count of modules loaded.
CarbonBlackEDR.Alert.Results.report_scoreNumberThe score of the report.
CarbonBlackEDR.Alert.Results.watchlist_idStringThe id of the watchlist.
CarbonBlackEDR.Alert.Results.sensor_idNumberThe id of the sensor.
CarbonBlackEDR.Alert.Results.feed_nameStringThe name of the source feed
CarbonBlackEDR.Alert.Results.created_timeDateThe alert creation time.
CarbonBlackEDR.Alert.Results.report_ignoredBooleanWhether the alert report should be ignored.
CarbonBlackEDR.Alert.Results.ioc_typeStringThe type of the resource.
CarbonBlackEDR.Alert.Results.watchlist_nameStringThe name of the watchlist.
CarbonBlackEDR.Alert.Results.ioc_confidenceNumberThe confience of the resource.
CarbonBlackEDR.Alert.Results.ioc_attrStringThe resource attributes.
CarbonBlackEDR.Alert.Results.alert_severityNumberThe severity of the alert.
CarbonBlackEDR.Alert.Results.crossproc_countNumberThe count of cross process events launched by this process.
CarbonBlackEDR.Alert.Results.groupStringThe sensor group id this sensor is assigned to.
CarbonBlackEDR.Alert.Results.hostnameStringThe hostname assisicated with the alert.
CarbonBlackEDR.Alert.Results.filemod_countNumberThe count of file modifications in this process.
CarbonBlackEDR.Alert.Results.comms_ipStringIP address that the Cb server received the alert on. If the endpoint is behind a NAT,
for example, this will be the external IP of the network the endpoint lives on.
CarbonBlackEDR.Alert.Results.netconn_countNumberThe count of network connections in this process.
CarbonBlackEDR.Alert.Results.interface_ipStringThe IP address of the network interface(s) on the endpoint that generated the message.
CarbonBlackEDR.Alert.Results.statusStringThe status of the alert. One of Resolved, Unresolved, In Progress, or False Positive.
CarbonBlackEDR.Alert.Results.process_pathStringThe path of the process.
CarbonBlackEDR.Alert.Results.descriptionStringThe description of the alert.
CarbonBlackEDR.Alert.Results.process_nameStringThe name of the process.
CarbonBlackEDR.Alert.Results.process_unique_idStringThe unique_id of the targeted process.
CarbonBlackEDR.Alert.Results.process_idStringThe id of the process.
CarbonBlackEDR.Alert.Results.linkStringA link to the report.
CarbonBlackEDR.Alert.Results.versionNumberThe version of the alert.
CarbonBlackEDR.Alert.Results.regmod_countNumberThe count of registry modifications in this process.
CarbonBlackEDR.Alert.Results.md5StringThe md5 of the process.
CarbonBlackEDR.Alert.Results.segment_idDateThe segment id of the process.
CarbonBlackEDR.Alert.Results.total_hostsNumberThe number of total host.
CarbonBlackEDR.Alert.Results.feed_idNumberThe id of the source feed.
CarbonBlackEDR.Alert.Results.ioc_valueStringThe value of the resource.
CarbonBlackEDR.Alert.Results.os_typeStringThe operating system type of the computer for this process; one of windows, linux, osx.
CarbonBlackEDR.Alert.Results.childproc_countNumberThe count of processes launched by this process.
CarbonBlackEDR.Alert.Results.unique_idStringThe unique_id of the alert.
CarbonBlackEDR.Alert.Results.feed_ratingNumberThe rating of the Source feed.

Command Example#

!cb-edr-alert-search status=Unresolved limit=2

Context Example#

{
"CarbonBlackEDR": {
"Alert": {
"Results": [
{
"_version_": 1594835491213017000,
"alert_severity": 60.75,
"alert_type": "watchlist.hit.ingress.process",
"childproc_count": 0,
"comms_ip": "x.x.x.x",
"created_time": "2018-03-13T15:07:26.805Z",
"crossproc_count": 0,
"description": "Carbon Black Process Blocking",
"feed_id": 3,
"feed_name": "cbbanning",
"feed_rating": 3,
"filemod_count": 0,
"group": "default group",
"hostname": "win-sosskvttqab",
"interface_ip": "x.x.x.x",
"ioc_attr": "{\"hit_field_processblock\": true, \"hit_field_result\": \"NotTerminatedWhitelistedPath\", \"hit_field_md5\": \"e3a2ad05e24105b35e986cf9cb38ec47\", \"hit_field_path\": \"c:\\\\windows\\\\system32\\\\svchost.exe\"}",
"ioc_confidence": 0.5,
"ioc_type": "class",
"ioc_value": "com.carbonblack.cbfs.ingress_search.detectors.SensorProtectionBlock$ProcessBlocking",
"link": "https://www.carbonblack.com/cbfeeds/processbanningevents_feed.xhtml",
"md5": "e3a2ad05e24105b35e986cf9cb38ec47",
"modload_count": 0,
"netconn_count": 1,
"os_type": "windows",
"process_id": "00000001-0000-0670-01d3-8a07a3ec10cf",
"process_name": "svchost.exe",
"process_path": "c:\\windows\\system32\\svchost.exe",
"process_unique_id": "00000001-0000-0670-01d3-8a07a3ec10cf-01621fe6de82",
"regmod_count": 0,
"report_ignored": true,
"report_score": 90,
"segment_id": 1520953646722,
"sensor_criticality": 3,
"sensor_id": 1,
"status": "Unresolved",
"total_hosts": "2",
"unique_id": "5d652495-cca6-4bca-9007-579a5ee984a2",
"username": "NETWORK SERVICE",
"watchlist_id": "process_blocking",
"watchlist_name": "process_blocking"
},
{
"_version_": 1594835491214065700,
"alert_severity": 60.75,
"alert_type": "watchlist.hit.ingress.process",
"childproc_count": 0,
"comms_ip": "x.x.x.x",
"created_time": "2018-03-13T15:07:26.814Z",
"crossproc_count": 0,
"description": "Carbon Black Process Blocking",
"feed_id": 3,
"feed_name": "cbbanning",
"feed_rating": 3,
"filemod_count": 0,
"group": "default group",
"hostname": "win-sosskvttqab",
"interface_ip": "x.x.x.x",
"ioc_attr": "{\"hit_field_processblock\": true, \"hit_field_result\": \"NotTerminatedWhitelistedPath\", \"hit_field_md5\": \"e3a2ad05e24105b35e986cf9cb38ec47\", \"hit_field_path\": \"c:\\\\windows\\\\system32\\\\svchost.exe\"}",
"ioc_confidence": 0.5,
"ioc_type": "class",
"ioc_value": "com.carbonblack.cbfs.ingress_search.detectors.SensorProtectionBlock$ProcessBlocking",
"link": "https://www.carbonblack.com/cbfeeds/processbanningevents_feed.xhtml",
"md5": "e3a2ad05e24105b35e986cf9cb38ec47",
"modload_count": 0,
"netconn_count": 0,
"os_type": "windows",
"process_id": "00000001-0000-0308-01d3-8a07a1d86867",
"process_name": "svchost.exe",
"process_path": "c:\\windows\\system32\\svchost.exe",
"process_unique_id": "00000001-0000-0308-01d3-8a07a1d86867-01621fe6de82",
"regmod_count": 0,
"report_ignored": true,
"report_score": 90,
"segment_id": 1520953646722,
"sensor_criticality": 3,
"sensor_id": 1,
"status": "Unresolved",
"total_hosts": "2",
"unique_id": "aa86855f-e53e-4c78-859a-4a8c87072389",
"username": "NETWORK SERVICE",
"watchlist_id": "process_blocking",
"watchlist_name": "process_blocking"
}
],
"Terms": [
"status:Unresolved"
],
"total_results": 9669
}
}
}

Human Readable Output#

Carbon Black EDR - Alert Search Results### Showing 0 - 2 out of 9669 results. |Alert ID|Created Time|File Name|File Path|Hostname|Segment ID|Severity|Source md5|Status| |---|---|---|---|---|---|---|---|---| | 5d652495-cca6-4bca-9007-579a5ee984a2 | 2018-03-13T15:07:26.805Z | svchost.exe | c:\windows\system32\svchost.exe | win-sosskvttqab | 1520953646722 | 60.75 | e3a2ad05e24105b35e986cf9cb38ec47 | Unresolved | | aa86855f-e53e-4c78-859a-4a8c87072389 | 2018-03-13T15:07:26.814Z | svchost.exe | c:\windows\system32\svchost.exe | win-sosskvttqab | 1520953646722 | 60.75 | e3a2ad05e24105b35e986cf9cb38ec47 | Unresolved |

cb-edr-binary-summary#


Returns the metadata for the binary with the provided md5

Base Command#

cb-edr-binary-summary

Input#

Argument NameDescriptionRequired
md5The md5 of the binary.Required

Context Output#

PathTypeDescription
CarbonBlackEDR.BinaryMetadata.host_countNumberThe number of host for the targeted file.
CarbonBlackEDR.BinaryMetadata.digsig_resultStringDigital signature status.

One of Signed, Unsigned, Expired, Bad Signature, Invalid Signature, Invalid Chain, Untrusted Root, or Explicit Distrust. | | CarbonBlackEDR.BinaryMetadata.observed_filename | String | A list of strings, one per unique filename this binary has been seen as. | | CarbonBlackEDR.BinaryMetadata.product_version | String | If present, Product version from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinaryMetadata.digsig_issuer | String | If signed and present, the issuer name. | | CarbonBlackEDR.BinaryMetadata.signed | String | Digital signature status. One of Signed, Unsigned, Expired, Bad Signature, Invalid Signature, Invalid Chain, Untrusted Root, or Explicit Distrust. | | CarbonBlackEDR.BinaryMetadata.digsig_sign_time | Date | If signed, the timestamp of the signature in GMT. | | CarbonBlackEDR.BinaryMetadata.orig_mod_len | Number | Filesize in bytes. | | CarbonBlackEDR.BinaryMetadata.is_executable_image | Boolean | Whether the file is an EXE. | | CarbonBlackEDR.BinaryMetadata.is_64bit | Boolean | Whether the file is x64. | | CarbonBlackEDR.BinaryMetadata.digsig_subject | String | If signed and present, the subject. | | CarbonBlackEDR.BinaryMetadata.digsig_publisher | String | If signed and present, the publisher name. | | CarbonBlackEDR.BinaryMetadata.group | String | A list of 0 or more sensor groups (by name) in which this binary was observed. | | CarbonBlackEDR.BinaryMetadata.event_partition_id | Number | The ID of the event partition associated with the binary file. | | CarbonBlackEDR.BinaryMetadata.file_version | String | If present, File version from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinaryMetadata.company_name | String | If present, Company name from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinaryMetadata.internal_name | String | If present, Internal name from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinaryMetadata.icon | String | The icon of the file. | | CarbonBlackEDR.BinaryMetadata.product_name | String | If present, Product name from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinaryMetadata.digsig_result_code | String | HRESULT_FROM_WIN32 for the result of the digital signature operation via WinVerifyTrust. | | CarbonBlackEDR.BinaryMetadata.timestamp | Date | The time of the file search. | | CarbonBlackEDR.BinaryMetadata.copied_mod_len | Number | Bytes copied from remote host, if file is > 25MB this will be less than orig_mod_len. | | CarbonBlackEDR.BinaryMetadata.server_added_timestamp | Date | The first time this binary was received on the server in the server GMT time. | | CarbonBlackEDR.BinaryMetadata.facet_id | Number | The id of the facet searched. | | CarbonBlackEDR.BinaryMetadata.digsig_prog_name | String | If signed and present, the program name. | | CarbonBlackEDR.BinaryMetadata.md5 | String | The md5 hash of this binary. | | CarbonBlackEDR.BinaryMetadata.endpoint | String | A list of 0 or more hostname, sensorid tuples on which this binary was observed. The | character serves as the delimiter between the hostname and the sensorid. | | CarbonBlackEDR.BinaryMetadata.watchlists.wid | String | The wid of the watchlist. | | CarbonBlackEDR.BinaryMetadata.watchlists.value | Date | The value of the watchlist. | | CarbonBlackEDR.BinaryMetadata.legal_copyright | String | If present, Legal copyright from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinaryMetadata.original_filename | String | If present, Original filename from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinaryMetadata.cb_version | Number | The version of Carbon Black. | | CarbonBlackEDR.BinaryMetadata.os_type | String | The operating system type of the computer for this process; one of windows, linux, osx. | | CarbonBlackEDR.BinaryMetadata.file_desc | String | If present, File description from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinaryMetadata.last_seen | Date | The last seen time of the file. |

Command Example#

!cb-edr-binary-summary md5=9532bd6c36a788d329668ac0d30ce822

Human Readable Output#

File 9532bd6c36a788d329668ac0d30ce822 could not be found

cb-edr-binary-download#


Download the binary with this md5 hash.

Base Command#

cb-edr-binary-download

Input#

Argument NameDescriptionRequired
md5The md5 hash of the binary.Required

Context Output#

There is no context output for this command.

Command Example#

!cb-edr-binary-download md5=e3a2ad05e24105b35e986cf9cb38ec47

Context Example#

{
"InfoFile": {
"EntryID": "941@7ef46214-11bc-457d-84bc-19826ac7661c",
"Extension": "zip",
"Info": "application/zip",
"Name": "binary_e3a2ad05e24105b35e986cf9cb38ec47.zip",
"Size": 19452,
"Type": "Zip archive data, at least v2.0 to extract"
}
}

Human Readable Output#

cb-edr-binary-search#


Binary search

Base Command#

cb-edr-binary-search

Input#

Argument NameDescriptionRequired
product_nameGets the name of the product this file is distributed with.Optional
md5The md5 hash of this binary.Optional
digital_signatureDigital signature status. Possible values are: Signed, Unsigned, Expired, Bad Signature, Invalid Signature, Invalid Chain, Untrusted Root, Explicit Distrust.Optional
publisherIf signed and present, the publisher name.Optional
company_nameThe name of the company that produced the file.Optional
groupSensor group this sensor was
assigned to at the time of process
execution.
Optional
hostnameHostname of the computer on
which the process was executed.
Optional
sortSort rows by this field and order. server_added_timestamp desc by default.Optional
observed_filenameFull path of the binary at the time
of collection.
Optional
queryAdvanced query string. Accepts the same data as the search box. For more information on the query syntax see https://developer.carbonblack.com/resources/query_overview.pdf. If not provided, at least one other search field must be provided.Optional
facetReturn facet results. ‘false’ by default, set to ‘true’ for facets.Optional
facet_fieldfacet field name to return. Multiple facet.field parameters can be specified in a query.Optional
limitReturn this many rows, 10 by default.Optional
startStart at this row, 0 by default.Optional

Context Output#

PathTypeDescription
CarbonBlackEDR.BinarySearch.termsStringA list of strings, each representing a token as parsed by the query parser.
CarbonBlackEDR.BinarySearch.total_resultsNumberThe number of matching binaries.
CarbonBlackEDR.BinarySearch.highlightsStringA list of highlight objects matching the query string. Format the same as the process event object.
CarbonBlackEDR.BinarySearch.Results.host_countNumberThe count of unique endpoints which have ever reported this binary.
CarbonBlackEDR.BinarySearch.Results.original_filenameStringIf present, Original filename from FileVersionInformation. For more information check
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0
CarbonBlackEDR.BinarySearch.Results.legal_copyrightStringIf present, Legal copyright from FileVersionInformation. For more information check
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0
CarbonBlackEDR.BinarySearch.Results.digsig_resultStringDigital signature status.

One of Signed, Unsigned, Expired, Bad Signature, Invalid Signature, Invalid Chain, Untrusted Root, or Explicit Distrust. | | CarbonBlackEDR.BinarySearch.Results.observed_filename | String | A list of strings, one per unique filename this binary has been seen as. | | CarbonBlackEDR.BinarySearch.Results.product_version | String | If present, Product version from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinarySearch.Results.watchlists.wid | String | The wid of the watchlist. | | CarbonBlackEDR.BinarySearch.Results.watchlists.value | Date | The value of the watchlist. | | CarbonBlackEDR.BinarySearch.Results.facet_id | Number | The id of the facet searched. | | CarbonBlackEDR.BinarySearch.Results.digsig_issuer | String | If signed and present, the issuer name. | | CarbonBlackEDR.BinarySearch.Results.copied_mod_len | Number | Bytes copied from remote host, if file is > 25MB this will be less than orig_mod_len. | | CarbonBlackEDR.BinarySearch.Results.comments | String | Comments of the search. | | CarbonBlackEDR.BinarySearch.Results.digsig_sign_time | Date | If signed, the timestamp of the signature in GMT. | | CarbonBlackEDR.BinarySearch.Results.digsig_prog_name | String | If signed and present, the program name. | | CarbonBlackEDR.BinarySearch.Results.orig_mod_len | Number | Filesize in bytes. | | CarbonBlackEDR.BinarySearch.Results.is_executable_image | Boolean | Whether the file is an EXE. | | CarbonBlackEDR.BinarySearch.Results.is_64bit | Boolean | Whether the file is x64. | | CarbonBlackEDR.BinarySearch.Results.md5 | String | The md5 hash of this binary. | | CarbonBlackEDR.BinarySearch.Results.digsig_subject | String | If signed and present, the subject. | | CarbonBlackEDR.BinarySearch.Results.digsig_publisher | String | If signed and present, the publisher name. | | CarbonBlackEDR.BinarySearch.Results.endpoint | String | A list of 0 or more hostname, sensorid tuples on which this binary was observed. The | character serves as the delimiter between the hostname and the sensorid. | | CarbonBlackEDR.BinarySearch.Results.group | String | A list of 0 or more sensor groups (by name) in which this binary was observed. | | CarbonBlackEDR.BinarySearch.results.event_partition_id | Number | The ID of the event partition associated with the binary file. | | CarbonBlackEDR.BinarySearch.Results.digsig_result_code | String | HRESULT_FROM_WIN32 for the result of the digital signature operation via WinVerifyTrust. | | CarbonBlackEDR.BinarySearch.Results.file_version | String | If present, File version from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinarySearch.Results.signed | String | Digital signature status: One of Signed, Unsigned, Expired, Bad Signature, Invalid Signature, Invalid Chain, Untrusted Root, or Explicit Distrust. | | CarbonBlackEDR.BinarySearch.Results.last_seen | Date | The last seen time of the file. | | CarbonBlackEDR.BinarySearch.Results.company_name | String | If present, Company name from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinarySearch.Results.internal_name | String | If present, Internal name from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinarySearch.Results.timestamp | Date | Search creation time. | | CarbonBlackEDR.BinarySearch.Results.cb_version | Number | The version of Carbon Black. | | CarbonBlackEDR.BinarySearch.Results.os_type | String | The operating system type of this binary; one of windows, linux, osx. | | CarbonBlackEDR.BinarySearch.Results.file_desc | String | If present, File description from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinarySearch.Results.product_name | String | If present, Product name from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 | | CarbonBlackEDR.BinarySearch.Results.server_added_timestamp | Date | The first time this binary was received on the server in the server GMT time. | | CarbonBlackEDR.BinarySearch.Results.private_build | String | If present, Private build from FileVersionInformation. For more information check https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo?redirectedfrom=MSDN&view=net-5.0 |

Command Example#

!cb-edr-binary-search company_name=Microsoft limit=2

Context Example#

{
"CarbonBlackEDR": {
"BinarySearch": {
"Results": [
{
"cb_version": 620,
"company_name": "Microsoft Corporation",
"copied_mod_len": 33792,
"digsig_publisher": "Microsoft Corporation",
"digsig_result": "Signed",
"digsig_result_code": "0",
"digsig_sign_time": "2007-02-18T08:57:00Z",
"endpoint": [
"amazon-39d8d1e7|4"
],
"event_partition_id": [
99358576345088
],
"facet_id": 326727,
"file_desc": "Microsoft Traffic Control 1.0 DLL",
"file_version": "5.2.3790.3959 (srv03_sp2_rtm.070216-1710)",
"group": [
"default group"
],
"host_count": 1,
"internal_name": "traffic.dll",
"is_64bit": false,
"is_executable_image": false,
"last_seen": "2018-01-17T08:00:05.631Z",
"legal_copyright": "\u00a9 Microsoft Corporation. All rights reserved.",
"md5": "83263B667637FD878685D6A8401742CB",
"observed_filename": [
"c:\\windows\\system32\\traffic.dll"
],
"orig_mod_len": 33792,
"original_filename": "traffic.dll",
"os_type": "Windows",
"product_name": "Microsoft\u00ae Windows\u00ae Operating System",
"product_version": "5.2.3790.3959",
"server_added_timestamp": "2018-01-17T00:58:55.134Z",
"signed": "Signed",
"timestamp": "2018-01-17T00:58:55.134Z",
"watchlists": [
{
"value": "2018-01-17T08:00:04.753Z",
"wid": "5"
}
]
},
{
"cb_version": 620,
"company_name": "Microsoft Corporation",
"copied_mod_len": 99328,
"digsig_publisher": "Microsoft Corporation",
"digsig_result": "Signed",
"digsig_result_code": "0",
"digsig_sign_time": "2007-02-18T08:57:00Z",
"endpoint": [
"amazon-39d8d1e7|4"
],
"event_partition_id": [
99358576345088
],
"facet_id": 738306,
"file_desc": "Microsoft Smart Card API",
"file_version": "5.2.3790.3959 (srv03_sp2_rtm.070216-1710)",
"group": [
"default group"
],
"host_count": 1,
"internal_name": "winscard.dll",
"is_64bit": false,
"is_executable_image": false,
"last_seen": "2018-01-17T08:00:05.664Z",
"legal_copyright": "\u00a9 Microsoft Corporation. All rights reserved.",
"md5": "ED870A44064799B7DCEA3F9B674D0077",
"observed_filename": [
"c:\\windows\\system32\\winscard.dll"
],
"orig_mod_len": 99328,
"original_filename": "winscard.dll",
"os_type": "Windows",
"product_name": "Microsoft\u00ae Windows\u00ae Operating System",
"product_version": "5.2.3790.3959",
"server_added_timestamp": "2018-01-17T00:43:41.895Z",
"signed": "Signed",
"timestamp": "2018-01-17T00:43:41.895Z",
"watchlists": [
{
"value": "2018-01-17T08:00:04.753Z",
"wid": "5"
}
]
}
],
"Terms": [
"company_name:Microsoft"
],
"total_results": 9585
}
}
}

Human Readable Output#

Carbon Black EDR - Binary Search Results### Showing 0 - 2 out of 9585 results. |md5|Group|OS Type|Host Count|Last Seen|Is Executable Image|Timestamp| |---|---|---|---|---|---|---| | 83263B667637FD878685D6A8401742CB | default group | Windows | 1 | 2018-01-17T08:00:05.631Z | false | 2018-01-17T00:58:55.134Z | | ED870A44064799B7DCEA3F9B674D0077 | default group | Windows | 1 | 2018-01-17T08:00:05.664Z | false | 2018-01-17T00:43:41.895Z |

endpoint#


Display information about the given sensor

Base Command#

endpoint

Input#

Argument NameDescriptionRequired
idThe sensor ID.Optional
ipQuery sensors with specified IP address.Optional
hostnameQuery sensors with matching hostname.Optional

Context Output#

PathTypeDescription
Endpoint.HostnameStringThe endpoint's hostname.
Endpoint.Relationships.EntityAstringThe source of the relationship.
Endpoint.Relationships.EntityBstringThe destination of the relationship.
Endpoint.Relationships.RelationshipstringThe name of the relationship.
Endpoint.Relationships.EntityATypestringThe type of the source of the relationship.
Endpoint.Relationships.EntityBTypestringThe type of the destination of the relationship.
Endpoint.OSStringThe endpoint's operation system.
Endpoint.IPAddressStringThe endpoint's IP address.
Endpoint.IDStringThe endpoint's ID.
Endpoint.StatusStringThe endpoint's status.
Endpoint.IsIsolatedStringThe endpoint's isolation status.
Endpoint.MACAddressStringThe endpoint's MAC address.
Endpoint.VendorStringThe integration name of the endpoint vendor.
Endpoint.DomainStringThe endpoint's domain.
Endpoint.DHCPServerStringThe DHCP server of the endpoint.
Endpoint.OSVersionStringThe endpoint's operation system version.
Endpoint.BIOSVersionStringThe endpoint's BIOS version.
Endpoint.ModelStringThe model of the machine or device.
Endpoint.MemoryIntMemory on this endpoint.
Endpoint.ProcessorsIntThe number of processors.
Endpoint.ProcessorStringThe model of the processor.

Command Example#

!endpoint id=15 ip=x.x.x.x hostname=WIN-SOSSKVTTQAB using="VMware Carbon Black EDR_instance_1"

Context Example#

{
"Endpoint": {
"Hostname": "WIN-SOSSKVTTQAB",
"ID": "15",
"IPAddress": "x.x.x.x",
"IsIsolated": "No",
"MACAddress": "06d3d4a5ba28",
"Memory": "1073332224",
"OSVersion": "Windows Server 2012 R2 Server Standard, 64-bit",
"Status": "Online",
"Vendor": "Carbon Black Response"
}
}

Human Readable Output#

Carbon Black EDR - Endpoint: 15#

HostnameIDIPAddressIsIsolatedMACAddressMemoryOSVersionStatusVendor
WIN-SOSSKVTTQAB15x.x.x.xNo 06d3d4a5ba281073332224Windows Server 2012 R2 Server Standard, 64-bitOnlineCarbon Black Response