alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE Win32/Onliner Receiving Commands from CnC";
flow:established,from_server;
http.stat_code;
content:"200";
file.data;
content:"|7b|id|3a|"; depth:4;
pcre:"/^\d{5,10}\x7d/R";
content:"|7b|ok|3a 5b|task|5d|"; distance:0; fast_pattern;
content:"|7b|urls|7d|"; distance:0;
content:"|7b|tasks|7d|"; distance:0;
reference:url,www.blueliv.com/blog/research/analysis-spam-distribution-botnet-onliner-spambot/;
classtype:command-and-control;
sid:2027808; 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_11_03;
)