alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE [PTsecurity] Trojan.JS.Agent.dwz Checkin 2";
flow:established,to_server;
http.method;
content:"POST";
http.accept;
content:"*/*"; startswith;
http.content_type;
content:"application/x-www-form-urlencoded"; startswith;
http.user_agent;
content:"Mozilla/4.0 (compatible|3b 20|MSIE 7.0|3b 20|Windows NT 6.1|3b|"; startswith;
http.header;
content:"auth255|3a 20|login"; fast_pattern;
http.accept_enc;
content:"gzip, deflate"; startswith;
http.header_names;
content:!"|0d 0a|Referer|0d 0a|";
content:"|0d 0a|Accept|0d 0a|";
content:"|0d 0a|Accept-Language|0d 0a|"; distance:-2;
content:"|0d 0a|auth255|0d 0a|"; distance:-2;
content:"|0d 0a|Content-Type|0d 0a|"; distance:-2;
content:"|0d 0a|Accept-Encoding|0d 0a|"; distance:-2;
content:"|0d 0a|User-Agent|0d 0a|"; distance:-2;
http.request_body;
content:"a="; depth:2;
pcre:"/^(?:[a-f0-9]{2}){23,60}$/R";
classtype:command-and-control;
sid:2025530; rev:5;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_04_23, deployment Perimeter, confidence High, signature_severity Major, updated_at 2024_03_11;
)