ET MALWARE Win32/Scarsi Variant CnC Activity


Query · suricata

flow:to_server,established;
http.uri;
content:"/WP";
content:".php"; within:50; endswith;
pcre:"/\/WP(?:Security|CoreLog)\/(?:data\/)?\w+\.php$/i";
http.header;
content:"Content-Length|3a 20|";
byte_test:1,>,0x30,0,relative;
http.request_body;
pcre:"/^[\x20-\x25\x27-\x3c\x3e-\x7e]{25,}$/si";
http.content_type;
content:"application/x-www-form-urlencoded|3b 20|Charset=UTF-8"; fast_pattern; bsize:48;
http.header_names;
content:!"Referer|0d 0a|";
Raw source ET MALWARE Win32/Scarsi Variant CnC Activity · 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/Scarsi Variant CnC Activity";
    flow:to_server,established;
    http.uri;
    content:"/WP";
    content:".php"; within:50; endswith;
    pcre:"/\/WP(?:Security|CoreLog)\/(?:data\/)?\w+\.php$/i";
    http.header;
    content:"Content-Length|3a 20|";
    byte_test:1,>,0x30,0,relative;
    http.request_body;
    pcre:"/^[\x20-\x25\x27-\x3c\x3e-\x7e]{25,}$/si";
    http.content_type;
    content:"application/x-www-form-urlencoded|3b 20|Charset=UTF-8"; fast_pattern; bsize:48;
    http.header_names;
    content:!"Referer|0d 0a|";
    reference:md5,52c193a7994a6bb55ec85addc8987c10;
    classtype:command-and-control;
    sid:2024758; rev:8;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_09_21, deployment Perimeter, malware_family Win32_Scarsi, performance_impact Low, confidence High, signature_severity Major, updated_at 2020_11_19;
)

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.