alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE DarkCloud Stealer Key Logger 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-KL|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|KeyData";
reference:md5,1475ae99116f934716ec683954fe29fd;
classtype:trojan-activity;
sid:2045300; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2023_05_02, deployment Perimeter, deployment SSLDecrypt, malware_family DarkCloud, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_05_02, reviewed_at 2025_07_14;
target:src_ip;
)