Skip to main content

Rapid7 InsightIDR - Execution Flow Indicators Hunting

This Playbook is part of the Rapid7 InsightIDR Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

This playbook queries Rapid7 InsightIDR SIEM for execution flow indicators, including registry values, registry keys, registry hives, commands, processes name, and applications.

Note that multiple search values should be separated by commas only (without spaces or any special characters).

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

This playbook does not use any sub-playbooks.

Integrations#

  • Rapid7 InsightIDR

Scripts#

  • SetAndHandleEmpty
  • IsIntegrationAvailable
  • LoadJSON

Commands#

  • rapid7-insight-idr-query-log-set

Playbook Inputs#


NameDescriptionDefault ValueRequired
ApplicationA single or multiple application names to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRAppFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the application names.Optional
RegistryValueA single or multiple registry values to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRRegistryValueFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the registry values.Optional
RegistryKeyA single or multiple registry keys to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRRegistryKeyFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the registry keys.Optional
RegistryHivesOnly relevant for hunting on Windows hosts.
A single or multiple registry hives to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRRegistryHivesFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the registry hives.Optional
CommandLineA single or multiple command to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRCommandLineFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the command's lines.Optional
ProcessNameA single or multiple process names to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRProcessNameFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the process names.Optional
LogSetIdAn identifier for a Rapid7 InsightIDR log set to query.Required
time_rangeSpecify the timeframe in which the Rapid7 InsightIDR logs will be searched. Most start with 'last' (e.g., last 2 months, last 10 minutes).
The 'start_time' and 'end_time' inputs should not be used if the time_range input is specified.

Supported time units (case insensitive):
min(s) or minute(s)
hr(s) or hour(s)
day(s)
week(s)
month(s)
year(s)
Optional
logs_per_pageSpecify the maximum number of log entries to return per page, up to 500 (the maximum allowed). By default, 50 is set.Optional
sequence_numberThe earliest sequence number of a log entry to start searching.

If this query parameter is included, the query results will additionally include all log entries received in the 'start_time' millisecond which have sequence numbers larger than the one specified.

Sequence numbers are identifiers used to distinguish between log entries received in the same millisecond. If a log entry was split up into several log entries during ingestion, then those chunks are ordered by sequence number.
Optional
start_timeSpecify the query start time at which the Rapid7 InsightIDR logs will be searched, as a UNIX timestamp in milliseconds.

For example, if you wish to begin searching 1 week ago, the UNIX timestamp value is 604800.
Optional
end_timeSpecify the query end time at which the Rapid7 InsightIDR logs will be searched, as a UNIX timestamp in milliseconds.

For example, to end searching a day ago, the UNIX timestamp value would be 86400.
Optional

Playbook Outputs#


PathDescriptionType
Rapid7InsightIDR.HuntingResultsEvents log objects containing relevant fields.string

Playbook Image#


Rapid7 InsightIDR - Execution Flow Indicators Hunting