ET MALWARE TrustConnect RAT CnC Activity (WebSocket Upgrade Request)


Query · suricata

flow:established,to_server;
http.method;
content:"GET";
http.uri; bsize:56;
content:"|2f|ws|2f|screen|3f|deviceId|3d|"; startswith; fast_pattern;
pcre:"/^(?:[a-z0-9]{8})\x2d(?:[a-z0-9]{4})\x2d(?:[a-z0-9]{4})\x2d(?:[a-z0-9]{4})\x2d(?:[a-z0-9]{12})$/R";
http.header_names;
content:!"|0d 0a|referer|0d 0a|"; nocase;
content:!"|0d 0a|referer|0d 0a|"; nocase;
content:!"|0d 0a|x-"; nocase;
http.connection;
content:"Upgrade";
http.header;
content:"connection|3a 20|upgrade|0d 0a|upgrade|3a 20|websocket|0d 0a|sec|2d|websocket|2d|key|3a|"; nocase;
threshold:type limit,count 1,seconds 300,track by_src;
target:src_ip;
Raw source ET MALWARE TrustConnect RAT CnC Activity (WebSocket Upgrade Request) · 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 TrustConnect RAT CnC Activity (WebSocket Upgrade Request)";
    flow:established,to_server;
    http.method;
    content:"GET";
    http.uri; bsize:56;
    content:"|2f|ws|2f|screen|3f|deviceId|3d|"; startswith; fast_pattern;
    pcre:"/^(?:[a-z0-9]{8})\x2d(?:[a-z0-9]{4})\x2d(?:[a-z0-9]{4})\x2d(?:[a-z0-9]{4})\x2d(?:[a-z0-9]{12})$/R";
    http.header_names;
    content:!"|0d 0a|referer|0d 0a|"; nocase;
    content:!"|0d 0a|referer|0d 0a|"; nocase;
    content:!"|0d 0a|x-"; nocase;
    http.connection;
    content:"Upgrade";
    http.header;
    content:"connection|3a 20|upgrade|0d 0a|upgrade|3a 20|websocket|0d 0a|sec|2d|websocket|2d|key|3a|"; nocase;
    threshold:type limit,count 1,seconds 300,track by_src;
    reference:md5,128e8469959cdb0a8e7e29eb84af0e79;
    classtype:command-and-control;
    sid:2067687; rev:1;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, tls_state TLSDecrypt, created_at 2026_02_06, deployment Perimeter, deployment SSLDecrypt, malware_family TrustConnect, confidence High, signature_severity Critical, updated_at 2026_02_16, former_sid 2865959, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;
    target:src_ip;
)

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.