Linux: Suspicious child processes spawned by SAP NetWeaver (web application directories)
Alerts when SAP NetWeaver work/root paths spawn common shells or utilities on Linux, indicating potential malicious command execution.
- Product
- linux
- Category
- process_creation
- 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 → ExecutionRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags Linux process creation where SAP NetWeaver runs a command-line interpreter, scripting/runtime, or common network/file-transfer utilities from within specific SAP servlet JSP work/root directories. Such parent-child process relationships can indicate webshell activity or post-exploitation command execution occurring from application context. It relies on process telemetry including ParentImage, CurrentDirectory, and the executed Image path suffix (e.g., /bash, /python3, /curl, /wget, /nc, /nmap).
Reporting behind it
- reliaquest.comhttps://reliaquest.com/blog/threat-spotlight-reliaquest-uncovers-vulnerability-behind-sap-netweaver-compromise/
- onapsis.comhttps://onapsis.com/blog/active-exploitation-of-sap-vulnerability-cve-2025-31324/
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2025/Exploits/CVE-2025-31324/proc_creation_lnx_sap_netweaver_susp_child_process.yml
Changelog
v5- v5Candidate ingested via manual entry.2026-07-31
- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No 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.
title: "Linux: Suspicious child processes spawned by SAP NetWeaver (web application directories)"
id: 2f89e293-c277-4e83-b97c-06a33c61f4a3
status: experimental
description: This rule flags Linux process creation where SAP NetWeaver runs a command-line interpreter, scripting/runtime, or common network/file-transfer utilities from within specific SAP servlet JSP work/root directories. Such parent-child process relationships can indicate webshell activity or post-exploitation command execution occurring from application context. It relies on process telemetry including ParentImage, CurrentDirectory, and the executed Image path suffix (e.g., /bash, /python3, /curl, /wget, /nc, /nmap).
author: Elastic (idea), Swachchhanda Shrawan Poudel (Nextron Systems), Huntrule Team
date: 2025-04-28
tags:
- attack.execution
- attack.initial-access
- attack.t1190
- attack.persistence
- attack.t1059.003
- cve.2025-31324
- detection.emerging-threats
references:
- https://reliaquest.com/blog/threat-spotlight-reliaquest-uncovers-vulnerability-behind-sap-netweaver-compromise/
- https://onapsis.com/blog/active-exploitation-of-sap-vulnerability-cve-2025-31324/
- https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2025/Exploits/CVE-2025-31324/proc_creation_lnx_sap_netweaver_susp_child_process.yml
logsource:
category: process_creation
product: linux
detection:
selection_parent_img:
ParentImage|contains:
- /j2ee/cluster/apps/sap.com/irj/servlet_jsp/irj/work
- /j2ee/cluster/apps/sap.com/irj/servlet_jsp/irj/root
selection_current_dict:
CurrentDirectory|contains:
- /j2ee/cluster/apps/sap.com/irj/servlet_jsp/irj/work
- /j2ee/cluster/apps/sap.com/irj/servlet_jsp/irj/root
selection_child:
Image|endswith:
- /ash
- /bash
- /csh
- /dash
- /ksh
- /sh
- /tcsh
- /zsh
- /python
- /python2
- /python3
- /perl
- /ruby
- /curl
- /wget
- /nc
- /netcat
- /ncat
- /socat
- /nmap
- /telnet
- /awk
- /sed
condition: (selection_parent_img or selection_current_dict) and selection_child
falsepositives:
- Legitimate administrative activities such as software updates
level: medium
license: DRL-1.1
related:
- id: 69dea60b-2deb-4c9e-a685-ad542f4367f9
type: derived