alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/BlackSun.B Retrieving Payload";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/web/getcommand.php?getcmd="; startswith; fast_pattern;
content:"&uid="; distance:0;
content:"&port="; distance:0;
http.user_agent;
content:"blacksun"; nocase;
reference:md5,008e8ebdcfd68dcc065205c611b57834;
classtype:trojan-activity;
sid:2045311; rev:1;
metadata:attack_target Client_Endpoint, created_at 2023_05_03, deployment Perimeter, malware_family Win32_BlackSun_B, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_05_03;
)