Janela RAT
Janela RAT is a remote access trojan used in an active malware campaign targeting financial institutions, fintech firms, and cryptocurrency platforms across Latin America, particularly in Chile, Colombia, and Mexico. First identified in mid-2023, it is assessed to be a modified variant of BX RAT and is associated with financially motivated operators seeking to steal credentials and gain unauthorized access to accounts.
The infection chain begins when a victim executes a malicious MSI installer disguised as legitimate software and hosted on public GitLab repositories. The installer launches a multi-stage sequence involving Go, PowerShell, and batch scripts. A Go-based unpacker extracts a password-protected ZIP archive, decodes base64-encoded command-and-control domain details, and writes the decoded C2 information into a config.json file. The malware then scans the host for Chromium-based browsers and modifies browser startup settings to silently load a malicious extension.
The browser extension registers as a native messaging host and uses a built-in function called CollectRefresh to gather system details, browser cookies, saved credentials, browsing history, installed extensions, and open tab information. It monitors for specific URL patterns, including banking and cryptocurrency login pages, and can trigger additional RAT actions when those patterns are matched. This enables theft of browser data that can support account takeover, bypass authentication steps, and monitor financial activity and live transactions.
Janela RAT communicates with attacker-controlled infrastructure over encrypted WebSocket connections and uses obfuscated, base64-encoded domains for C2. It also rotates C2 addresses dynamically and remains quiet during idle periods to reduce behavioral detection. KPMG analysts described the campaign as an advanced multi-stage threat and assessed it as a significant risk to Latin America’s financial infrastructure.
Techniques & procedures
15 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
This report focuses on the URLs embedded in emails that bypassed email security controls like secure email gateways (SEGs) to deliver malware.
Infection URLs are embedded in emails and represent the first action that a victim must take to become infected.
Execution
3 techniques
Execution
Once executed, the installer quietly triggers a chain of scripts written in Go, PowerShell, and batch, each playing a specific role in setting up the full attack.
Once executed, the installer quietly triggers a chain of scripts written in Go, PowerShell, and batch, each playing a specific role in setting up the full attack.
The infection begins the moment a user runs what appears to be a regular software installer in MSI format. These installer files are hosted on public GitLab repositories and are carefully disguised to appear trustworthy and legitimate.
Persistence
2 techniques
Persistence
At the same time, the scripts scan the infected machine for any Chromium-based browsers and quietly modify their startup settings to silently load a malicious extension without the user’s knowledge.
At the same time, the scripts scan the infected machine for any Chromium-based browsers and quietly modify their startup settings to silently load a malicious extension without the user’s knowledge.
Stealth
2 techniques
Stealth
A Go-based unpacker then extracts a password-protected ZIP file, decodes base64-encoded command-and-control domain details, and writes all of it into a config.json file for operational use during the campaign.
Researchers highlighted how Janela RAT disguises itself as trusted software on public GitLab repositories, making it harder for users to spot the danger before damage is done.
Defense Impairment
1 technique
Defense Impairment
At the same time, the scripts scan the infected machine for any Chromium-based browsers and quietly modify their startup settings to silently load a malicious extension without the user’s knowledge.
Credential Access
2 techniques
Credential Access
By accessing browsers and harvesting cookies, saved credentials, and browsing history, the attackers gain complete visibility into a victim’s financial activity.
By accessing browsers and harvesting cookies, saved credentials, and browsing history, the attackers gain complete visibility into a victim’s financial activity.
Collection
2 techniques
Collection
This extension registers itself as a native messaging host and uses a built-in function called CollectRefresh to collect a wide range of sensitive data — including system details, browser cookies, browsing history, installed extensions, and open tab information.
A Go-based unpacker then extracts a password-protected ZIP file, decodes base64-encoded command-and-control domain details, and writes all of it into a config.json file for operational use during the campaign.
Command and Control
2 techniques
Command and Control
To avoid detection, Janela RAT establishes encrypted WebSocket connections to its C2 servers using obfuscated, base64-encoded domains.
The malware also rotates its C2 addresses dynamically and stays quiet during idle periods to avoid triggering behavior-based security alarms.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.