alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE LolliCrypt Ransomware Sending Data to CnC";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php";
http.request_body;
content:"key="; depth:4; fast_pattern;
content:"&id="; distance:100;
content:"&date="; distance:0;
pcre:"/^(?:[A-Za-z0-9%2b%2f]{4})*(?:[A-Za-z0-9%2b%2f]{2}%3d%3d|[A-Za-z0-9%2b%2f]{3}%3d|[A-Za-z0-9%2b%2f]{4})$/Rs";
http.header_names;
content:!"Referer";
reference:md5,8e23b560b66134dcc4e21c461ed1a399;
classtype:trojan-activity;
sid:2031160; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2020_11_02, deployment Perimeter, confidence High, signature_severity Major, tag Ransomware, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_11_02, mitre_tactic_id TA0040, mitre_tactic_name Impact, mitre_technique_id T1486, mitre_technique_name Data_Encrypted_for_Impact;
)