alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE ICEFOG-P Variant CnC Checkin M2";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".jpg";
pcre:"/_[A-F0-9]{12}&filename=\w{1,20}\.jpg$/i";
http.request_body;
content:"|00 3a 00 7c 00|d|00|i|00|s|00|k|00|"; depth:15; fast_pattern;
reference:url,speakerdeck.com/ashley920/into-the-fog-the-return-of-icefog-apt;
classtype:command-and-control;
sid:2027432; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, created_at 2019_06_04, deployment Perimeter, malware_family ICEFOG_P, performance_impact Low, confidence High, signature_severity Major, tag APT, tag IceFog, updated_at 2020_08_31;
)