ET MALWARE Win32/CryPy Ransomware CnC Checkin


Query · suricata

flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/victim.php?info="; fast_pattern;
content:"&ip="; distance:0;
pcre:"/\/victim\.php\?info=(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})&ip=(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/i";
http.user_agent;
content:"Python-urllib"; startswith;
http.header_names;
content:!"Accept";
content:!"Referer|0d 0a|";
Raw source ET MALWARE Win32/CryPy Ransomware CnC Checkin · 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 Win32/CryPy Ransomware CnC Checkin";
    flow:established,to_server;
    http.method;
    content:"GET";
    http.uri;
    content:"/victim.php?info="; fast_pattern;
    content:"&ip="; distance:0;
    pcre:"/\/victim\.php\?info=(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})&ip=(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/i";
    http.user_agent;
    content:"Python-urllib"; startswith;
    http.header_names;
    content:!"Accept";
    content:!"Referer|0d 0a|";
    reference:md5,8bd7cd1eee4594ad4886ac3f1a05273b;
    reference:url,nakedsecurity.sophos.com/2016/10/18/data-stealing-crpy-ransomware/;
    classtype:command-and-control;
    sid:2023345; rev:4;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2016_09_09, deployment Perimeter, malware_family Ransomware, signature_severity Major, tag Ransomware, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_07_31, mitre_tactic_id TA0040, mitre_tactic_name Impact, mitre_technique_id T1486, mitre_technique_name Data_Encrypted_for_Impact;
)

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.