ET MALWARE Locky CnC checkin Nov 21 M2


Query · suricata

flow:to_server,established;
http.method;
content:"POST";
http.uri;
content:".cgi";
pcre:"/\.cgi$/";
http.header;
content:"x-requested-with|3a 20|XMLHttpRequest|0d 0a|";
pcre:"/^Referer\x3a\x20http\x3a\x2f\x2f\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\x2f\r?$/m";
content:"www-form-urlencoded|0d 0a|";
http.request_body;
pcre:"/^(?:[A-Za-z]{1,10}=(?=[A-Za-z0-9_+\x2d\x2e%]*%[A-F0-9]{2}%[A-F0-9]{2}%[A-F0-9]{2})[A-Za-z0-9_+\x2d\x2e%]+&)+(?=[a-z]{0,9}[A-Z])(?=[A-Z]{0,9}[a-z])[A-Za-z]{1,10}=(?=[A-Za-z0-9_+\x2d\x2e%]*%[A-F0-9]{2}%[A-F0-9]{2}%[A-F0-9]{2})[A-Za-z0-9_+\x2d\x2e%]+\s*$/";
Raw source ET MALWARE Locky CnC checkin Nov 21 M2 · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"ET MALWARE Locky CnC checkin Nov 21 M2";
    flow:to_server,established;
    http.method;
    content:"POST";
    http.uri;
    content:".cgi";
    pcre:"/\.cgi$/";
    http.header;
    content:"x-requested-with|3a 20|XMLHttpRequest|0d 0a|";
    pcre:"/^Referer\x3a\x20http\x3a\x2f\x2f\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\x2f\r?$/m";
    content:"www-form-urlencoded|0d 0a|";
    http.request_body;
    pcre:"/^(?:[A-Za-z]{1,10}=(?=[A-Za-z0-9_+\x2d\x2e%]*%[A-F0-9]{2}%[A-F0-9]{2}%[A-F0-9]{2})[A-Za-z0-9_+\x2d\x2e%]+&)+(?=[a-z]{0,9}[A-Z])(?=[A-Z]{0,9}[a-z])[A-Za-z]{1,10}=(?=[A-Za-z0-9_+\x2d\x2e%]*%[A-F0-9]{2}%[A-F0-9]{2}%[A-F0-9]{2})[A-Za-z0-9_+\x2d\x2e%]+\s*$/";
    classtype:command-and-control;
    sid:2023552; rev:3;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2016_11_21, deployment Perimeter, malware_family Locky, performance_impact Low, confidence High, signature_severity Major, updated_at 2020_08_03;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.