ET EXPLOIT Generic MultiStage Javascript Redirect Activity M1


Query · suricata

flow:established,to_client;
http.stat_code;
content:"200";
http.response_body;
content:"var url";
content:"var script = document.createElement('script')"; within:100;
content:"script.src = url"; within:19; fast_pattern;
content:"script.type = 'text/javascript'"; within:34;
content:"script.async = true"; within:23;
content:"document.getElementsByTagName('head')[0].appendChild(script)"; within:63;
Raw source ET EXPLOIT Generic MultiStage Javascript Redirect Activity 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 $EXTERNAL_NET any -> $HOME_NET any (
    msg:"ET EXPLOIT Generic MultiStage Javascript Redirect Activity M1";
    flow:established,to_client;
    http.stat_code;
    content:"200";
    http.response_body;
    content:"var url";
    content:"var script = document.createElement('script')"; within:100;
    content:"script.src = url"; within:19; fast_pattern;
    content:"script.type = 'text/javascript'"; within:34;
    content:"script.async = true"; within:23;
    content:"document.getElementsByTagName('head')[0].appendChild(script)"; within:63;
    reference:url,blog.sucuri.net/2025/03/cascading-redirects-unmasking-a-multi-site-javascript-malware-campaign.html;
    classtype:trojan-activity;
    sid:2063270; rev:1;
    metadata:affected_product Wordpress, attack_target Client_Endpoint, tls_state TLSDecrypt, created_at 2025_07_01, deployment Perimeter, deployment SSLDecrypt, confidence Medium, signature_severity Major, tag Wordpress, tag JavaScript, updated_at 2025_07_01, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1189, mitre_technique_name Drive_by_Compromise;
)

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.