alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Octopus Malware CnC Server Request";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:".php?servers"; fast_pattern; endswith;
pcre:"/^\/d[0-9]?\.php\?servers$/i";
http.accept;
content:"text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8";
http.header_names;
content:"|0d 0a|Host|0d 0a|Accept|0d 0a|Accept-Encoding|0d 0a|User-Agent|0d 0a 0d 0a|"; depth:47; endswith;
reference:md5,1610cddb80d1be5d711feb46610f8a77;
reference:md5,d8c8f2bf85796014feb06be41b99ca76;
reference:url,securelist.com/octopus-infested-seas-of-central-asia/88200/;
classtype:command-and-control;
sid:2026542; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_10_24, deployment Perimeter, confidence High, signature_severity Major, tag Octopus, updated_at 2020_09_16;
)