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;
)