alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET RETIRED Possible ToneShell CnC Checkin M3";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/index.php"; endswith;
http.header;
content:"Guid|3a 20|id|3d|"; fast_pattern;
http.header_names;
content:!"|0d 0a|Referer|0d 0a|";
content:"|0d 0a|Connection|0d 0a|Guid|0d 0a|Content-Length|0d 0a|Host|0d 0a 0d 0a|";
reference:url,www.trendmicro.com/en_us/research/22/k/earth-preta-spear-phishing-governments-worldwide.html;
classtype:trojan-activity;
sid:2048265; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_09_26, deployment Perimeter, former_category MALWARE, performance_impact Low, confidence Low, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_10_02, reviewed_at 2024_10_02;
target:src_ip;
)