alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE MegalodonHTTP CoinMiner Activity";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:".php?check="; fast_pattern;
pcre:"/\.php\?check=\d$/";
http.header_names;
content:!"User-Agent|0d 0a|";
content:!"Accept";
content:!"Referer|0d 0a|";
content:"|0d 0a|Host|0d 0a|"; startswith;
reference:md5,966301e88d8a43abe1215413bfd48b09;
reference:url,damballa.com/megalodonhttp-botnet-discovered-the-shark-paradox/;
classtype:coin-mining;
sid:2022128; rev:2;
metadata:attack_target Client_Endpoint, created_at 2015_11_23, deployment Perimeter, confidence High, signature_severity Major, tag Coinminer, updated_at 2020_06_09, mitre_tactic_id TA0040, mitre_tactic_name Impact, mitre_technique_id T1496, mitre_technique_name Resource_Hijacking;
)