alert tcp $HOME_NET any -> $EXTERNAL_NET !$HTTP_PORTS (
msg:"ET MALWARE Generic njRAT/Bladabindi CnC Activity (ll)";
flow:established,to_server;
dsize:<500;
content:"|00 6c 6c|"; depth:6; fast_pattern;
pcre:"/^[0-9]{2,3}\x00\x6c\x6c(?P<var>[\x20-\x2f\x30-\x39\x3a-\x40\x41-\x5a\x5b-\x60\x7b-\x7e][\x20-\x7e]+?[\x20-\x2f\x30-\x39\x3a-\x40\x41-\x5a\x5b-\x60\x7b-\x7e])(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})(?P=var)[^\r\n]+(?P=var)$/i";
flowbits:set,ETPRO.njratgeneric;
reference:md5,d68eaf3b43ba1d26b9067489bbf7ee44;
classtype:command-and-control;
sid:2033132; rev:6;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_03_22, deployment Perimeter, malware_family Bladabindi, malware_family njrat, performance_impact Moderate, confidence Medium, signature_severity Major, updated_at 2019_07_26;
)