alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Moose CnC Request M2";
flow:to_server,established;
urilen:1;
http.method;
content:"GET";
http.cookie;
content:"PHPSESSID=";
content:"|3b 20|nhash="; distance:0;
content:"|3b 20|chash="; fast_pattern; distance:0;
http.header_names;
content:"|0d 0a|Host|0d 0a|User-Agent|0d 0a|Accept|0d 0a|Accept-Language|0d 0a|Accept-Encoding|0d 0a|Connection|0d 0a 0d 0a|"; depth:76; endswith;
content:!"Referer|0d 0a|";
reference:url,gosecure.net/2016/11/02/exposing-the-ego-market-the-cybercrime-performed-by-the-linux-moose-botnet/;
classtype:command-and-control;
sid:2023479; rev:5;
metadata:affected_product Linux, attack_target Client_and_Server, created_at 2016_11_02, deployment Perimeter, malware_family Linux_Moose, performance_impact Low, confidence High, signature_severity Major, updated_at 2020_11_03;
)