ET WEB_CLIENT Malicious Fake JS Lib Inject


Query · suricata

flow:established,from_server;
file_data;
content:".min.php"; nocase;
pcre:"/^(?P<q>[\x22\x27])\+(?P=q)\?(?P=q)\+(?P=q)/R";
content:"default_keyword="; within:2500; fast_pattern;
content:"<"; within:2500;
content:!"/script>"; within:8;
pcre:"/^[\x22\x27+\s]*\/[\x22\x27+\s]*s[\x22\x27+\s]*c[\x22\x27+\s]*r[\x22\x27+\s]*i[\x22\x27+\s]*p[\x22\x27+\s]*t[\x22\x27+\s]*>/Rsi";
Raw source ET WEB_CLIENT Malicious Fake JS Lib 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 WEB_CLIENT Malicious Fake JS Lib Inject";
    flow:established,from_server;
    file_data;
    content:".min.php"; nocase;
    pcre:"/^(?P<q>[\x22\x27])\+(?P=q)\?(?P=q)\+(?P=q)/R";
    content:"default_keyword="; within:2500; fast_pattern;
    content:"<"; within:2500;
    content:!"/script>"; within:8;
    pcre:"/^[\x22\x27+\s]*\/[\x22\x27+\s]*s[\x22\x27+\s]*c[\x22\x27+\s]*r[\x22\x27+\s]*i[\x22\x27+\s]*p[\x22\x27+\s]*t[\x22\x27+\s]*>/Rsi";
    classtype:trojan-activity;
    sid:2025151; rev:2;
    metadata:affected_product Web_Browser_Plugins, attack_target Client_Endpoint, created_at 2017_12_15, deployment Perimeter, performance_impact Low, signature_severity Major, tag Web_Client_Attacks, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2019_07_26;
)

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.