alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE DarkCloud Stealer File Grabber Function Exfiltrating Data via Telegram";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/bot"; startswith;
content:"/sendDocument?chat_id="; distance:0;
content:"&caption="; distance:0;
content:"DC-FG|3a 3a 3a|"; distance:0; fast_pattern;
http.host;
content:"api.telegram.org"; bsize:16;
http.request_body;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|document|22 3b 20|filename|3d 22|Files.zip|22|";
content:"|0d 0a 0d 0a|PK"; distance:0; within:60;
content:"Files/"; distance:0; within:60;
reference:url,app.any.run/tasks/f2335913-dcd2-47f0-b0ff-bb9d80f9563f;
classtype:trojan-activity;
sid:2044741; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2023_03_22, deployment Perimeter, deployment SSLDecrypt, malware_family DarkCloud, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_03_22, reviewed_at 2025_07_14;
target:src_ip;
)