alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Xbagger Macro Encrypted DL";
flow:established,to_server;
http.uri;
content:".jpg?"; fast_pattern;
pcre:"/^\/[a-z0-9]+\.jpg\?(?=[a-z0-9]*[A-Z]+[a-z0-9])[A-Za-z0-9]+=\d{1,4}$/";
http.header;
content:"Range";
http.user_agent;
content:"MSIE 7.0|3b 20|Windows NT";
classtype:trojan-activity;
sid:2022500; rev:7;
metadata:created_at 2016_02_10, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_10_06;
)