Java Writing JSP File
The following analytic detects the Java process writing a .jsp file to disk, which may indicate a web shell being deployed. It leverages data from the Endpoint datamodel, specifically monitoring process and…
Description
The following analytic detects the Java process writing a .jsp file to disk, which may indicate a web shell being deployed. It leverages data from the Endpoint datamodel, specifically monitoring process and filesystem activities. This activity is significant because web shells can provide attackers with remote control over the compromised server, leading to further exploitation. If confirmed malicious, this could allow unauthorized access, data exfiltration, or further compromise of the affected system, posing a severe security risk.
Detection logic
Detection requirements
- Platform
- ContainersESXiIaaSLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source category
- sysmon_for_linux_eventid_1_and_sysmon_for_linux_eventid_11
Known benign triggers
- False positives are possible and filtering may be required. Restrict by assets or filter known jsp files that are common for the environment.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| github.com/TheGejr/SpringShell | 3 |
| www.microsoft.com/security/blog/2022/04/04/springshell-rce-vulnerability-guidance-for-protecting-against-and-detecting-cve-2022-22965/ | 3 |
| www.tenable.com/blog/spring4shell-faq-spring-framework-remote-code-execution-vulnerability | 3 |
From the source
- At source
- Open at source
- Upstream identifier
- eb65619c-4f8d-4383-a975-d352765d344b
- Tagged by the source as
- Atlassian Confluence Server and Data Center CVE-2022-26134SAP NetWeaver ExploitationSpring4Shell CVE-2022-22965SysAid On-Prem Software CVE-2023-47246 VulnerabilityEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1