alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE LimeRAT Exfiltrating RDP Credentials via Telegram";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/bot"; startswith;
http.user_agent;
content:"WindowsPowerShell";
http.host; bsize:16;
content:"api.telegram.org";
http.request_body;
content:"|22|text|22 3a 20 20 22|RDP|20|IP|20|Address|3a 20|1"; fast_pattern;
content:"|5c|r|5c|nUsername|3a 20|"; distance:0;
content:"|5c|r|5c|nPassword|3a 20|"; distance:0;
content:"|5c|r|5c|n|5c|r|5c|n|22|"; distance:0;
reference:md5,b9f8f18311c1ef976a899f63cb927bcc;
classtype:command-and-control;
sid:2064515; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, tls_state TLSDecrypt, created_at 2025_09_09, deployment Perimeter, deployment SSLDecrypt, malware_family LimeRat, confidence High, signature_severity Critical, tag c2, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2025_09_09, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;
target:src_ip;
)