RevengeRAT
- Type
- RAT
- Capabilities
- ExfiltrationPost exploitationDefense evasion
- Delivery
- Phishing
- Platforms
- Windows
RevengeRAT is a .NET-based remote access trojan targeting Windows systems. First observed in 2016, it provides remote control and information-theft capabilities and has been used by multiple adversaries against organizations and individuals worldwide. Its source code was publicly leaked, enabling attackers to modify the malware and produce variants. Observed targets include government, financial services, manufacturing, technology and IT services, and consulting organizations. Threat actors associated with its deployment include TA558 and Aggah; its widespread availability does not support attribution to a single operator.
RevengeRAT is distributed through phishing campaigns using malicious attachments and links. Observed lures impersonate authorities and claim that complaints have been filed against the recipient organization. Delivery chains have used ZIP archives containing batch downloaders, followed by obfuscated JavaScript that stores an encoded RevengeRAT payload in the Windows registry before decoding and executing it. Other chains use VBScript and PowerShell stages to retrieve encrypted payloads and load them reflectively into memory. Attackers have also abused legitimate paste services for payload hosting and used dynamic DNS with traffic-forwarding services to obscure command-and-control infrastructure.
Some RevengeRAT samples use minimal obfuscation and expose configuration values as plaintext strings, while others randomize namespace and class names. Modified variants have altered execution structure to evade antivirus detection.
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
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
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.
Aggah specifically has been seen using paste.ee to host njRAT, NetWire RAT, RevengeRAT, Agent Tesla.
Techniques & procedures
17 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
In general, the emails in every case claim to be associated with complaints against the organization being targeted. They purport to be from various authorities such as the Better Business Bureau (BBB).
TA558 attacks almost always begin with a carefully crafted phishing email... Malicious files typically take the form of compressed archives or spreadsheet documents.
The infection cycle begins with phishing emails sent to aviation companies that contain malicious links disguised as pdf attachments.
Execution
4 techniques
Execution
When executing the LNK file, the Batch script starts to perform several Powershell commands.
The attached ZIP archives contain malicious batch files responsible for retrieving the malicious PE32 file and executing it... Later versions of the .bat downloader featured the use of obfuscation...
Like in the non-obfuscated versions of the .bat file, the adversaries are downloading the .js file to a local directory (C:\windows\r2.js) and executing it.
The RAT delivery campaign starts from an AutoHotKey compiled script... all of which start with an AHK executable that leads to the different VBScripts that eventually load the RAT.
Persistence
1 technique
Persistence
This scripts writes the 'TVqQ…' string into the registry... It loads this string at the end of the infection process, decodes it and executes it.
Privilege Escalation
1 technique
Privilege Escalation
There are two large arrays that contain: Compressed bytes of AgentTesla; Compressed bytes of a .NET Injector used for process injection... responsible for injecting AgentTesla payload into an instance of “aspnet_compiler.exe”.
Stealth
4 techniques
Stealth
This sample uses largely the same structure as before, but uses randomized namespace and type names. This breaks our original script as there is no Nuclear_Explosion namespace or Atomic class to signature from.
There are two large arrays that contain: Compressed bytes of AgentTesla; Compressed bytes of a .NET Injector used for process injection... responsible for injecting AgentTesla payload into an instance of “aspnet_compiler.exe”.
Advanced samples will not store values in plaintext, but encrypted values will typically be stored in a very similar way via ldstr operations. The initial steps (prior to decryption) for advanced samples will be the same as seen here today.
In order to execute the RAT payload, it decrypts the blob, reflectively loads the decrypted payloads, then invokes it.
Defense Impairment
2 techniques
Defense Impairment
This scripts writes the 'TVqQ…' string into the registry... It loads this string at the end of the infection process, decodes it and executes it.
Tampering with Microsoft Defender and other antivirus products
Command and Control
4 techniques
Command and Control
They pointed the DDNS over to the Portmap service to provide an additional layer of infrastructure obfuscation. Portmap is a service designed to facilitate external connectivity to systems that are behind firewalls or otherwise not directly exposed to the internet.
This script deobfuscates a PowerShell command that downloads the next stage from a Pastebin-like sharing platform service called stikked.ch.
TA558 deploys multiple types of malware on victim machines — including AsyncRAT, LodaRAT, RevengeRAT, XWorm, and AgentTesla — for remote computer control and information theft.
the C2 infrastructure was observed leveraging Dynamic Domain Name System (DDNS) in an attempt to obfuscate the attacker's infrastructure.
Observables
119 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.