alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE [PTsecurity] Donut Ransomware CnC Checkin";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php";
http.header;
content:"Expect|3a 20|100-continue|0d 0a|";
http.request_body;
content:"pc_id="; depth:6;
content:"pc_key="; distance:0;
content:"win_ver="; fast_pattern; distance:0;
http.content_type;
content:"application/x-www-form-urlencoded"; endswith;
http.header_names;
content:!"Referer";
content:!"User-Agent";
content:!"Accept";
content:!"Cache";
classtype:command-and-control;
sid:2025595; rev:4;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_06_19, deployment Perimeter, malware_family Donut, confidence High, signature_severity Major, tag Ransomware, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_09_16, mitre_tactic_id TA0040, mitre_tactic_name Impact, mitre_technique_id T1486, mitre_technique_name Data_Encrypted_for_Impact;
)