alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE MuddyWater Payload Requesting Command from CnC";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"|2f|command|2f|"; depth:9; fast_pattern;
content:".cmd"; endswith;
pcre:"/^\/command\/[A-Fa-f0-9]{8}\-(?:[A-Fa-f0-9]{4}\-){3}[A-Fa-f0-9]{12}\.cmd$/";
reference:url,mp.weixin.qq.com/s/ko5ct9mnW78pD_RRqEUSkg;
classtype:targeted-activity;
sid:2027684; rev:4;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_07_04, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, tag MuddyWater, updated_at 2022_03_24;
)