alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_CLIENT Malicious iframe";
flow:established,from_server;
file_data;
content:"<iframe";
pcre:"/^((?!<\/iframe>).)*?[\r\n\s]+name[\r\n\s]*=[\r\n\s]*(?P<q>[\x22\x27])?(Twitter|Google\+)(?P=q)?[\r\n\s]+/R";
content:"scrolling=auto frameborder=no align=center height=2 width=2"; within:59; fast_pattern;
classtype:trojan-activity;
sid:2016297; rev:5;
metadata:created_at 2013_01_29, signature_severity Major, updated_at 2022_03_17, reviewed_at 2024_01_25;
)