alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE BeaverTail CnC Activity (POST) M2";
flow:established,to_server;
urilen:<9;
http.method;
content:"POST";
http.uri;
content:"/upload"; startswith;
pcre:"/^s?$/R";
http.content_type;
content:"multipart/form-data";
http.request_body;
content:"form|2d|data|3b 20|name|3d 22|timestamp|22 0d 0a 0d 0a|"; fast_pattern;
pcre:"/^[0-9]{13}[\r\n]/R";
content:"form|2d|data|3b 20|name|3d 22|type|22|"; distance:0;
content:"form|2d|data|3b 20|name|3d 22|hid|22|"; distance:0;
reference:md5,97f393aa0083ea0866b5db95f78f3f07;
classtype:command-and-control;
sid:2060573; 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_03_04, deployment Perimeter, confidence High, signature_severity Critical, tag c2, updated_at 2025_03_04, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;
target:src_ip;
)