Revenge RAT
- Type
- RAT
- Capabilities
- Credential theftKeyloggingExfiltrationPersistencePost exploitationDefense evasionReconnaissance
- Delivery
- PhishingMalspamLure
- Platforms
- Windows
Revenge RAT is a publicly available remote access trojan used to remotely control compromised systems. Its documented Windows capabilities include plugins for Remote Desktop Protocol access, credential harvesting, keylogging, and screen capture. It collects the current username and host network identifiers, including IP and MAC addresses, and uses Base64 encoding for information transmitted to its command-and-control server.
Revenge RAT can load itself into memory through PowerShell and .NET assembly reflection. It also abuses the Microsoft HTML Application host to execute malicious scripts and schedules scripts to run at recurring intervals. It establishes persistence across reboots through a per-user Winlogon shell registry modification. These behaviors combine remote access and surveillance with native Windows execution mechanisms and in-memory loading.
Revenge RAT has been used by Bahamut for remote control and by TA558 in campaigns targeting hospitality, hotel, travel, and related organizations, particularly Portuguese- and Spanish-speaking organizations in Latin America. TA558 has delivered it through reservation-themed phishing emails, malicious Office documents, remote template injection, and VBA macros. Documented infection chains include PowerPoint attachments that invoke PowerShell and retrieve an intermediate script before installing the trojan. TA558 has also delivered Revenge RAT through an invoice-themed Excel macro attachment.
Associated vulnerabilities
1 CVE 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
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Bahamut utilized the publicly available, cross-platform remote administration tools (RATs) NETWIRE and Revenge RAT for remote control.
Techniques & procedures
41 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
The actor sends malicious emails written in Portuguese, Spanish, and sometimes English. The emails use reservation-themed lures with business-relevant themes such as hotel room bookings.
The emails may contain malicious attachments or URLs aiming to distribute one of at least 15 different malware payloads... These early campaigns typically used malicious Word attachments that exploited Equation Editor vulnerabilities.
Additionally, TA558 shifted tactics and began using URLs and container files to distribute malware... Typically, URLs led to container files such as ISOs or zip files containing executables.
Execution
9 techniques
Execution
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[Revenge RAT](https://attack.mitre.org/software/S0379) schedules tasks to run malicious scripts at different intervals.(Citation: Cofense RevengeRAT Feb 2019)
the downloaded file is a VBS file... We see that the malware dropped a Powershell script
[Revenge RAT](https://attack.mitre.org/software/S0379) uses the PowerShell command <code>Reflection.Assembly</code> to load itself into memory to aid in execution.(Citation: Cofense RevengeRAT Feb 2019)
[Revenge RAT](https://attack.mitre.org/software/S0379) uses cmd.exe to execute commands and run scripts on the victim's machine.(Citation: Cofense RevengeRAT Feb 2019)
In 2020, TA558 stopped using Equation Editor exploits and began distributing malicious Office documents with macros, typically VBA macros, to download and install malware. | The VBS script in turn downloaded and executed Revenge RAT.
When the PowerShell code in “A.txt” is executed, it downloads the contents of “index.mp3” and saves it to file the “index.vbs” and executes it.
These early campaigns typically used malicious Word attachments that exploited Equation Editor vulnerabilities (e.g. CVE-2017-11882)... In 2021, this actor continued to leverage emails with Office documents containing macros or Office exploits (e.g. CVE-2017-8570).
téléchargements piégés pour exécuter des scripts Visual Basic ou PowerShell afin d’installer Revenge RAT
Persistence
4 techniques
Persistence
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[Revenge RAT](https://attack.mitre.org/software/S0379) schedules tasks to run malicious scripts at different intervals.(Citation: Cofense RevengeRAT Feb 2019)
The content repeatedly describes malware and threat actors establishing persistence by adding values under Registry Run keys such as HKCU\Software\Microsoft\Windows\CurrentVersion\Run and HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and by placing shortcuts or files in Startup folders.
[Revenge RAT](https://attack.mitre.org/software/S0379) creates a Registry key at <code>HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell</code> to survive a system reboot.(Citation: Cylance Shaheen Nov 2018)
Privilege Escalation
6 techniques
Privilege Escalation
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[Revenge RAT](https://attack.mitre.org/software/S0379) schedules tasks to run malicious scripts at different intervals.(Citation: Cofense RevengeRAT Feb 2019)
Revenge RAT fileless components that execute reconnaissance and hollowing attacks on legitimate Windows processes to avoid being detected... executes a known process hollowing technique on a legitimate Windows process (RegAsm.exe).
his purpose is to RunPE (AKA process hollowing) the RAT inside the legit InstallUtil.exe Binary
The content repeatedly describes malware and threat actors establishing persistence by adding values under Registry Run keys such as HKCU\Software\Microsoft\Windows\CurrentVersion\Run and HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and by placing shortcuts or files in Startup folders.
[Revenge RAT](https://attack.mitre.org/software/S0379) creates a Registry key at <code>HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell</code> to survive a system reboot.(Citation: Cylance Shaheen Nov 2018)
Stealth
7 techniques
Stealth
“Opera.ps1” is a highly obfuscated PowerShell script... After de-obfuscating the PowerShell code, we were able to retrieve the Windows executable, which is the Revenge RAT.
Revenge RAT fileless components that execute reconnaissance and hollowing attacks on legitimate Windows processes to avoid being detected... executes a known process hollowing technique on a legitimate Windows process (RegAsm.exe).
his purpose is to RunPE (AKA process hollowing) the RAT inside the legit InstallUtil.exe Binary
[Revenge RAT](https://attack.mitre.org/software/S0379) uses the [Forfiles](https://attack.mitre.org/software/S0193) utility to execute commands on the system.(Citation: Cofense RevengeRAT Feb 2019)
[Revenge RAT](https://attack.mitre.org/software/S0379) uses mshta.exe to run malicious scripts on the system.(Citation: Cofense RevengeRAT Feb 2019)
The initial document, “Rooming List Reservas para 3 Familias.docx,” used as the attack vector is a DOCX file. The document uses a technique known as Dynamic Office Template Injection to bypass security products.
Cobalt Strike can execute a payload on a remote host with PowerShell. This technique does not write any data to disk... Deep Panda has used PowerShell scripts to download and execute programs in memory, without writing to disk.
Credential Access
2 techniques
Credential Access
[Revenge RAT](https://attack.mitre.org/software/S0379) has a plugin for credential harvesting.(Citation: Cylance Shaheen Nov 2018)
[Revenge RAT](https://attack.mitre.org/software/S0379) has a plugin for keylogging.(Citation: Cylance Shaheen Nov 2018)(Citation: Cofense RevengeRAT Feb 2019)
Discovery
6 techniques
Discovery
GetActiveWindow : Get active window or window of the application used by the user
[Revenge RAT](https://attack.mitre.org/software/S0379) collects the IP address and MAC address from the system.(Citation: Cylance Shaheen Nov 2018)
[Revenge RAT](https://attack.mitre.org/software/S0379) gathers the username from the system.(Citation: Cylance Shaheen Nov 2018)
sends all the basic information from the computer (what are the running processes, installed AVs, Username, Machine, system drives and more) as part of a reconnaissance stage
[Revenge RAT](https://attack.mitre.org/software/S0379) collects the CPU information, OS information, and system language.(Citation: Cylance Shaheen Nov 2018)
sends all the basic information from the computer (what are the running processes, installed AVs, Username, Machine, system drives and more)
Lateral Movement
1 technique
Lateral Movement
[Revenge RAT](https://attack.mitre.org/software/S0379) has a plugin to perform RDP access.(Citation: Cylance Shaheen Nov 2018)
Collection
4 techniques
Collection
[Revenge RAT](https://attack.mitre.org/software/S0379) has a plugin for keylogging.(Citation: Cylance Shaheen Nov 2018)(Citation: Cofense RevengeRAT Feb 2019)
[Revenge RAT](https://attack.mitre.org/software/S0379) has a plugin for screen capture.(Citation: Cylance Shaheen Nov 2018)
[Revenge RAT](https://attack.mitre.org/software/S0379) has a plugin for microphone interception.(Citation: Cylance Shaheen Nov 2018)(Citation: Cofense RevengeRAT Feb 2019)
[Revenge RAT](https://attack.mitre.org/software/S0379) has the ability to access the webcam.(Citation: Cylance Shaheen Nov 2018)(Citation: Cofense RevengeRAT Feb 2019)
Command and Control
8 techniques
Command and Control
We see that this is the "Revenge RAT". C2: h0pe1759.ddns.net
The adversaries had communicated to both Dropbox and Pastebin. APT28 has used Google Drive for C2. APT37 leverages social networking sites and cloud platforms (AOL, Twitter, Yandex, Mediafire, pCloud, Dropbox, and Box) for C2.
[Revenge RAT](https://attack.mitre.org/software/S0379) used blogpost.com as its primary command and control server during a campaign.(Citation: Cofense RevengeRAT Feb 2019)
"Comnie uses blogs and third-party sites (GitHub, tumbler, and BlogSpot) to avoid DNS-based blocking"; "Revenge RAT used blogpost.com as its primary command and control server"; "Turla JavaScript backdoor has used Google Apps Script as its C2 server"
[Revenge RAT](https://attack.mitre.org/software/S0379) has the ability to upload and download files.(Citation: Cylance Shaheen Nov 2018)
ADVSTORESHELL C2 traffic is encrypted, then encoded with Base64 encoding. APT19 HTTP malware variant used Base64 to encode communications to the C2 server. APT33 has used base64 to encode command and control traffic.
[Revenge RAT](https://attack.mitre.org/software/S0379) uses Base64 to encode information sent to the C2 server.(Citation: Cylance Shaheen Nov 2018)
The actor employs various methods to install and run a variant of either JavaScript- or VBScript-based remote access trojans (RATs).
Observables
230 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
66 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.