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;
)