alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE UNK NSFWBot CnC Activity (GET)";
flow:established,to_server;
flowbits:set,ET.UNK.NSFWBOT;
http.method;
content:"GET";
http.uri;
content:"/bot.php|3f|action|3d|"; startswith; fast_pattern;
pcre:"/^\x2fbot\x2ephp\x3faction\x3d(?:get_commands|mark_executed|update|get_settings)\x26bot_id\x3d[a-z0-9\x2d]{36}(?:\x26pc_name)?/";
http.user_agent;
content:"WindowsPowerShell";
threshold:type limit,count 1,seconds 300,track by_src;
classtype:command-and-control;
sid:2061773; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, tls_state plaintext, created_at 2025_04_21, deployment Perimeter, confidence High, signature_severity Critical, tag c2, updated_at 2025_04_21, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;
target:src_ip;
)