alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/CryptFile2 / Revenge Ransomware Checkin M3";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php"; endswith;
http.request_body;
content:"id="; depth:3;
content:"&count="; distance:0; fast_pattern;
pcre:"/^id=[0-9A-Z]+&count=/";
http.header_names;
content:!"Referer|0d 0a|";
content:!"User-Agent|0d 0a|";
reference:md5,116fbce554b25829b17b6e47990821b4;
classtype:command-and-control;
sid:2024056; rev:4;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_03_15, deployment Perimeter, malware_family CryptFile2, confidence High, signature_severity Major, tag Ransomware, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_08_04, mitre_tactic_id TA0040, mitre_tactic_name Impact, mitre_technique_id T1486, mitre_technique_name Data_Encrypted_for_Impact;
)