Skip to main content

Rapid7 InsightIDR - Traffic 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 traffic indicators, including URLs, domains, ports, IP addresses, IP ranges (CIDR), email addresses, and geolocations.

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#

  • LoadJSON
  • IsIntegrationAvailable
  • SetAndHandleEmpty

Commands#

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

Playbook Inputs#


NameDescriptionDefault ValueRequired
IPAddressA single or multiple IP addresses to search for within Rapid7 InsightIDR logs. Used for both source and destination IP addresses.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRdstIPFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the destination IPs.Optional
InsightIDRsrcIPFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the source IPs.Optional
PortNumberA single or multiple IP addresses to search for within Rapid7 InsightIDR logs. Used for both source and destination ports.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRsrcPortFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the source ports.Optional
InsightIDRdstPortFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the destination ports.Optional
GeolocationA single or multiple country names or codes to search for within Rapid7 InsightIDR logs. Used for both source and destination geolocations.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRsrcGeolocationFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the source geolocations.Optional
InsightIDRSdstGeolocationFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the destination geolocations.Optional
URLDomainSingle or multiple URLs and/or domains to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRURLDomainFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the URLs or domains.Optional
EmailAddressA single or multiple email addresses to search for within Rapid7 InsightIDR logs. Used for both sender and recipient email addresses.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRSenderFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the sender's email addresses.Optional
InsightIDRRecipientFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the recipient's email addresses.Optional
CIDRA single or multiple IP ranges to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
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 - Traffic Indicators Hunting