alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE WS/JS Downloader Mar 07 2017 M1";
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.user_agent;
content:"MSIE 7.0";
http.header_names;
content:!"Referer";
content:!"Cookie";
classtype:trojan-activity;
sid:2024035; rev:5;
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_08_18;
)