ET WEB_CLIENT Possible BadRabbit Driveby Download M1 Oct 24 2017


Query · suricata

flow:established,from_server;
file_data;
content:"InjectionString"; fast_pattern;
content:"setRequestHeader"; nocase;
pcre:"/^\s*\(\s*[\x22\x27]Content\-Type/Ri";
content:"onreadystatechange"; nocase; distance:0;
content:"readyState"; nocase; distance:0;
pcre:"/^\s*==\s*4/Ri";
content:"status"; nocase; distance:0;
pcre:"/^\s*==\s*200/Ri";
content:"navigator"; nocase;
pcre:"/^\s*\.\s*userAgent/Ri";
content:"document"; nocase;
pcre:"/^\s*\.\s*referrer/Ri";
content:"document"; nocase;
pcre:"/^\s*\.\s*cookie/Ri";
content:"window"; nocase;
pcre:"/^\s*\.\s*location\s*\.\s*hostname/Ri";
content:"document"; nocase;
pcre:"/^\s*\.\s*cookie/Ri";
Raw source ET WEB_CLIENT Possible BadRabbit Driveby Download M1 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 M1 Oct 24 2017";
    flow:established,from_server;
    file_data;
    content:"InjectionString"; fast_pattern;
    content:"setRequestHeader"; nocase;
    pcre:"/^\s*\(\s*[\x22\x27]Content\-Type/Ri";
    content:"onreadystatechange"; nocase; distance:0;
    content:"readyState"; nocase; distance:0;
    pcre:"/^\s*==\s*4/Ri";
    content:"status"; nocase; distance:0;
    pcre:"/^\s*==\s*200/Ri";
    content:"navigator"; nocase;
    pcre:"/^\s*\.\s*userAgent/Ri";
    content:"document"; nocase;
    pcre:"/^\s*\.\s*referrer/Ri";
    content:"document"; nocase;
    pcre:"/^\s*\.\s*cookie/Ri";
    content:"window"; nocase;
    pcre:"/^\s*\.\s*location\s*\.\s*hostname/Ri";
    content:"document"; nocase;
    pcre:"/^\s*\.\s*cookie/Ri";
    reference:url,www.welivesecurity.com/2017/10/24/bad-rabbit-not-petya-back/;
    reference:url,www.fireeye.com/blog/threat-research/2017/10/backswing-pulling-a-badrabbit-out-of-a-hat.html;
    classtype:trojan-activity;
    sid:2024911; rev:5;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Web_Browsers, attack_target Client_and_Server, created_at 2017_10_24, deployment Perimeter, confidence Medium, signature_severity Major, tag DriveBy, updated_at 2020_08_19;
)

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.