alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE MagikPOS Downloader Retrieving Payload";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:".php?file="; fast_pattern;
pcre:"/\.php\?file=(?:64|86)$/";
http.header_names;
content:!"User-Agent|0d 0a|";
content:!"Accept";
content:!"Referer|0d 0a|";
reference:md5,121c1008d54e91db66feaf67b3d4084e;
reference:url,blog.trendmicro.com/trendlabs-security-intelligence/majikpos-combines-pos-malware-and-rats/;
classtype:trojan-activity;
sid:2024064; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2017_03_16, deployment Perimeter, malware_family MagikPOS, performance_impact Low, confidence High, signature_severity Major, tag POS, updated_at 2020_10_08;
)