alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Ducktail CnC Activity - Begin Download Command (POST)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
pcre:"/^\x2f[a-z0-9]{96}$/";
urilen:97;
http.user_agent;
content:"WindowsPowerShell/";
http.content_type; bsize:16;
content:"application/json";
http.request_body;
content:"|5b|"; startswith;
content:"|22 5c 22|begin|20|download|20|http"; fast_pattern;
content:"|22 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 22 0d 0a 5d|"; endswith;
reference:md5,19df486249801c08f0efde6a16e135ee;
reference:url,x.com/suyog41/status/1875174914128310378;
classtype:command-and-control;
sid:2058892; 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_01_03, deployment Perimeter, confidence High, signature_severity Major, tag c2, tag Ducktail, updated_at 2025_01_03, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;
)