ET WEB_CLIENT Malicious Redirect 8x8 script tag


Query · suricata

flow:established,from_server;
file_data;
content:".php?id=";
content:"/"; distance:-17; within:1;
pcre:"/^[a-z0-9A-Z]*?[A-Z0-9][a-z0-9A-Z]*?\.php\?id=\d{6,9}[\x22\x27]/R";
content:"<script"; nocase;
pcre:"/^(?:(?!<\/script>).)*?\ssrc\s*?=\s*?[\x22\x27][^\x22\x27]+?\/[a-z0-9A-Z]{8}\.php\?id=\d{6,9}[\x22\x27]/Rsi";
Raw source ET WEB_CLIENT Malicious Redirect 8x8 script tag · 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 Redirect 8x8 script tag";
    flow:established,from_server;
    file_data;
    content:".php?id=";
    content:"/"; distance:-17; within:1;
    pcre:"/^[a-z0-9A-Z]*?[A-Z0-9][a-z0-9A-Z]*?\.php\?id=\d{6,9}[\x22\x27]/R";
    content:"<script"; nocase;
    pcre:"/^(?:(?!<\/script>).)*?\ssrc\s*?=\s*?[\x22\x27][^\x22\x27]+?\/[a-z0-9A-Z]{8}\.php\?id=\d{6,9}[\x22\x27]/Rsi";
    classtype:trojan-activity;
    sid:2018053; rev:4;
    metadata:created_at 2014_02_01, signature_severity Major, 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.