alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/Amadey Host Fingerprint Exfil (POST) M2";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php"; endswith;
http.request_body; bsize:31;
content:"d1="; startswith;
pcre:"/^(?:[0-9]{10})/R";
content:"&unit="; within:6; fast_pattern;
pcre:"/^(?:[0-9]{12})$/R";
http.content_type;
content:"application|2f|x|2d|www|2d|form|2d|urlencoded";
http.header_names;
content:!"Referer";
reference:url,twitter.com/0xToxin/status/1637786881780850688;
classtype:trojan-activity;
sid:2044696; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2023_03_20, deployment Perimeter, malware_family Win32_Amadey, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_03_20;
)