alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Ransomware Locky CnC Beacon 2";
flow:established,to_server;
urilen:13;
http.method;
content:"POST";
http.uri;
content:"/userinfo.php"; fast_pattern;
http.request_body;
pcre:"/[\x80-\xff]/";
http.content_type;
content:"www-form-urlencoded"; endswith;
http.header_names;
content:"|0d 0a|User-Agent|0d 0a|";
content:!"Referer";
content:!"Accept";
reference:md5,042b2e41a14b67570a993ef909621954;
classtype:command-and-control;
sid:2022769; rev:5;
metadata:attack_target Client_Endpoint, created_at 2016_04_27, deployment Perimeter, signature_severity Major, tag c2, updated_at 2020_09_15, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;
)