ET EXPLOIT_KIT Generic MultiStage Javascript Redirect Activity M2


Query · suricata

flow:established,to_client;
http.stat_code;
content:"200";
http.response_body;
content:"var redirectTo";
content:"var a = document.createElement('a')|3b|"; within:100;
content:"a.href = redirectTo|3b|"; within:22; fast_pattern;
content:"a.setAttribute('rel', 'noreferrer')|3b|"; within:38;
content:"document.body.appendChild(a)|3b|"; within:31;
content:"a.click()|3b|"; within:20;
Raw source ET EXPLOIT_KIT Generic MultiStage Javascript Redirect Activity M2 · 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_KIT Generic MultiStage Javascript Redirect Activity M2";
    flow:established,to_client;
    http.stat_code;
    content:"200";
    http.response_body;
    content:"var redirectTo";
    content:"var a = document.createElement('a')|3b|"; within:100;
    content:"a.href = redirectTo|3b|"; within:22; fast_pattern;
    content:"a.setAttribute('rel', 'noreferrer')|3b|"; within:38;
    content:"document.body.appendChild(a)|3b|"; within:31;
    content:"a.click()|3b|"; within:20;
    reference:url,blog.sucuri.net/2025/03/cascading-redirects-unmasking-a-multi-site-javascript-malware-campaign.html;
    classtype:trojan-activity;
    sid:2063263; rev:1;
    metadata:affected_product Wordpress, attack_target Client_Endpoint, tls_state TLSDecrypt, created_at 2025_07_01, deployment Perimeter, 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.