Rapid7 InsightIDR - HTTP Requests Indicators Hunting

This playbook queries Rapid7 InsightIDR SIEM for indicators associated with HTTP requests, including HTTP request methods, user agents, URIs, and Ja3. Note that multiple search values should be separated by commas only (without spaces or any special characters).

Rapid7 InsightIDR · 24 tasks · 14 inputs · 1 output

Inputs

  • UserAgent — A 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).
  • InsightIDRUserAgentField — The name of the fields, in Rapid7 InsightIDR, in which to find the user agents.
  • URI — A single or multiple URIs to search for within Rapid7 InsightIDR logs. Separate multiple search values by commas only (without spaces or any special characters).
  • InsightIDRURIField — The name of the fields, in Rapid7 InsightIDR, in which to find the URIs.
  • HTTPRequestMethods — A 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).
  • InsightIDRHttpMethodsField — The name of the fields, in Rapid7 InsightIDR, in which to find the HTTP request methods.
  • Ja3 — A 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.
  • InsightIDRJa3Field — The name of the fields, in Rapid7 InsightIDR, in which to find the Ja3s.
  • LogSetId — An identifier for a Rapid7 InsightIDR log set to query.
  • time_range — Specify 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)
  • logs_per_page — Specify the maximum number of log entries to return per page, up to 500 (the maximum allowed). By default, 50 is set.
  • sequence_number — The 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.
  • start_time — Specify 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.
  • end_time — Specify 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.

Outputs

  • Rapid7InsightIDR.HuntingResults — Events log objects containing relevant fields.

Commands used

rapid7-insight-idr-query-log-set

Flowchart

yes yes yes yes yes yes yes yes Start Start User Agent Indicators User Agent Indicators URI Indicators URI Indicators Rapid7 InsightIDR query - user agent - rapid7-insight-idr-query-log-set Rapid7 InsightIDR query -... rapid7-insight-idr-query-log-set Rapid7 InsightIDR query - URI - rapid7-insight-idr-query-log-set Rapid7 InsightIDR query -... rapid7-insight-idr-query-log-set HTTP Request Methods Indicators HTTP Request Methods Indi... Rapid7 InsightIDR query - HTTP request methods - rapid7-insight-idr-query-log-set Rapid7 InsightIDR query -... rapid7-insight-idr-query-log-set Is Rapid7 InsightIDR enabled? - IsIntegrationAvailable Is Rapid7 InsightIDR enab... IsIntegrationAvailable Rapid7 InsightIDR query - Ja3 - rapid7-insight-idr-query-log-set Rapid7 InsightIDR query -... rapid7-insight-idr-query-log-set Ja3 Indicators Ja3 Indicators HTTP Request Methods Hunting Done HTTP Request Methods Hunt... URI Hunting Done URI Hunting Done User Agent Hunting Done User Agent Hunting Done Ja3 Hunting Done Ja3 Hunting Done Any HTTP request method to hunt for? Any HTTP request method t... Any URI to hunt for? Any URI to hunt for? Any user agent to hunt for? Any user agent to hunt for? Any Ja3 to hunt for? Any Ja3 to hunt for? Set HTTP request methods search argument - SetAndHandleEmpty Set HTTP request methods ... SetAndHandleEmpty Set URI search argument - SetAndHandleEmpty Set URI search argument SetAndHandleEmpty Set user agent search argument - SetAndHandleEmpty Set user agent search arg... SetAndHandleEmpty Set Ja3 search argument - SetAndHandleEmpty Set Ja3 search argument SetAndHandleEmpty Done Done Save Queries Results - LoadJSON Save Queries Results LoadJSON