Windows Suspicious File Write to Apache/Tomcat webapps ROOT (.jsp) by Web Server Processes

Alerts on .jsp writes into Apache/Tomcat webapps ROOT from dotnet/java/IIS worker processes on Windows.

FreeReviewedSigma · Medium · v2
Product
windows
Category
file_event
Author
Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2025-10-20
Updated
2026-07-31

ATT&CK techniques

Initial Access → Persistence
  1. Recon

  2. Resource Dev

  3. Execution

  4. Priv Esc

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule flags file creation or modification events where the target path is the webapps ROOT directory and the written file ends with .jsp. It focuses on activity where the originating process image name is dotnet.exe, w3wp.exe (IIS worker), or java.exe, and where the filename path contains apache or tomcat. Such behavior can indicate an attacker attempting to deploy unauthorized server-side scripts (e.g., web shells). Telemetry required includes Windows file event data with process image and target filename/path fields.

Related detections9 linkedT1190 — drag to rearrange
Malicious Web Shell Written to SharePoint LAYOUTS Directory by Worker Process (via file_event)
Malicious Command Shell Spawned by SQL Server via Process Creation (via process_creation)
Possible GoAnywhere MFT Exploitation via Tomcat Spawning Discovery Commands
Suspicious Command Shell Spawned by MSSQL Server Process Indicating Webshell
Malicious MOVEit Transfer Exploitation via X-siLock HTTP Headers (via webserver)
Malicious IIS w3wp Worker Spawning Command Interpreter via SharePoint Web Shell
Suspicious Single-Character Named Executable Launched by Web Server Process (via process_creation)
Malicious MOVEit human2.aspx Web Shell Dropped in wwwroot (via file_event)
Malicious IIS Worker Process Spawning PowerShell via Gladinet CentreStack Exploit
Windows Suspicious File Write to Apache/Tomcat webapps ROOT (.jsp) by Web Server Processes
Pivot detection · T1190 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.