title: Potential SAP NetWeaver Webshell Creation - Linux id: 5b91409c-cb18-4ab6-ac75-c5759f998409 status: experimental description: | 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. references: - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-31324 - 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/ author: Elastic (idea), Swachchhanda Shrawan Poudel (Nextron Systems) date: 2025-04-28 tags: - attack.execution - attack.initial-access - attack.t1190 - attack.persistence - attack.t1059.003 - cve.2025-31324 - detection.emerging-threats logsource: product: linux category: file_event detection: selection_path: TargetFilename|contains: - '/j2ee/cluster/apps/sap.com/irj/servlet_jsp/irj/work/' - '/j2ee/cluster/apps/sap.com/irj/servlet_jsp/irj/root/' selection_ext: TargetFilename|endswith: - '.jsp' - '.java' - '.class' condition: all of selection_* falsepositives: - Legitimate creation of jsc or java files in these locations level: medium