alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE TA402/Molerats CnC Checkin";
flow:to_server,established;
http.method;
content:"POST";
http.uri;
content:".php"; endswith;
pcre:"/^\/[A-Za-z0-9]{30}\.php$/U";
http.header_names;
content:!"Referer";
http.request_body;
content:"aW50ZXJuYWwgY2xhc3M"; startswith; fast_pattern;
content:"IHs"; distance:0; within:20;
content:"cHVibGljIHN0cmluZw"; within:20;
classtype:trojan-activity;
sid:2035112; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2021_12_27, deployment Perimeter, malware_family Molerats, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_02_07;
)