alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE J-Spy JSP webshell request";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".jsp"; endswith;
http.referer;
content:".jsp"; endswith;
http.request_body;
content:"action="; fast_pattern; startswith;
pcre:"/^(?:FileManager|PortScan|ExecuteCommand|DatabaseManager)/R";
reference:url,github.com/dingody/jspy;
classtype:trojan-activity;
sid:2036648; rev:1;
metadata:attack_target Web_Server, created_at 2022_05_20, deployment Perimeter, deployment SSLDecrypt, malware_family J_spy, performance_impact Low, confidence High, signature_severity Major, tag WebShell, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_05_20;
)