alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Linux/Moose HTTP CnC Beacon";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:".php?p="; fast_pattern;
content:"&f="; distance:0;
content:"&m="; distance:0;
http.header_names;
content:!"User-Agent|0d 0a|";
content:!"Accept";
content:!"Referer|0d 0a|";
reference:url,welivesecurity.com/wp-content/uploads/2015/05/Dissecting-LinuxMoose.pdf;
classtype:command-and-control;
sid:2021147; rev:4;
metadata:attack_target Client_Endpoint, created_at 2015_05_26, deployment Perimeter, signature_severity Major, tag c2, updated_at 2020_05_22, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;
)