JanelaRAT
- Type
- Banking trojan
- Capabilities
- Credential theftSession hijackingKeyloggingExfiltrationPersistencePost exploitationDefense evasionDLL sideloadingSpoofing
- Delivery
- PhishingSpearphishingMalspamLure
- Platforms
- Windows
JanelaRAT is a Windows-based banking trojan and remote access malware family active since at least June 2023 and derived from BX RAT. It is tailored for financial fraud against banks, financial institutions, and cryptocurrency-related targets in Latin America, with Brazil and Mexico repeatedly identified as major focus countries. The malware’s name reflects its core tradecraft: monitoring active window titles to detect when a victim is interacting with targeted banking or financial services, then triggering operator-driven actions during those sessions.
JanelaRAT profiles infected hosts, gathers system metadata, tracks user activity and inactivity, captures screenshots, logs keystrokes, records mouse activity, and communicates with command-and-control infrastructure over socket-based channels. It compares foreground window titles against attacker-supplied or embedded lists of targeted institutions and financial terms, and when a match is found it can open a dedicated channel for alerting operators and transmitting surveillance data. Observed functionality also includes displaying attacker-controlled message boxes, simulating keyboard and mouse input, executing commands, manipulating the user interface, shutting down or suspending the host, and removing monitoring hooks.
A notable feature is its use of deceptive overlays and fake dialogs to facilitate banking fraud. JanelaRAT can close selected windows, present counterfeit error messages, display bank-themed prompts, and show fake update or loading screens intended to suppress user interaction while harvesting credentials or other sensitive financial information. Some reporting also attributes session-focused fraud capabilities to newer variants, including interception of live banking activity rather than simple credential collection alone. Anti-analysis and anti-fraud-awareness features have also been observed, including sandbox-evasion checks and logic intended to detect banking security tooling.
Delivery and installation chains have evolved over time. Earlier campaigns used phishing lures and compressed archives containing script-based downloaders, while later activity shifted toward rogue MSI installers masquerading as legitimate software. Installation commonly relies on DLL side-loading of the final payload and persistence through Windows Startup-folder shortcuts or scripts. Operators have also been observed refining the malware and its infection chain over time, including use of obfuscation and encrypted strings to hinder analysis.
JanelaRAT is associated with financially motivated cybercrime rather than espionage and is best characterized as a Latin America-focused banking trojan with RAT-like interactive control features. Its operational emphasis is theft of banking and cryptocurrency-related data, credential harvesting, and real-time monitoring of victim financial sessions.
Techniques & procedures
42 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
The latest attack chain documented by Kaspersky shows that phishing emails disguised as outstanding invoices are used to trick recipients into downloading a PDF file by clicking on a link, resulting in the download of a ZIP archive...
Initial infection vectors have evolved from ZIP archives containing VBScript to rogue MSI installer files, often distributed via platforms like GitLab.
It starts with emails mimicking the delivery of pending invoices to trick victims into downloading a PDF file by clicking a malicious link.
Execution
7 techniques
Execution
Mode 1 Shuts down the infected system by issuing the shutdown shell command.
Upon execution, the installer initiates a multi-stage infection process using orchestrating scripts written in Go, PowerShell, and batch...
Some of the supported commands include ... Running commands using "cmd.exe" and PowerShell commands or scripts
First detected in the wild by Zscaler in June 2023, JanelaRAT has leveraged ZIP archives containing a Visual Basic Script (VBScript) to download a second ZIP file...
Mode 11 Sends a test email by starting a new process with mailto:teste@teste.com?subject=teste&body=teste
...phishing emails disguised as outstanding invoices are used to trick recipients into downloading a PDF file by clicking on a link, resulting in the download of a ZIP archive that initiates the aforementioned attack chain...
This code is designed to create several ActiveX objects to manipulate the file system and execute malicious commands.
Persistence
4 techniques
Persistence
cmd /min /C REG ADD HKCUControl PanelDesktop /v Win8DpiScaling /t REG_DWORD /d 0x00000001 /f
These scripts unpack a ZIP archive containing the RAT executable, a malicious Chromium-based browser extension, and supporting components.
The malware utilizes DLL side-loading techniques for installation and establishes persistence through Windows Startup folders.
...establish persistence on the host by creating a Windows Shortcut (LNK) in the Startup folder that points to the executable.
Privilege Escalation
2 techniques
Privilege Escalation
The malware utilizes DLL side-loading techniques for installation and establishes persistence through Windows Startup folders.
...establish persistence on the host by creating a Windows Shortcut (LNK) in the Startup folder that points to the executable.
Stealth
7 techniques
Stealth
The content is encrypted with the same algorithm used for the strings.
...distributed via rogue MSI installer files masquerading as legitimate software hosted on trusted platforms like GitLab.
Mode 10 Deletes the file block.blq if it exists in the same folder as JanelaRAT.
To prevent multiple instances, the malware creates the mutex and exits if it already exists.
Recent analyses indicate the malware can detect and evade anti-fraud systems and sandbox environments.
JanelaRAT checks if it obtained a list of interesting title bars. If not, then the malware requests a text file named kepler186f.txt to the C2.
The task Manager window is immediately hidden by running ShowWindow API with the SW_HIDE value for the nCmdShow argument.
Defense Impairment
1 technique
Defense Impairment
cmd /min /C REG ADD HKCUControl PanelDesktop /v Win8DpiScaling /t REG_DWORD /d 0x00000001 /f
Credential Access
6 techniques
Credential Access
Some of the supported commands include ... Simulating keyboard actions like DOWN, UP, and TAB for navigation Moving the cursor and simulating clicks | ...displaying images in full-screen mode ... and impersonating bank-themed dialogs via fake overlays to harvest credentials
This channel is later used for alerting the threat attacker about the victim opening interesting windows, sending key logs, mouse clicks, and implementing remote desktop sessions.
JanelaRAT is capable of sending mouse activity to through C2.
This channel is used to execute malicious tasks, including... injecting keystrokes or simulating mouse input...
The browser add-on then proceeds to gather system information, cookies, browsing history, installed extensions, and tab metadata...
"A significant amount of observed campaigns focus on stealing credentials for banking or other financial accounts, including use of banking trojans such as METAMORFO aka 'Horabot,' BBtok, and JanelaRAT."
Discovery
7 techniques
Discovery
JanelaRAT captures the content of windows title bars and checks if they are interesting for the threat attacker.
System usage information gathered by JanelaRAT Index Element 0 User 1 [username of the user currently logged in]
7 [comma-separated list of IP addresses currently associated with the infected system]
JanelaRAT is capable of collecting and sending information about the compromised host to the attacker.
The browser add-on then proceeds to gather system information, cookies, browsing history, installed extensions, and tab metadata...
Recent analyses indicate the malware can detect and evade anti-fraud systems and sandbox environments.
JanelaRAT checks if it obtained a list of interesting title bars. If not, then the malware requests a text file named kepler186f.txt to the C2.
Collection
6 techniques
Collection
Some of the supported commands include ... Simulating keyboard actions like DOWN, UP, and TAB for navigation Moving the cursor and simulating clicks | ...displaying images in full-screen mode ... and impersonating bank-themed dialogs via fake overlays to harvest credentials
This channel is later used for alerting the threat attacker about the victim opening interesting windows, sending key logs, mouse clicks, and implementing remote desktop sessions.
JanelaRAT is capable of sending mouse activity to through C2.
This channel is used to execute malicious tasks, including... injecting keystrokes or simulating mouse input...
JanelaRAT is capable of capturing and shipping screenshots.
A significant amount of observed campaigns focus on stealing credentials for banking or other financial accounts, including use of banking trojans such as METAMORFO aka "Horabot," BBtok, and JanelaRAT.
Command and Control
5 techniques
Command and Control
It communicates with command-and-control servers to exfiltrate data, impersonates bank dialogs for credential harvesting, and monitors user activity to time malicious operations.
If not, then the malware requests a text file named kepler186f.txt to the C2.
This channel is later used for alerting the threat attacker about the victim opening interesting windows, sending key logs, mouse clicks, and implementing remote desktop sessions.
Unlike other versions, this variant rotates its C2 server daily. Once a title bar matches the one in the list, the software dynamically constructs the C2 channel domain by concatenating an obfuscated string, the current date, and a suffix domain related to a legitimate dynamic DNS (DDNS) service.
All JanelaRAT samples utilize encrypted strings for sending information to the C2 and obfuscating embedded data. The encryption algorithm remains consistent across campaigns, combining base64 encoding with Rijndael (AES).
Exfiltration
1 technique
Exfiltration
It communicates with command-and-control servers to exfiltrate data, impersonates bank dialogs for credential harvesting, and monitors user activity to time malicious operations.
Impact
2 techniques
Impact
When the title of the foreground window is included in the block.blq, the malware attempts to close it. The blocking mechanism is implemented by invoking the SendMessage API with WM_CLOSE value for the Msg argument.
This channel is used to execute malicious tasks, including... forcing system shutdown.
Observables
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.