alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE MalDoc Request for Payload (TA505 Related)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:".tmp"; endswith;
http.host;
pcre:"/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/";
http.start;
content:".tmp|20|HTTP/1."; fast_pattern;
content:"|0d 0a|Host|3a 20|"; distance:1; within:8;
http.header_names;
content:"|0d 0a|Host|0d 0a|Cache-Control|0d 0a 0d 0a|"; depth:25;
classtype:trojan-activity;
sid:2027143; rev:5;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_04_02, deployment Perimeter, performance_impact Moderate, confidence High, signature_severity Major, updated_at 2020_09_17;
)