alert tcp $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE ELF/muBoT IRC Activity 6 (SOCKS)";
flow:established,to_server;
content:"NOTICE ";
content:"|3a|REWRITING|0a|"; fast_pattern; distance:0;
content:"|0a|to|0a|"; distance:0;
pcre:"/^NOTICE [^\r\n]+? \x3aREWRITING\x0a[^\r\n]+?\x0ato\x0a[^\r\n]+?\x0a/s";
reference:url,blog.malwaremustdie.org/2015/11/mmd-0044-2015-source-code-disclosure.html;
classtype:trojan-activity;
sid:2022189; rev:1;
metadata:affected_product Linux, created_at 2015_11_26, malware_family ELF_muBoT, signature_severity Major, updated_at 2019_07_26;
)