ET HUNTING Legacy HTTP Cookie Observed ($Version)


Query · suricata

flow:established,to_server;
http.cookie;
content:"|24|Version|3d|1|3b 20|"; fast_pattern; startswith;
pcre:"/^[^\x3d]*?\x3d[\x22\x27]/R";
target:dest_ip;
Raw source ET HUNTING Legacy HTTP Cookie Observed ($Version) · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $EXTERNAL_NET any -> $HOME_NET any (
    msg:"ET HUNTING Legacy HTTP Cookie Observed ($Version)";
    flow:established,to_server;
    http.cookie;
    content:"|24|Version|3d|1|3b 20|"; fast_pattern; startswith;
    pcre:"/^[^\x3d]*?\x3d[\x22\x27]/R";
    reference:url,portswigger.net/research/stealing-httponly-cookies-with-the-cookie-sandwich-technique;
    classtype:web-application-activity;
    sid:2059720; rev:1;
    metadata:attack_target Server, tls_state TLSDecrypt, created_at 2025_01_27, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Minor, tag Exploit, updated_at 2025_01_27, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
    target:dest_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.