alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Blackmoon/Banbra Configuration Request M2";
flow:to_server,established;
http.method;
content:"GET";
http.uri;
content:"/fcg-bin/cgi_get_portrait.fcg?uins="; depth:35; fast_pattern;
http.header;
content:"keep-alive|0d 0a|User-Agent";
http.header_names;
content:!"Referer|0d 0a|";
content:!"Accept";
reference:url,blog.fortinet.com/post/over-100-000-south-korean-users-affected-by-blackmoon-campaign;
reference:md5,56b8f9428b2171f45dc447fb9fa1b03f;
classtype:trojan-activity;
sid:2023694; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_01_04, deployment Perimeter, malware_family Banking_Trojan, performance_impact Low, confidence High, signature_severity Major, updated_at 2020_08_03;
)