ET ATTACK_RESPONSE Eval Hex Obfuscated JS Inbound


Query · suricata

flow:established,to_client;
http.response_body;
content:"text|2f|javascript";
content:"eval|28|decodeURIComponent|28|escape|28|"; fast_pattern;
pcre:"/^[\x22\x27](?:\x5cx[A-Fa-f0-9]{2}){5,20}/R";
target:dest_ip;
Raw source ET ATTACK_RESPONSE Eval Hex Obfuscated 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 any any -> [$HOME_NET,$HTTP_SERVERS] any (
    msg:"ET ATTACK_RESPONSE Eval Hex Obfuscated JS Inbound";
    flow:established,to_client;
    http.response_body;
    content:"text|2f|javascript";
    content:"eval|28|decodeURIComponent|28|escape|28|"; fast_pattern;
    pcre:"/^[\x22\x27](?:\x5cx[A-Fa-f0-9]{2}){5,20}/R";
    classtype:bad-unknown;
    sid:2054246; rev:1;
    metadata:attack_target Client_and_Server, created_at 2024_07_03, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Minor, tag Obfuscated, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_07_03, mitre_tactic_id TA0005, mitre_tactic_name Defense_Evasion, mitre_technique_id T1027, mitre_technique_name Obfuscated_Files_or_Information;
    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.