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.initial-access
15    - attack.t1190
16    - attack.persistence
17    - attack.t1059.003
18    - cve.2025-31324
19    - detection.emerging-threats
20logsource:
21    product: windows
22    category: file_event
23detection:
24    selection_path:
25        TargetFilename|contains:
26            - '\j2ee\cluster\apps\sap.com\irj\servlet_jsp\irj\work'
27            - '\j2ee\cluster\apps\sap.com\irj\servlet_jsp\irj\root'
28    selection_ext:
29        TargetFilename|endswith:
30            - '.jsp'
31            - '.java'
32            - '.class'
33    condition: all of selection_*
34falsepositives:
35    - Legitimate creation of jsc or java files in these locations
36level: medium

References

Related rules

to-top