alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE RedLeaves HOGFISH APT Implant CnC";
flow:to_server,established;
http.method;
content:"POST";
http.uri;
content:"/index.php"; nocase; endswith;
http.user_agent;
content:"Mozilla/4.0 (compatible|3b 20|MSIE 8.0|3b 20|Windows NT 6.1|3b 20|WOW64|3b 20|Trident/4.0|3b 20|SLCC2|3b 20|.NET CLR 2.0.50727|3b 20|.NET CLR 3.5.30729|3b 20|.NET CLR 3.0.30729|3b 20|.NET4.0C|3b 20|.NET4.0E)"; fast_pattern;
http.request_body;
pcre:"/^[\x20-\x7e\r\n]{0,20}[^\x20-\x7e\r\n]/";
http.accept;
content:"*/*";
http.connection;
content:"Keep-Alive";
http.content_len;
byte_test:0,<,110,0,string,dec;
http.header_names;
content:!"Referer";
content:!"Accept-Encoding";
content:!"Content-Type";
reference:md5,2d9ac00470a104b9841d851ddf33cad7;
reference:md5,627b903657b28f3a2e388393103722c8;
reference:url,www.accenture.com/t20180423T055005Z__w__/us-en/_acnmedia/PDF-76/Accenture-Hogfish-Threat-Analysis.pdf;
classtype:targeted-activity;
sid:2025557; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_05_02, deployment Perimeter, confidence High, signature_severity Major, tag APT10, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_09_16;
)