alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE NORTHSTAR Command Response";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/getresponse.php?slave="; startswith; fast_pattern;
pcre:"/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})/R";
http.referer;
content:"interact.php?slave=";
content:"&sid="; distance:0;
reference:url,github.com/EnginDemirbilek/NorthStarC2/;
classtype:command-and-control;
sid:2030192; rev:1;
metadata:attack_target Client_Endpoint, created_at 2020_05_19, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_05_19;
)