ET MALWARE FOX-SRT ShimRat check-in (php)


Query · suricata

flow:established,to_server;
threshold:type limit, track by_src, count 1, seconds 600;
content:"|0d 0a 0d 0a|php"; fast_pattern;
http.method;
content:"POST";
http.uri;
content:".php"; endswith;
http.request_body;
pcre:"/^php.{0,500}[\x80-\xff]/s";
http.header_names;
content:!"|0d 0a|Content-Type|0d 0a|";
content:!"|0d 0a|Referer|0d 0a|";
content:!"|0d 0a|Cookie|0d 0a|";
Raw source ET MALWARE FOX-SRT ShimRat check-in (php) · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"ET MALWARE FOX-SRT ShimRat check-in (php)";
    flow:established,to_server;
    threshold:type limit, track by_src, count 1, seconds 600;
    content:"|0d 0a 0d 0a|php"; fast_pattern;
    http.method;
    content:"POST";
    http.uri;
    content:".php"; endswith;
    http.request_body;
    pcre:"/^php.{0,500}[\x80-\xff]/s";
    http.header_names;
    content:!"|0d 0a|Content-Type|0d 0a|";
    content:!"|0d 0a|Referer|0d 0a|";
    content:!"|0d 0a|Cookie|0d 0a|";
    reference:url,blog.fox-it.com/2016/06/15/mofang-a-politically-motivated-information-stealing-adversary/;
    classtype:trojan-activity;
    sid:2022901; rev:6;
    metadata:created_at 2016_06_15, signature_severity Major, updated_at 2024_03_24;
)

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.