ET MALWARE OtterCookie File Exfiltration M1


Query · suricata

flow:established,to_server;
urilen:7;
http.method;
content:"POST";
http.uri;
content:"/upload";
http.user_agent;
content:"curl"; startswith;
http.header_names;
content:"|0d 0a|path|0d 0a|"; nocase;
content:"|0d 0a|hostname|0d 0a|"; nocase;
content:"|0d 0a|userkey|0d 0a|"; nocase;
http.header;
content:"path|3a 20|C|3a 5c|Users|5c|"; fast_pattern;
content:"|0d 0a|userkey|3a|";
http.request_body;
content:"name|3d 22|file|22 3b 20|filename|3d 22|";
target:src_ip;
Raw source ET MALWARE OtterCookie File Exfiltration M1 · 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 OtterCookie File Exfiltration M1";
    flow:established,to_server;
    urilen:7;
    http.method;
    content:"POST";
    http.uri;
    content:"/upload";
    http.user_agent;
    content:"curl"; startswith;
    http.header_names;
    content:"|0d 0a|path|0d 0a|"; nocase;
    content:"|0d 0a|hostname|0d 0a|"; nocase;
    content:"|0d 0a|userkey|0d 0a|"; nocase;
    http.header;
    content:"path|3a 20|C|3a 5c|Users|5c|"; fast_pattern;
    content:"|0d 0a|userkey|3a|";
    http.request_body;
    content:"name|3d 22|file|22 3b 20|filename|3d 22|";
    reference:url,jp.security.ntt/tech_blog/en-contagious-interview-ottercookie;
    classtype:command-and-control;
    sid:2060638; rev:1;
    metadata:attack_target Client_Endpoint, tls_state plaintext, created_at 2025_03_05, deployment Perimeter, malware_family OtterCookie, confidence High, signature_severity Critical, tag c2, updated_at 2025_03_05, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1567, mitre_technique_name Exfiltration_Over_Web_Service;
    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.