ET WEB_SERVER BlackSquid JSP Webshell Outbound


Query · suricata

flow:established,from_server;
http.stat_code;
content:"200";
file.data;
content:"<|25 25|java.io.InputStream|20|"; depth:25;
content:"Runtime.getRunetime|28 29|.exec|28|request"; within:50;
content:".getInputStream|28 29 3b|int|20|"; distance:0; fast_pattern;
Raw source ET WEB_SERVER BlackSquid JSP Webshell Outbound · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $HTTP_SERVERS any -> $EXTERNAL_NET any (
    msg:"ET WEB_SERVER BlackSquid JSP Webshell Outbound";
    flow:established,from_server;
    http.stat_code;
    content:"200";
    file.data;
    content:"<|25 25|java.io.InputStream|20|"; depth:25;
    content:"Runtime.getRunetime|28 29|.exec|28|request"; within:50;
    content:".getInputStream|28 29 3b|int|20|"; distance:0; fast_pattern;
    reference:url,blog.trendmicro.com/trendlabs-security-intelligence/blacksquid-slithers-into-servers-and-drives-with-8-notorious-exploits-to-drop-xmrig-miner/;
    classtype:attempted-admin;
    sid:2027433; rev:3;
    metadata:attack_target Web_Server, created_at 2019_06_04, deployment Perimeter, performance_impact Low, signature_severity Major, updated_at 2020_11_18;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.