ET MALWARE WS/JS Downloader Mar 07 2017 M2


Query · suricata

flow:established,to_server;
http.uri;
content:"/counter/?"; fast_pattern;
pcre:"/\/counter\/(?:\?[a-z]?\d{1,2}$|[^\x2f]*\d\.exe$|.*?[?=](?=[A-Za-z_-]{0,200}[0-9][A-Za-z_-]{0,200}[0-9])(?=[A-Z0-9_-]{0,200}[a-z][A-Z0-9_-]{0,200}[a-z])(?=[a-z0-9_-]{0,200}[A-Z][a-z0-9_-]{0,200}[A-Z])[A-Za-z0-9_-]{50,}(?:&|$))/";
http.header_names;
content:!"Referer|0d 0a|";
content:!"Cookie|0d 0a|";
content:!"User-Agent|0d 0a|";
Raw source ET MALWARE WS/JS Downloader Mar 07 2017 M2 · 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 WS/JS Downloader Mar 07 2017 M2";
    flow:established,to_server;
    http.uri;
    content:"/counter/?"; fast_pattern;
    pcre:"/\/counter\/(?:\?[a-z]?\d{1,2}$|[^\x2f]*\d\.exe$|.*?[?=](?=[A-Za-z_-]{0,200}[0-9][A-Za-z_-]{0,200}[0-9])(?=[A-Z0-9_-]{0,200}[a-z][A-Z0-9_-]{0,200}[a-z])(?=[a-z0-9_-]{0,200}[A-Z][a-z0-9_-]{0,200}[A-Z])[A-Za-z0-9_-]{50,}(?:&|$))/";
    http.header_names;
    content:!"Referer|0d 0a|";
    content:!"Cookie|0d 0a|";
    content:!"User-Agent|0d 0a|";
    classtype:trojan-activity;
    sid:2024036; rev:6;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_03_08, deployment Perimeter, confidence High, signature_severity Major, updated_at 2020_11_03;
)

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.