alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/Htbot.B Checkin";
flow:to_server,established;
http.uri;
content:".php?command="; fast_pattern;
pcre:"/\.php\?command=(?:g(?:hl|et(?:ip|id|backconnect))|update2?|dl|log)(?:$|&)/";
http.user_agent;
content:"pb"; bsize:2;
reference:md5,bdd2328d466e563a650bb7ccdb9aca79;
reference:md5,ba1404af71ecf3ca8b0e30a2b365f6fd;
reference:url,www.microsoft.com/security/portal/threat/encyclopedia/Entry.aspx?Name=Backdoor%3AWin32%2FHtbot.B;
classtype:command-and-control;
sid:2020089; rev:6;
metadata:created_at 2015_01_05, malware_family Win32_Htbot_B, signature_severity Major, updated_at 2020_10_05;
)