ET WEB_CLIENT Possible BadRabbit Driveby Download M2 Oct 24 2017


Query · suricata

flow:established,from_server;
file_data;
content:"Msxml2.XMLHTTP.6.0"; fast_pattern;
content:"InjectionString"; nocase; distance:0;
content:"hasOwnProperty"; nocase; distance:0;
content:"navigator"; nocase; distance:0;
pcre:"/^\s*\.\s*userAgent/Ri";
content:"document"; nocase; distance:0;
pcre:"/^\s*\.\s*referrer/Ri";
content:"document"; nocase; distance:0;
pcre:"/^\s*\.\s*cookie/Ri";
content:"window"; nocase; distance:0;
pcre:"/^\s*\.\s*location\s*\.\s*hostname/Ri";
content:"!!document"; nocase; distance:0;
pcre:"/^\s*\.\s*cookie/Ri";
Raw source ET WEB_CLIENT Possible BadRabbit Driveby Download M2 Oct 24 2017 · 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 -> $HOME_NET any (
    msg:"ET WEB_CLIENT Possible BadRabbit Driveby Download M2 Oct 24 2017";
    flow:established,from_server;
    file_data;
    content:"Msxml2.XMLHTTP.6.0"; fast_pattern;
    content:"InjectionString"; nocase; distance:0;
    content:"hasOwnProperty"; nocase; distance:0;
    content:"navigator"; nocase; distance:0;
    pcre:"/^\s*\.\s*userAgent/Ri";
    content:"document"; nocase; distance:0;
    pcre:"/^\s*\.\s*referrer/Ri";
    content:"document"; nocase; distance:0;
    pcre:"/^\s*\.\s*cookie/Ri";
    content:"window"; nocase; distance:0;
    pcre:"/^\s*\.\s*location\s*\.\s*hostname/Ri";
    content:"!!document"; nocase; distance:0;
    pcre:"/^\s*\.\s*cookie/Ri";
    reference:url,www.welivesecurity.com/2017/10/24/bad-rabbit-not-petya-back/;
    classtype:trojan-activity;
    sid:2024912; rev:2;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Web_Browsers, attack_target Client_Endpoint, created_at 2017_10_24, deployment Perimeter, confidence Medium, signature_severity Major, tag DriveBy, updated_at 2019_07_26;
)

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.