Try in Splunk Security Cloud


The following analytic identifies unauthorized attempts to use the /services/indexing/preview REST endpoint in Splunk. It detects POST requests to this endpoint by monitoring the _internal index for specific URI patterns. This activity is significant because it indicates a potential RBAC (Role-Based Access Control) bypass, allowing unauthorized users to overwrite search results if they know the search ID (SID) of an existing job. If confirmed malicious, this could lead to data manipulation, unauthorized access to sensitive information, and compromised integrity of search results.

  • Type: Hunting
  • Product: Splunk Enterprise

  • Last Updated: 2024-05-15
  • Author: Rod Soto
  • ID: bbe26f95-1655-471d-8abd-3d32fafa86f8




ID Technique Tactic
T1134 Access Token Manipulation Defense Evasion, Privilege Escalation
Kill Chain Phase
  • Exploitation
  • DE.AE
  • CIS 10
`splunkda` method="POST" uri="*/services/indexing/preview*" 
| table host clientip status useragent user uri_path 
| `splunk_rbac_bypass_on_indexing_preview_rest_endpoint_filter`


The SPL above uses the following Macros:

:information_source: splunk_rbac_bypass_on_indexing_preview_rest_endpoint_filter is a empty macro by default. It allows the user to filter out any results (false positives) without editing the SPL.

Required fields

List of fields required to use this analytic.

  • host
  • clientip
  • status
  • useragent
  • user
  • uri_path

How To Implement

This search does not require additional data ingestion. It requires the ability to search _internal index.

Known False Positives

This is a hunting search which provides verbose results against this endpoint. Operator must consider things such as IP address, useragent and user(specially low privelege) and host to investigate possible attack.

Associated Analytic Story


Risk Score Impact Confidence Message
15.0 30 50 Review $clientip$ access to indexing preview endpoint from low privilege user

:information_source: The Risk Score is calculated by the following formula: Risk Score = (Impact * Confidence/100). Initial Confidence and Impact is set by the analytic author.


Test Dataset

Replay any dataset to Splunk Enterprise by using our tool or the UI. Alternatively you can replay a dataset into a Splunk Attack Range

source | version: 2