alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE TA582 CnC Checkin";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"|3f|s|3d|";
pcre:"/^(?:[a-z0-9]{8}\x2d[a-z0-9]{4}\x2d[a-z0-9]{4}\x2d[a-z0-9]{4}\x2d[a-z0-9]{12})/R";
content:"&id="; within:5;
content:"&key="; distance:0;
http.user_agent;
content:"WindowsPowerShell"; fast_pattern;
http.host;
content:".top";
pcre:"/[a-n]{15}\.top/W";
reference:md5,757e4dbf84c9e02c7a2609a4a3180fe9;
classtype:command-and-control;
sid:2060108; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, tls_state plaintext, created_at 2025_02_14, deployment Perimeter, confidence High, signature_severity Critical, tag c2, tag TA582, updated_at 2025_02_14, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;
target:src_ip;
)