Potential SAP NetWeaver Webshell Creation

Detects the creation of suspicious files (jsp, java, class) in SAP NetWeaver directories, which may indicate exploitation attempts of vulnerabilities such as CVE-2025-31324.

Sigma rule (View on GitHub)

 1title: Potential SAP NetWeaver Webshell Creation
 2id: 86a7c91f-98c3-4f14-a58d-d989421e1234
 3status: experimental
 4description: |
 5    Detects the creation of suspicious files (jsp, java, class) in SAP NetWeaver directories,
 6    which may indicate exploitation attempts of vulnerabilities such as CVE-2025-31324.    
 7references:
 8    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-31324
 9    - https://reliaquest.com/blog/threat-spotlight-reliaquest-uncovers-vulnerability-behind-sap-netweaver-compromise/
10    - https://onapsis.com/blog/active-exploitation-of-sap-vulnerability-cve-2025-31324/
11author: Elastic (idea), Swachchhanda Shrawan Poudel (Nextron Systems)
12date: 2025-04-28
13tags:
14    - attack.execution
15    - attack.initial-access
16    - attack.t1190
17    - attack.persistence
18    - attack.t1059.003
19    - cve.2025-31324
20    - detection.emerging-threats
21logsource:
22    product: windows
23    category: file_event
24detection:
25    selection_path:
26        TargetFilename|contains:
27            - '\j2ee\cluster\apps\sap.com\irj\servlet_jsp\irj\work'
28            - '\j2ee\cluster\apps\sap.com\irj\servlet_jsp\irj\root'
29    selection_ext:
30        TargetFilename|endswith:
31            - '.jsp'
32            - '.java'
33            - '.class'
34    condition: all of selection_*
35falsepositives:
36    - Legitimate creation of jsc or java files in these locations
37level: medium

References

Related rules

to-top