alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE SpyAgent C&C Activity (Request)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"update.php?id="; fast_pattern;
pcre:"/^[0-9]{9}/R";
content:"&stat=";
pcre:"/^[0-9a-zA-Z]{32}/R";
http.connection;
content:"Keep-Alive"; bsize:10;
http.header_names;
content:!"Referer|0d 0a|";
reference:url,trendmicro.com/en_us/research/21/k/campaign-abusing-rats-uses-fake-websites.html;
classtype:command-and-control;
sid:2034573; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2021_12_01, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_05_03;
)