alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/Onliner CnC Checkin";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/adm.php"; fast_pattern; endswith;
http.request_body;
content:"k="; depth:2;
pcre:"/^\d{5,10}$/R";
http.accept_lang;
content:"en-US|3b|q=0.5,en|3b|q=0.3";
http.header_names;
content:!"Referer";
content:"Content";
content:"User-Agent";
reference:url,www.blueliv.com/blog/research/analysis-spam-distribution-botnet-onliner-spambot/;
classtype:command-and-control;
sid:2027807; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_06, deployment Perimeter, malware_family Onliner, performance_impact Low, confidence High, signature_severity Major, tag SpamBot, updated_at 2020_09_17;
)