alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE MSIL/Agent.ATS CnC Activity";
flow:established,to_server;
http.uri;
content:"php?Hwid=S-"; fast_pattern;
content:"-"; distance:0;
content:"-"; distance:0;
content:"-"; distance:0;
pcre:"/\.php\?Hwid=[^&]+[0-9](?:&(?:Pc|Etat)=[^&]+)?(?:&user=[^&]+&Ip=[^&]+&Ping=[^&]+&v=[^&]+&Ville=[^&]+&Pays=[^&]+&Region=[^&]+)?$/i";
http.header_names;
content:!"User-Agent|0d 0a|";
content:!"Accept";
content:!"Referer|0d 0a|";
reference:md5,53d3ee595bc5df7e97403906f1415c21;
classtype:command-and-control;
sid:2024528; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_08_08, deployment Perimeter, malware_family MSIL_Agent_ATS, performance_impact Moderate, confidence High, signature_severity Major, updated_at 2020_08_11;
)