alert http $HOME_NET any -> $EXTERNAL_NET [443,7080,8080] (
msg:"ET MALWARE W32/Emotet CnC Beacon 1";
flow:established,to_server;
urilen:1;
http.method;
content:"GET";
http.user_agent; bsize:76;
content:"Mozilla|2f|5|2e|0|20 28|compatible|3b 20|MSIE|20|8|2e|0|3b 20|Windows|20|NT|20|5|2e|1|3b 20|SLCC1|3b 20 2e|NET|20|CLR|20|1|2e|1|2e|4322|29|"; fast_pattern;
http.cookie;
pcre:"/^[A-Za-z0-9]{3,4}=(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{4})$/i";
http.header_names;
content:!"|0d 0a|Referer|0d 0a|";
content:"|0d 0a|User-Agent|0d 0a|Host|0d 0a|";
content:"Cookie|0d 0a|";
reference:url,www.cyphort.com/emotet-cookies-c2-fakes-404/;
reference:url,blogs.forcepoint.com/security-labs/new-variant-geodoemotet-banking-malware-targets-uk;
reference:url,blog.fortinet.com/2017/05/03/deep-analysis-of-new-emotet-variant-part-1;
reference:md5,21542133a586782e7c2fa4286d98fd73;
classtype:command-and-control;
sid:2024274; rev:5;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_05_04, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2024_03_11, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;
)