Web Anomaly Followed by Server Process Execution
Description
This analytic finds a suspicious web request followed by shell or process execution on the same server within 15 minutes. It combines a web signal with an endpoint signal. Investigate the request, the child process, and whether the application normally launches that process.
Query · spl
| tstats `security_content_summariesonly`
min(_time) as firstTime
max(_time) as lastTime
from datamodel=Risk.All_Risk where
All_Risk.risk_object_type="system"
source IN (
"*PHP Serialized Object in POST Body*",
"*PHP SOAP DTD Entity Reference in Attribute*",
"*PHP SOAP Malformed Array Dimensions*",
"*HTTP Large POST and Oversized Multipart Header Activity*",
"*Ruby Repeated Legacy Sharp S Bytes in POST Body*",
"*PostScript or EPS Upload with Image or PDF Extension*",
"*Large HTTP POST Request Resulting in Server Error*",
"*Zeek HTTP Malformed Base64 Padding*",
"*Windows Suspicious Child Process Spawned From WebServer*",
"*Web or Application Server Spawning a Shell*",
"*Linux Auditd Shell from Web or Application Directory*",
"*Inline PHP Code Execution*"
)
by All_Risk.normalized_risk_object source _time span=1s
| `drop_dm_object_name(All_Risk)`
| where isnotnull(normalized_risk_object)
| lookup asset_lookup_by_str asset as normalized_risk_object OUTPUT ip as asset_ip
| eval normalized_risk_object=coalesce(asset_ip,normalized_risk_object)
| fields - asset_ip
| eval web_request=if(in(source,
"ESCU - PHP Serialized Object in POST Body - Rule",
"ESCU - PHP SOAP DTD Entity Reference in Attribute - Rule",
"ESCU - PHP SOAP Malformed Array Dimensions - Rule",
"ESCU - HTTP Large POST and Oversized Multipart Header Activity - Rule",
"ESCU - Ruby Repeated Legacy Sharp S Bytes in POST Body - Rule",
"ESCU - Large HTTP POST Request Resulting in Server Error - Rule",
"ESCU - Zeek HTTP Malformed Base64 Padding - Rule",
"ESCU - PostScript or EPS Upload with Image or PDF Extension - Rule"),1,0),
web_time=if(web_request=1,firstTime,null()),
web_source=if(web_request=1,source,null())
| sort 0 normalized_risk_object firstTime -web_request
| streamstats max(web_time) as preceding_web_time
last(web_source) as web_analytic
by normalized_risk_object
| where web_request=0
AND isnotnull(preceding_web_time)
AND firstTime>=preceding_web_time
AND firstTime-preceding_web_time<=900
| eval endpoint_analytic=source,
time_delta_seconds=firstTime-preceding_web_time,
risk_object=normalized_risk_object,
lastTime=firstTime,
firstTime=preceding_web_time
| fields risk_object web_analytic endpoint_analytic time_delta_seconds firstTime lastTime
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `web_anomaly_followed_by_server_process_execution_filter`
Rule dependencies
⚠ Higher-order rule. It fires on other rules' alerts, not on raw events, so it cannot fire on its own. Deploy the rules it depends on too.
Depends on
-
correlates · Splunk risk datamodel
Java4Shell - CVE-2026-114938- HTTP Base64 Activity With JVM Errors
- Java Base64 Decoder Argument Exceptions
- Java Base64 Exception With Process or File Activity
- Linux Auditd Web or Application Server Spawning a Shell
- Web or Application Server Spawning a Shell
- Windows Suspicious Child Process Spawned From WebServer
- HTTP POST Request with Encoded Payload
- Zeek HTTP Malformed Base64 Padding
-
correlates · Splunk risk datamodel
PHP2Shell- Inline PHP Code Execution
- Linux Auditd Inline PHP Code Execution
- Linux Auditd Service Crash and Restart Burst
- Linux Auditd Web or Application Server Spawning a Shell
- Web or Application Server Spawning a Shell
- Windows Suspicious Child Process Spawned From WebServer
- Cisco Secure Firewall - PHP2Shell Exploitation Attempt
- Cisco Secure Firewall - PHP2Shell Serialized Payload Activity
- Cisco Secure Firewall - PHP2Shell Suspicious Upload Activity
- Large HTTP POST Request Failure or Missing Response - Suricata
- Large HTTP POST Request Resulting in Server Error
- PHP Memory Exhaustion Exploitation Attempt via Multipart Request
- PHP Opening Tag in Upload Filename - Suricata
- PHP Session Upload Progress Serialized Payload in Upload Filename
- PHP Session Upload Progress with PHP Code in Upload Filename
- PHP Worker Segmentation Fault After Multipart POST
- Serialized PHP Token in Upload Filename - Suricata
-
correlates · Splunk risk datamodel
PHP November 2026 Critical Vulnerabilities -
correlates · Splunk risk datamodel
PHP November 2026 SOAP Vulnerabilities -
correlates · Splunk risk datamodel
Ruby2Shell - CVE-2026-132825 -
correlates · Splunk risk datamodel
Upload2Shell - CVE-2026-125396
Implementation guide
Enable at least one web analytic and one endpoint analytic named in the search, and configure them to write system risk events to Enterprise Security. Finding-only endpoint analytics need a risk action enabled before this Risk data model search can consume them. Configure ES asset identification with each web server's IP and hostname. The search uses the ES asset lookup to join web destination IPs and endpoint hostnames on the server IP. Without that mapping, the two signals cannot join. Run this search every 5 minutes over a lookback of at least 20 minutes, and throttle findings by risk_object for 15 minutes to avoid repeats from overlapping windows. Tune the 900-second interval and the source list for the applications and log sources in your environment.
Known false positives
- Large uploads, malformed requests, and legitimate application maintenance can occur close together. Review the request path, process command line, service account, and application schedule before escalating.
Analyst notes
Known false positives: Large uploads, malformed requests, and legitimate application maintenance can occur close together. Review the request path, process command line, service account, and application schedule before escalating.