alert http $HTTP_SERVERS any -> $EXTERNAL_NET any (
msg:"ET WEB_SERVER Compromised WordPress Server pulling Malicious JS";
flow:established,to_server;
http.uri;
content:"/net/?u="; fast_pattern;
http.user_agent;
content:"Mozilla/4.0 (compatible|3b 20|MSIE 8.0|3b 20|Windows NT 6.0)"; startswith;
http.host;
content:"net"; startswith;
content:"net.net"; distance:2; within:7; endswith;
pcre:"/^net[0-4]{2}net\.net$/i";
reference:url,blog.unmaskparasites.com/2012/07/11/whats-in-your-wp-head/;
classtype:trojan-activity;
sid:2015480; rev:4;
metadata:affected_product Wordpress, affected_product Wordpress_Plugins, attack_target Web_Server, created_at 2012_07_17, deployment Datacenter, signature_severity Major, tag Wordpress, updated_at 2020_09_17;
)