alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET RETIRED Win32/OriginLoader CnC Checkin";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/gate";
http.header;
content:"x-key|3a 20|"; fast_pattern;
pcre:"/^[a-f0-9]{8}-(?:[a-f0-9]{4}-){3}[a-f0-9]{12}/R";
http.header_names;
content:!"|0d 0a|Referer|0d 0a|";
content:"|0d 0a|x-key|0d 0a|User-Agent|0d 0a|Content-Type|0d 0a|Host|0d 0a|Content-Length|0d 0a|Expect|0d 0a 0d 0a|";
http.request_body;
content:"p="; startswith;
threshold:type limit, count 5, seconds 300, track by_src;
reference:md5,ecfb74b93750609b906f519809d45556;
reference:url,tria.ge/230728-zryfwaac8y/;
reference:url,www.fortinet.com/blog/threat-research/originbotnet-spreads-via-malicious-word-document;
classtype:trojan-activity;
sid:2047004; rev:3;
metadata:attack_target Client_Endpoint, created_at 2023_07_31, deployment Perimeter, former_category MALWARE, malware_family Win32_OriginLoader, performance_impact Low, confidence High, signature_severity Major, updated_at 2025_04_17, reviewed_at 2025_04_17;
target:src_ip;
)