alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE Win32/Emotet HTML Template Response";
flow:established,to_client;
http.stat_code;
content:"200";
http.content_type;
content:"text/html|3b|charset=UTF-8"; depth:24;
file.data;
content:"id|3d 22|uid|22 3e 3c 2f|h1|3e 3c|br|3e|";
content:"File|20 27|Preview Complaint Report in XLS|27 3c|br|3e|is|20|ready|20|for|20|open"; fast_pattern;
content:"|22 3e|Preview XLS"; distance:0;
content:"getElementById|28 27|uid|27 29 2e|innerHTML|20 3d 20 27|Name|3a 20 27|";
classtype:command-and-control;
sid:2034882; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2022_01_11, deployment Perimeter, malware_family Emotet, performance_impact Low, confidence High, signature_severity Major, updated_at 2022_01_11;
)