Try in Splunk Security Cloud


The following analytic utilizes the Web datamodel and identifies the ProxyShell or ProxyNotShell abuse. This vulnerability is a Server Side Request Forgery (SSRF) vulnerability, which is a web vulnerability that allows an adversary to exploit vulnerable functionality to access server side or local network services by affectively traversing the external firewall using vulnerable web functionality. This analytic looks for the URI path and query of autodiscover, powershell and mapi along with a POST occurring. It will tally a simple score and show the output of the events that match. This analytic may be added to by simply creating a new eval statement and modifying the hardcode digit for Score.

  • Type: TTP
  • Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
  • Datamodel: Web
  • Last Updated: 2023-07-10
  • Author: Michael Haag, Nathaniel Stearns, Splunk
  • ID: d436f9e7-0ee7-4a47-864b-6dea2c4e2752




ID Technique Tactic
T1190 Exploit Public-Facing Application Initial Access
T1133 External Remote Services Persistence, Initial Access
Kill Chain Phase
  • Delivery
  • Installation
  • DE.CM
  • CIS 13
ID Summary CVSS
CVE-2021-34523 Microsoft Exchange Server Elevation of Privilege Vulnerability 7.5
CVE-2021-34473 Microsoft Exchange Server Remote Code Execution Vulnerability 10.0
CVE-2021-31207 Microsoft Exchange Server Security Feature Bypass Vulnerability 6.5
CVE-2022-41040 Microsoft Exchange Server Elevation of Privilege Vulnerability None
CVE-2022-41082 Microsoft Exchange Server Remote Code Execution Vulnerability None
| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time) as lastTime from datamodel=Web where (Web.status=200 OR Web.status=302 OR Web.status=401) AND Web.http_method=POST by Web.src Web.status Web.uri_path Web.dest Web.http_method Web.uri_query 
| `drop_dm_object_name("Web")` 
| eval is_autodiscover=if(like(lower(uri_path),"%autodiscover%"),1,0) 
| eval powershell = if(match(lower(uri_query),"powershell"), "1",0) 
| eval mapi=if(like(uri_query,"%/mapi/%"),1,0) 
| addtotals fieldname=Score is_autodiscover, powershell, mapi 
| fields Score, src,dest, status, uri_query,uri_path,http_method 
| where Score >= 2 
| `security_content_ctime(firstTime)` 
| `security_content_ctime(lastTime)` 
| `windows_exchange_autodiscover_ssrf_abuse_filter`


The SPL above uses the following Macros:

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

  • _time
  • Web.src
  • Web.status
  • Web.uri_path
  • Web.dest
  • Web.http_method
  • Web.uri_query

How To Implement

To successfully implement this search you need to be ingesting information on Web traffic, Exchange OR IIS logs, mapped to Web datamodel in the Web node. In addition, confirm the latest CIM App 4.20 or higher is installed.

Known False Positives

False positives are limited.

Associated Analytic Story


Risk Score Impact Confidence Message
72.0 90 80 Activity related to ProxyShell or ProxyNotShell has been identified on $dest$. Review events and take action accordingly.

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