alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/Spy.Agent.OHT - AnunakAPT HTTP Checkin 2";
flow:established,to_server;
flowbits:set,ET.Anunanak.HTTP.2;
urilen:>100;
http.method;
content:"POST";
http.uri;
pcre:"/^[a-zA-Z0-9=/&?\x2e-]+$/";
http.user_agent;
content:"Mozilla/"; startswith;
http.accept; bsize:3;
content:"|2a 2f 2a|";
http.content_type;
content:"application/x-www-form-urlencoded"; depth:33; endswith;
http.header_names;
content:"|0d 0a|Host|0d 0a|User-Agent|0d 0a|Accept|0d 0a|Content-Length|0d 0a|Content-Type|0d 0a 0d 0a|"; depth:60; endswith; fast_pattern;
reference:url,www.group-ib.com/resources/threat-research/Anunak_APT_against_financial_institutions.pdf;
reference:md5,cd22fa7c9d9e61b4aeac6acd10790d10;
reference:md5,82332d2a0cf8330f8de608865508713d;
classtype:targeted-activity;
sid:2020029; rev:6;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2014_12_23, deployment Perimeter, malware_family Win32_Spy_Agent_OHT, performance_impact Moderate, confidence Medium, signature_severity Critical, updated_at 2023_09_27, reviewed_at 2023_09_27;
target:src_ip;
)