Revenge

Revenge was one of the most popular remote access trojans to be used in 2019 when it was featured in a huge malicious campaign named “Aggah”. This malware can take remote control of infected machines and spy after the victims.

Type
Trojan
Origin
Unknown
First seen
1 January, 2016
Last seen
15 May, 2022
Global rank
32
Week rank
27
Month rank
32
IOCs
4634

What is Revenge Malware?

Revenge belongs to the class of Remote Access Trojans which means that it is usually used by the attackers to control infected PCs remotely or spy on the users by monitoring keystrokes and even computer surroundings through the remote webcam and microphone access.

Discovered for the first time in 2016, Revenge RAT continues to be a threat at the present day with a big spike in popularity monitored in 2019, when the malware was observed targeting corporations and government structures all around the world in a massive malicious campaign codenamed “Aggah”. Thanks to a large variety of distribution methods similar to ransomware, robust core feature-set, and solid persistence mechanisms, Revenge has become a popular choice for cybercriminals. The popularity of this RAT was further aided by its open-source nature – anybody can freely download Revenge on underground hacking forums and employ it in their own campaigns.

General description of Revenge

The Revenge RAT was first observed in the wild in June 2016, when it was released by a user with a nick Napoleon – an Arabic-speaking member of the underground hacking community.

The initial version of this malware was a simple malicious program that didn’t offer much, if any, code obfuscation and was mainly used by other Arabic-speaking cybercriminals. Despite the simplicity of the malware, at the time, only one out of 54 of VirusTotal scanners could pick up the malicious nature of the Revenge code, which confused the researchers bearing in mind the lack of anti-analysis techniques.

The creator used Visual Basic to develop this RAT and personally admitted that the malware was very bare-bones at the time of its initial release– providing only the most basic functions and definitely losing to competitors in terms of core feature-set. According to Napoleon, this explained why Revenge was available free of charge.

After two months since the initial release, a new version v0.2 was issued by the author, on a more popular hacking forum, this time with more features, but still offered completely free of charge. Since then Revenge has evolved even further and today, it offers cybercriminals a wide range of capabilities including remote files and registry alterations on an infected machine, access to memory, processes, and services as well as access to connected devices such as keyboards, webcams, and mice, allowing this malware to record the actions of its victims and collect information like banking credentials and social account data.

Core malicious feature-set was not the only thing that evolved over the course of the Revenge lifetime. Improvements in distribution and persistence made this threat truly a force to be reckoned with. In some campaigns, scripts were executed in the HTML of a custom Blogspot [com] page.

Revenge malware analysis

A video recorded in the ANY.RUN malware hunting service allows us to take a look at the execution of this malware as it unfolds and also other malicious programs like ransomware.

process graph of the revenge trojan execution Figure 1: Displays the lifecycle of Revenge in a visual form. A graph generated by ANY.RUN

text report of the revenge analysis Figure 2: Shows a customizable text report generated by the ANY.RUN malware analysis service which allows diving deeper into the details of the Revenge execution process.

Revenge execution process

Sometimes the first steps of Revenge trojan execution may vary depending on how it made its way into a victim's computer. The most common form of initial infiltration vector is by the use of Mshta.exe for downloading the payload or for direct execution from a URL. After the payload is delivered to the infected machine, Mshta.exe changes the autorun value in the registry and starts three processes - cmd.exe, powershell.exe and schtasks.exe. It starts cmd.exe to kill processes from a list, in the given example processes from the Microsoft Office packet were targeted. Powershell.exe is being launched to download the main payload. In turn, schtasks.exe is launched in a way to generate a scheduled task that provides Revenge persistence in the infected system. After all these steps, the malware is ready to complete commands from C2 servers.

How to avoid infection by Revenge?

The best line of defense against threats like Revenge RAT is to keep a security product installed and updated with the latest firmware. One should not disable native Windows security features, regularly update the OS and adhere to the best security practices of staying safe online.

As such, it is advised to stay clear of downloading email attachments from unknown senders and never enabling macros in Microsoft Office if prompted to do so by a file downloaded from a suspicious email. The same advice comes for other threats like Glupteba and Smoke Loader.

Distribution of Revenge

Revenge has been seen being distributed in a variety of ways the same as ransomware, some of which are potentially more effective than others. For example, Revenge is known to infect PCs from malicious email attachments and corrupted ads on compromised websites.

Most commonly, once delivered in the Microsoft Office file that was downloaded and launched by the potential victim, Revenge will use macros to connect to an outside domain, sometimes hidden on a web page, from which additional scripts and content are downloaded until the actual malware is installed on the PC.

How to detect Revenge RAT using ANY.RUN?

Analysts can get information about which MITRE ATT&CK™ MATRIX techniques were applied by malware. Just click on the "ATT&CK™ MATRIX " button.

Revenge MITRE ATT&CK MATRIX techniques Figure 3: Revenge MITRE ATT&CK MATRIX techniques

Conclusion

Revenge is no slouch when it comes to Remote Banking Trojans. It has begun its lifespan as a simplistic malware such as ransomware and without anti-analysis features but has evolved to become a capable and persistent trojan used in massive attacks in Europe, North America, Asia, and the Middle East.

The popularity of this malware is not only due to its robust feature-set, but also ready availability since Revenge can be downloaded for free from a number of underground communities.

Professionals can establish a secure cyber defense against Revenge and similar RATs and secure their corporate or government networks by reverse engineering and studying a threat using malware hunting services like to ANY.RUN.

IOCs

IP addresses
3.22.53.161
185.204.1.236
192.169.69.25
3.13.191.225
3.22.30.40
79.134.225.82
52.220.121.212
3.140.223.7
3.141.177.1
3.17.7.232
18.158.249.75
193.161.193.99
3.136.65.236
3.124.142.205
3.134.125.175
147.135.21.144
3.125.223.134
3.14.182.203
3.129.187.220
3.142.129.56
Hashes
c5209edd4a0b4152a6ab2eb9fb5f407780a1cd37257e5f3287b64860946b6d93
168a439da3430f8ef5a8711d3b12ca3328b746d6259b2efaf5ce5a8b9d2925d3
2df8397892947ab55473f3764accc719d3808dc0748f887e88ca463d4a9f4ebc
ae911fc225189cf03e2a4ac6c3e46d6d475ef394ce782db163f20a723952a00c
4a92f7f8a93636fa6b1caca52f032e10f7aa7afb6f624bcf4e5aef04a655ffb3
d21a23ffbdfe1bf8232a132b559c99b37f5825d816f83370684e67988b3162a8
2f45a72652931cdc3a96f9cb453609d013b2392e07b79475b0e1e0f541988c28
75fae159aabccc11444b2c66be109b1617ae5d197997cde2ca557de556decdfa
d4f4cd80b1156794d86a4eb8e3c88ac5e5c8c144108621904a6720f43086e4c5
8426a70452d49647e4bc39c5f74f9aa99c9c13372fa40715f8c75e294f843618
3fd13ea53fe57818e8551462ef0b2788035be5ae41aa1e2d3b46b5864fdf974f
9e226a071230aca40f994bc701b08bb7856126a7667366efc91d07bf5bf3e4c8
92eb37915a81ad63efd5368423167afd5404897ae95f7f8893c421c881851061
89764b1188a1a93cfb02af52e9a0535c269818ffc237987579bb043e095692a8
440bffd6d98c7e5207ac7603c0288830d0eab22be0c676cfb4e2ded025302e4d
6ae6a38c38bf4b8c6dc7f088397d2b7426c17321f5739709736468f4dbd388f7
5896742953a63218733dc91c32ceb2fcd44460991efcc12f6902150403e1979d
bab63664f8a6eb35096905209a2f7fef4e17f3c274cb16ce46981c88b851872c
ad4c9fb05deb0c4b3c916895762484d0bee3a120fbf293b55cd88db50252ce3d
0a98c1305ea35f044bc7fbe65ec86ce24e4c214cd7048b05237342d4845f6629
Domains
0.tcp.ap.ngrok.io
googleapis2m.duckdns.org
googleapis2.duckdns.org
susur2334.duckdns.org
2.tcp.ngrok.io
WindowsAuthentication324-49629.portmap.host
booking.msg.bluhotels.com
booking.msg.bluhotels.com
ticket.ipv10.eu
3jkpvk2m8y.dattolocal.net
device-local-3193b8ff-0889-41c5-8fd6-67066f88b277.remotewd.com
majul.com
lah1.duckdns.org
windowsuport.duckdns.org
dnstrafficexchange.duckdns.org
paoduenti.duckdns.org
windonwsxp.duckdns.org
riet.duckdns.org
winsupporting.duckdns.org
securitymsofficesystemsharingcloudfilein.duckdns.org

HAVE A LOOK AT

Adwind screenshot
Adwind
adwind trojan
Adwind RAT, sometimes also called Unrecom, Sockrat, Frutas, jRat, and JSocket, is a Malware As A Service Remote Access Trojan that attackers can use to collect information from infected machines. It was one of the most popular RATs in the market in 2015.
Read More
Agent Tesla screenshot
Agent Tesla
agenttesla trojan rat stealer
Agent Tesla is spyware that collects information about the actions of its victims by recording keystrokes and user interactions. It is falsely marketed as a legitimate software on the dedicated website where this malware is sold.
Read More
Ave Maria screenshot
Ave Maria
avemaria stealer trojan rat
Ave Maria malware is a Remote Access Trojan that is also called WARZONE RAT. Hackers use it to control the PCs of their victims remotely and steal information from infected PCs. For example, they can remotely activate the camera to take pictures of a victim and send them to a control server.
Read More
Azorult screenshot
Azorult
azorult trojan rat
AZORult can steal banking information, including passwords and credit card details, as well as cryptocurrency. This constantly updated information stealer malware should not be taken lightly, as it continues to be an active threat.
Read More
Crimson RAT screenshot
Crimson RAT
crimson rat trojan
Crimson is a Remote Access Trojan — a malware that is used to take remote control of infected systems and steal data. This particular RAT is known to be used by a Pakistani founded cybergang that targets Indian military objects to steal sensitive information.
Read More
Danabot screenshot
Danabot
danabot trojan stealer
Danabot is an advanced banking Trojan malware that was designed to steal financial information from victims. Out of the Trojans in the wild, this is one of the most advanced thanks to the modular design and a complex delivery method.
Read More