ET ATTACK_RESPONSE Obfuscated JS - Possible URL Encoded JS Inbound


Query · suricata

flow:established,from_server;
file_data;
content:"<form"; nocase;
content:"button"; nocase;
content:"CollectGarbage("; nocase; fast_pattern;
content:".location"; nocase;
pcre:"/^[\r\n\s]*=[\r\n\s]*unescape\(\s*[\x22\x27][\\%]u/Ri";
Raw source ET ATTACK_RESPONSE Obfuscated JS - Possible URL Encoded JS Inbound · 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 ATTACK_RESPONSE Obfuscated JS - Possible URL Encoded JS Inbound";
    flow:established,from_server;
    file_data;
    content:"<form"; nocase;
    content:"button"; nocase;
    content:"CollectGarbage("; nocase; fast_pattern;
    content:".location"; nocase;
    pcre:"/^[\r\n\s]*=[\r\n\s]*unescape\(\s*[\x22\x27][\\%]u/Ri";
    reference:url,eromang.zataz.com/2012/12/29/attack-and-ie-0day-informations-used-against-council-on-foreign-relations/;
    classtype:misc-activity;
    sid:2016132; rev:5;
    metadata:created_at 2012_12_30, confidence Medium, signature_severity Minor, updated_at 2022_06_10, mitre_tactic_id TA0005, mitre_tactic_name Defense_Evasion, mitre_technique_id T1027, mitre_technique_name Obfuscated_Files_or_Information;
)

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.