alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE JanelaRAT CnC Exfil";
flow:established,to_client;
http.stat_code;
content:"200";
http.content_type;
content:"application/json";
http.response_body;
content:"status"; nocase;
content:"message"; nocase; distance:0;
content:"data"; nocase; distance:0;
content:"ip"; nocase; distance:0;
content:"localizacao"; nocase; distance:0;
content:"computador"; nocase; distance:0;
content:"hora_registro"; nocase; distance:0; fast_pattern;
content:"close()"; nocase; distance:0;
content:"</script>"; nocase; distance:0;
reference:url,zscaler.com/blogs/security-research/janelarat-repurposed-bx-rat-variant-targeting-latam-fintech;
classtype:trojan-activity;
sid:2062714; 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_06_02, deployment Perimeter, malware_family JanelaRAT, confidence High, signature_severity Major, tag RAT, updated_at 2025_06_03;
)