alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/IcedID WebSocket Request M2";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/data3.php?"; startswith; fast_pattern;
pcre:"/^[0-9A-F]{16}$/R";
http.header;
content:"|0d 0a|Upgrade|3a 20|websocket|0d 0a|Connection|3a 20|Upgrade|0d 0a|";
http.header_names;
content:"|0d 0a|Host|0d 0a|Upgrade|0d 0a|Connection|0d 0a|Sec-WebSocket-Version|0d 0a|Sec-WebSocket-Key|0d 0a 0d 0a|";
reference:md5,977a264f70acf703333f298019c3abd4;
classtype:command-and-control;
sid:2028955; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_11_08, deployment Perimeter, malware_family IcedID, performance_impact Moderate, confidence High, signature_severity Major, updated_at 2019_11_08;
)