:warning: THIS IS A EXPERIMENTAL DETECTION

This detection has been marked experimental by the Splunk Threat Research team. This means we have not been able to test, simulate, or build datasets for this detection. Use at your own risk. This analytic is NOT supported.

Try in Splunk Security Cloud

Description

The following analytic identifies the presence of environment variables in Splunk dashboard drilldown URLs. It uses the REST API to query dashboards for specific patterns in the XML data. This activity is significant because it can expose sensitive tokens from privileged users if an attacker shares a malicious dashboard. If confirmed malicious, this could allow an attacker to detokenize variables and potentially gain unauthorized access to sensitive information or escalate privileges within the Splunk environment.

  • Type: TTP
  • Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud

  • Last Updated: 2024-05-15
  • Author: Marissa Bower, Rod Soto, Splunk
  • ID: f844c3f6-fd99-43a2-ba24-93e35fe84be6

Annotations

ATT&CK

ATT&CK

ID Technique Tactic
T1087 Account Discovery Discovery
Kill Chain Phase
  • Exploitation
NIST
  • DE.CM
CIS20
  • CIS 10
CVE
1
2
3
4
5
6
| rest splunk_server=local /servicesNS/-/-/data/ui/views 
| search eai:data="*$env:*" eai:data="*url*" eai:data="*options*" 
| rename author AS Author eai:acl.sharing AS Permissions eai:appName AS App eai:data AS "Dashboard XML" 
| fields Author Permissions App "Dashboard XML" 
| `splunk_account_discovery_drilldown_dashboard_disclosure_filter`

Macros

The SPL above uses the following Macros:

:information_source: splunk_account_discovery_drilldown_dashboard_disclosure_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.

  • eai:data
  • splunk_server
  • author
  • eai:acl.sharing
  • eai:appName

How To Implement

This search uses REST function to query for dashboards with environment variables present in URL options.

Known False Positives

This search may reveal non malicious URLs with environment variables used in organizations.

Associated Analytic Story

RBA

Risk Score Impact Confidence Message
40.0 50 80 Potential exposure of environment variables from url embedded in dashboard

: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.

Reference

Test Dataset

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

source | version: 2