alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/AgentTesla Variant Exfil via Telegram";
flow:established,to_server;
http.request_line;
content:"POST /bot"; startswith;
content:"/sendDocument"; distance:0;
http.host; bsize:16;
content:"api.telegram.org";
http.request_body;
content:"name|3d 22|caption|22 0d 0a 0d 0a|New PW Recovered!|0d 0a 0d 0a|User Name|3a 20|"; fast_pattern;
reference:url,twitter.com/James_inthe_box/status/1298742352069054464;
reference:md5,0c22e92073fc56a574a6c860ddef1c2d;
classtype:command-and-control;
sid:2030806; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2020_08_27, deployment Perimeter, deployment SSLDecrypt, malware_family AgentTesla, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_08_27;
)