Linux File Events: Webshell-like JSP/Java/Class Creation in SAP NetWeaver Directories

Alerts on Linux file creation of .jsp/.java/.class under SAP NetWeaver IRJ servlet paths that may indicate webshell deployment.

FreeReviewedSigma · Medium · v5
Product
linux
Category
file_event
Author
Elastic (idea), Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2025-04-28
Updated
2026-07-31

ATT&CK techniques

Initial Access → Execution
  1. Recon

  2. Resource Dev

  3. Persistence

  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 Linux file events where a file is created in specific SAP NetWeaver work directories and the filename extension ends with .jsp, .java, or .class. Creating or dropping these artifacts in the web application path can indicate webshell upload or other server-side code execution attempts. It relies on file_event telemetry that includes the target file path and supports substring and filename extension matching.

Related detections9 linkedT1059.003 — drag to rearrange
Malicious IIS Worker Spawning nslookup via WS_FTP Deserialization
Suspicious Reconnaissance Commands Spawned by Samsung MagicINFO Server
Suspicious SolarWinds Web Help Desk Java Process Spawning Command Shell (via process_creation)
MSSQL Server Process Spawning Command Shell via xp_cmdshell
Malicious Command Shell Spawned by Wing FTP Server Process
Suspicious MSSQL xp_cmdshell OS Command Execution via sqlservr.exe (via process_creation)
Windows Process Creation: CrushFTP spawning PowerShell, CMD, and scripting tool execution
Windows: Suspicious Command-Line Child Processes Spawned by SAP NetWeaver Paths
Linux: Suspicious child processes spawned by SAP NetWeaver (web application directories)
Linux File Events: Webshell-like JSP/Java/Class Creation in SAP NetWeaver Directories
Pivot detection · T1059.003 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. 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.