Skip to main content

Rapid7 InsightIDR - Indicators Hunting

This Playbook is part of the Rapid7 InsightIDR Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

This playbook facilitates threat hunting and detection of IOCs within Rapid7 InsightIDR SIEM logs utilizing four sub-playbooks. The sub-playbooks query Rapid7 InsightIDR SIEM for different indicators including files, traffic, HTTP requests, and execution flows indicators.

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

Supported IOCs for this playbook:

  • MD5
  • SHA1
  • SHA256
  • IP Address
  • URLDomain
  • Registry Value
  • Registry Key
  • Registry Hives
  • Command Line
  • File Name
  • Process Name
  • HTTP Request Methods
  • User Agent
  • Port Number
  • File Path
  • Geolocation
  • Email Address
  • CIDR
  • URI
  • Ja3
  • FileType

Dependencies#

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

Sub-playbooks#

  • Rapid7 InsightIDR - Execution Flow Indicators Hunting
  • Rapid7 InsightIDR - Traffic Indicators Hunting
  • Rapid7 InsightIDR - File Indicators Hunting
  • Rapid7 InsightIDR - HTTP Requests Indicators Hunting

Integrations#

This playbook does not use any integrations.

Scripts#

This playbook does not use any scripts.

Commands#

This playbook does not use any commands.

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
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
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
UserAgentA single or multiple user agents to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRUserAgentFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the user agents.Optional
FileTypeA single or multiple file types to search for within Rapid7 InsightIDR logs.

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

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRFileNameFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the file names.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
URIA single or multiple URIs to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRURIFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the URIs.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
HTTPRequestMethodsA single or multiple HTTP requests methods to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRHttpMethodsFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the HTTP request methods.Optional
MD5A single or multiple MD5 file hashes to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRMD5FieldThe name of the fields, in Rapid7 InsightIDR, in which to find the MD5 hashes.Optional
SHA256A single or multiple SHA256 file hashes to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRSHA256FieldThe name of the fields, in Rapid7 InsightIDR, in which to find the SHA256 hashes.Optional
SHA1A single or multiple SHA1 file hashes to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRSHA1FieldThe name of the fields, in Rapid7 InsightIDR, in which to find the SHA1 hashes.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 commands to parse and set for future use within hunting playbooks.

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
FilePathA single or multiple file paths to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).
Optional
InsightIDRFilePathFieldThe name of the fields, in Rapid7 InsightIDR, in which to find the file paths.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
Ja3A single or multiple Ja3s to search for within Rapid7 InsightIDR logs.

Separate multiple search values by commas only (without spaces or any special characters).

JA3 is a method for creating SSL/TLS client fingerprints that should be easy to produce on any platform and can be easily shared for threat intelligence.
Optional
InsightIDRJa3FieldThe name of the fields, in Rapid7 InsightIDR, in which to find the Ja3s.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 - Indicators Hunting