Potential SAP NetViewer Webshell Command Execution
Description
Detects potential command execution via webshell in SAP NetViewer through JSP files with cmd parameter. This rule is created to detect exploitation of vulnerabilities like CVE-2025-31324, which allows remote code execution via a webshell.
Query · sigma
selection_uri: cs-uri-stem|contains|all: - /irj/ - .jsp selection_query: - cs-uri-query|startswith: - cmd= - command= - exec_cmd= - exec= - cs-uri-query|contains: - /dev/tcp - /etc/passwd - '%2fdev%2ftcp' - '%2fetc%2fpasswd' - =uname - =whoami - ifconfig - ping - pwd - cs-uri-query|contains|all: - echo - base64 condition: all of selection_*
Known false positives
- Legitimate applications using cmd parameter for non-malicious purposes