Splunk Unauthenticated Path Traversal Modules Messaging
Description
This hunting search provides information on exploitation attempts against /modules/messaging endpoint, the exploit can be clearly seen as the ../ which signals an attempt to traverse target directories.
- Type: Hunting
-
Product: Splunk Enterprise
- Last Updated: 2024-07-01
- Author: Rod Soto, Chase Franklin
- ID: e7c2b064-524e-4d65-8002-efce808567aa
Annotations
Kill Chain Phase
- Exploitation
NIST
- DE.AE
CIS20
- CIS 10
CVE
Search
1
2
3
4
5
`splunkd_web` method=GET uri_path="/*/modules/messaging/*..*"
| stats min(_time) as firstTime max(_time) as lastTime values(method) as method values(uri_path) as uri_path by host
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `splunk_unauthenticated_path_traversal_modules_messaging_filter`
Macros
The SPL above uses the following Macros:
splunk_unauthenticated_path_traversal_modules_messaging_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.
- method
- uri_path
- host
How To Implement
Only applies to Microsoft Windows installations of Splunk.
Known False Positives
May catch other exploitation attempts using path traversal related characters.
Associated Analytic Story
RBA
Risk Score | Impact | Confidence | Message |
---|---|---|---|
20.0 | 20 | 100 | Possible directory traversal attack against $host$ |
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: 1