ET PHISHING PerSwaysion JavaScript Response M1


Query · suricata

flow:established,to_client;
http.content_type;
content:"/javascript";
file.data;
content:"eval|28|function|28 24|nbrut|2c|"; startswith;
content:"function|28 24|charCode|29 20 7b|return|20 28 24|charCode|20|"; distance:0;
content:"|3f 20|String|2e|fromCharCode|28|"; within:150;
content:"|29 20 3a 20 24|charCode|2e|toString|28|"; within:50;
content:"|2e|replace|28|new|20|RegExp|28 27 5c 5c|b|27 20 2b|"; distance:0; fast_pattern;
Raw source ET PHISHING PerSwaysion JavaScript Response 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 PHISHING PerSwaysion JavaScript Response M1";
    flow:established,to_client;
    http.content_type;
    content:"/javascript";
    file.data;
    content:"eval|28|function|28 24|nbrut|2c|"; startswith;
    content:"function|28 24|charCode|29 20 7b|return|20 28 24|charCode|20|"; distance:0;
    content:"|3f 20|String|2e|fromCharCode|28|"; within:150;
    content:"|29 20 3a 20 24|charCode|2e|toString|28|"; within:50;
    content:"|2e|replace|28|new|20|RegExp|28 27 5c 5c|b|27 20 2b|"; distance:0; fast_pattern;
    reference:url,blog.group-ib.com/perswaysion;
    classtype:credential-theft;
    sid:2033037; rev:3;
    metadata:affected_product Web_Browsers, attack_target Client_Endpoint, created_at 2021_05_27, deployment Perimeter, deployment SSLDecrypt, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2021_05_28;
)

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.