ET MALWARE WP CharCode Inject


Query · suricata

flow:established,to_client;
http.response_body;
content:"document|2e|getElementsByTagName|28 22|script|22 29 3b|";
content:"var|20|wantmee|20 3d 20|false|3b|"; distance:0;
content:"wantmee|3d|true|3b|"; distance:0; fast_pattern;
content:"if|28|wantmee|3d 3d|false|29|"; distance:0;
content:"async|3d|true|3b|"; distance:0;
content:"|2e|src|3d|String|2e|fromCharCode|28|"; distance:0;
content:"document|2e|currentScript|2e|parentNode|2e|insertBefore"; distance:0;
Raw source ET MALWARE WP CharCode Inject · 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 MALWARE WP CharCode Inject";
    flow:established,to_client;
    http.response_body;
    content:"document|2e|getElementsByTagName|28 22|script|22 29 3b|";
    content:"var|20|wantmee|20 3d 20|false|3b|"; distance:0;
    content:"wantmee|3d|true|3b|"; distance:0; fast_pattern;
    content:"if|28|wantmee|3d 3d|false|29|"; distance:0;
    content:"async|3d|true|3b|"; distance:0;
    content:"|2e|src|3d|String|2e|fromCharCode|28|"; distance:0;
    content:"document|2e|currentScript|2e|parentNode|2e|insertBefore"; distance:0;
    reference:md5,be4c9c2b5b96eb2eafb32105036da953;
    classtype:trojan-activity;
    sid:2039077; rev:1;
    metadata:attack_target Client_Endpoint, created_at 2022_09_30, deployment Perimeter, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_09_30;
)

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.