ET MALWARE Build Your Own Botnet CnC Exfil (POST)


Query · suricata

flow:established,to_server;
urilen:13;
http.method;
content:"POST";
http.uri;
content:"/api/file/add"; fast_pattern;
http.content_type; bsize:16;
content:"application/json";
http.request_body;
content:"|7b|"; startswith;
content:"|22|data|22 3a 20 22|"; distance:0;
content:"|22|filename|22 3a 20 22|"; distance:0;
content:"|22|type|22 3a 20 22|"; distance:0;
content:"|22|owner|22 3a 20 22|"; distance:0;
content:"|22|module|22 3a 20 22|"; distance:0;
content:"|22|session|22 3a 20 22|"; distance:0;
target:src_ip;
Raw source ET MALWARE Build Your Own Botnet CnC Exfil (POST) · 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 Build Your Own Botnet CnC Exfil (POST)";
    flow:established,to_server;
    urilen:13;
    http.method;
    content:"POST";
    http.uri;
    content:"/api/file/add"; fast_pattern;
    http.content_type; bsize:16;
    content:"application/json";
    http.request_body;
    content:"|7b|"; startswith;
    content:"|22|data|22 3a 20 22|"; distance:0;
    content:"|22|filename|22 3a 20 22|"; distance:0;
    content:"|22|type|22 3a 20 22|"; distance:0;
    content:"|22|owner|22 3a 20 22|"; distance:0;
    content:"|22|module|22 3a 20 22|"; distance:0;
    content:"|22|session|22 3a 20 22|"; distance:0;
    reference:md5,7252fa77ac86ebe1fea804ec82bf62f0;
    classtype:command-and-control;
    sid:2060057; rev:1;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Mac_OSX, affected_product Linux, attack_target Client_Endpoint, tls_state plaintext, created_at 2025_02_13, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2025_02_13, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;
    target:src_ip;
)

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.