alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE MSIL/CoalaBot CnC Activity";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php";
http.header;
content:"User-Agent|3a|";
content:"KAMA NT"; within:50; fast_pattern;
content:"BULLET|3b|"; within:20;
content:"REGION|3b|"; within:20;
http.request_body;
pcre:"/^[A-Za-z0-9]{10,}[\-\)\(]{1,2}/i";
http.header_names;
content:!"Referer|0d 0a|";
content:!"Accept";
reference:md5,523de838dd44cdd6f212d36c142d830c;
classtype:command-and-control;
sid:2024531; rev:6;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_08_09, deployment Perimeter, malware_family CoalaBot, performance_impact Moderate, confidence High, signature_severity Major, updated_at 2020_08_19;
)