ET MALWARE Win32/Ducktail Exfil Via Telegram (POST)


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.host;
content:"api.telegram.org"; endswith;
http.content_type;
content:"application/json"; startswith;
http.request_body;
content:"|7b 22|chat|5f|id|22 3a|"; startswith;
content:"|2c 22|text|22 3a 22|REQ|7c|"; fast_pattern;
pcre:"/^(?:[A-Z0-9]{8})-(?:[A-Z0-9]{4})-(?:[A-Z0-9]{4})-(?:[A-Z0-9]{4})-(?:[A-Z0-9]{12})/R";
content:"|7c|HELLO|7c|0|22 2c 22|"; within:12;
Raw source ET MALWARE Win32/Ducktail Exfil Via Telegram (POST) · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"ET MALWARE Win32/Ducktail Exfil Via Telegram (POST)";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.host;
    content:"api.telegram.org"; endswith;
    http.content_type;
    content:"application/json"; startswith;
    http.request_body;
    content:"|7b 22|chat|5f|id|22 3a|"; startswith;
    content:"|2c 22|text|22 3a 22|REQ|7c|"; fast_pattern;
    pcre:"/^(?:[A-Z0-9]{8})-(?:[A-Z0-9]{4})-(?:[A-Z0-9]{4})-(?:[A-Z0-9]{4})-(?:[A-Z0-9]{12})/R";
    content:"|7c|HELLO|7c|0|22 2c 22|"; within:12;
    reference:url,twitter.com/SquiblydooBlog/status/1654890966606655488;
    reference:md5,d3ff692d6e816c72693d07f7b5bd4eca;
    classtype:trojan-activity;
    sid:2045616; rev:1;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2023_05_08, deployment Perimeter, deployment SSLDecrypt, malware_family Ducktail, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_05_09;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.