
Summary
Identifies a potential Linux web server compromise by correlating five web server behavior alerts on the same host within a 10-minute window. The rule relies on five source rules: Suspicious Child Execution via Web Server, Suspicious Command Execution via Web Server, Unusual Child Execution via Web Server, Unusual Command Execution via Web Server, and Unusual File Creation via Web Server. It uses a weighted scoring model: 3 points for each suspicious process alert, 2 points for each unusual process alert, and 1 point for an unusual file creation alert (the file alert contribution is capped). To fire, the correlation requires at least 3 source alerts, at least 2 process-execution alerts, a correlation score of 6 or higher, and a time span of 600 seconds or less between the first and last contributing alerts. The alert is grouped by host.id, and Esql.*_values fields summarize the contributing alerts without preserving the exact relationships between individual field values. The rule is designed to surface web-shell or attacker-command-execution activity on an internet-facing web server and to aid rapid triage across process trees, command lines, files, and related activity. Investigation steps include reviewing the correlation score and contributing alert counts, inspecting process command lines, exes, parents, users and process trees for shells, interpreters, downloaders, encoded commands, or lateral movement; examining file paths for web shells or payloads; correlating with web server and application logs, source IPs, and upload events; and checking outbound connections and persistence indicators. False positives may arise from legitimate deployments, diagnostics, vulnerability scans, or new web features generating multiple alerts in short succession. Remediation guidance covers isolating the host if unauthorized, terminating attacker-controlled processes, removing web shells and payloads, rotating credentials, patching vulnerable components, and scanning for同影 across other internet-facing systems. The rule maps to MITRE ATT&CK techniques T1190 (Exploitation of Public-Facing Application) for Initial Access, T1059 (Command and Scripting Interpreter) with the Unix Shell subtechnique, and T1505 (Web Shell) for persistence. The combined signals aim to provide a high-visibility indicator of compromise on Linux web servers with actionable triage data for incident response.
Categories
- Endpoint
- Web
- Linux
Data Sources
- Process
- File
ATT&CK Techniques
- T1190
- T1059
- T1059.004
- T1505
- T1505.003
Created: 2026-11-26