Potential SAP NetWeaver WebShell Creation

Last updated 9 months ago on 2025-04-26
Created 9 months ago on 2025-04-26

About

Identifies suspicious Java file creation in the IRJ directory of the SAP NetWeaver application. This may indicate an attempt to deploy a webshell.
Tags
Domain: EndpointOS: LinuxOS: WindowsUse Case: Threat DetectionTactic: ExecutionUse Case: VulnerabilityData Source: Elastic DefendLanguage: eql
Severity
high
Risk Score
73
MITRE ATT&CK™

Execution (TA0002)(external, opens in a new tab or window)

License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
Event Correlation Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
auditbeat-*logs-endpoint.events.file*
Related Integrations

endpoint(external, opens in a new tab or window)

Query
text code block:
file where host.os.type in ("linux", "windows") and event.action == "creation" and file.extension : ("jsp", "java", "class") and file.path : ("/*/sap.com/*/servlet_jsp/irj/root/*", "/*/sap.com/*/servlet_jsp/irj/work/*", "?:\\*\\sap.com\\*\\servlet_jsp\\irj\\root\\*", "?:\\*\\sap.com\\*\\servlet_jsp\\irj\\work\\*")

Install detection rules in Elastic Security

Detect Potential SAP NetWeaver WebShell Creation in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).