ET MALWARE Cknife Shell Command Struct Inbound (aspx)


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.user_agent;
content:"Java"; startswith;
http.request_body;
content:"=Response.Write"; depth:18; fast_pattern;
content:"eval"; distance:0;
http.header_names;
content:!"|0d 0a|Referer|0d 0a|";
content:"|0d 0a|User-Agent|0d 0a|"; startswith;
Raw source ET MALWARE Cknife Shell Command Struct Inbound (aspx) · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (
    msg:"ET MALWARE Cknife Shell Command Struct Inbound (aspx)";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.user_agent;
    content:"Java"; startswith;
    http.request_body;
    content:"=Response.Write"; depth:18; fast_pattern;
    content:"eval"; distance:0;
    http.header_names;
    content:!"|0d 0a|Referer|0d 0a|";
    content:"|0d 0a|User-Agent|0d 0a|"; startswith;
    reference:url,www.recordedfuture.com/web-shell-analysis-part-2;
    classtype:trojan-activity;
    sid:2022977; rev:4;
    metadata:attack_target Web_Server, created_at 2016_07_20, deployment Datacenter, performance_impact Low, signature_severity Major, updated_at 2024_03_12;
)

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.