njRAT

njRAT is a remote access Trojan. It is one of the most widely accessible RATs on the market that features an abundance of educational information. Interested attackers can even find tutorials on YouTube. This allows it to become one of the most popular RATs in the world.

Type
Trojan
Origin
Middle East
First seen
1 January, 2013
Last seen
16 April, 2021
Also known as
Bladabindi
Njw0rm
Global rank
7
Week rank
2
Month rank
2
IOCs
15053

What is njRAT Malware?

njRAT, also called Bladabindi and Njw0rm is a remote access trojan that is used to remotely control infected machines. Because of its availability, excess of online tutorials, and a robust core feature set along with several implemented evading techniques made njRAT one of the most widely used RATs in the world.

This malware was detected for the first time in 2013, however, some related RATs have been observed by researchers in 2012. The highest surge of njRAT Trojan attacks was recorded in 2014 in the middle east, which is the most targeted region for this malware.

General description of njRAT

njRAT trojan is built on .NET framework. This RAT gives hackers the ability to control the victim’s PC remotely. njRAT allows attackers to activate the webcam, log keystrokes, and steal passwords from web browsers as well as multiple desktop apps.

In addition, the malware gives hackers access to the command line on the infected machine. It allows to kill processes as well as remotely execute and manipulate files. On top of that, njRAT is capable of manipulating the system registry. When infected, Bladabindi Trojan will collect several bits of information about the PC that it got into, including the name of the computer, operating system number, country of the computer, usernames, and OS version.

Also, this malware is able to target cryptocurrency wallet applications and steal cryptocurrency from PCs. For example, it is known to be able to grab bitcoins and even access credit card information which sometimes can be stored in crypto apps as a means to purchase cryptocurrency.

After infecting a computer the malware uses a variable name and copies into %TEMP%, %APPDATA%, %USERPROFILE%,%ALLUSERSPROFILE% or %windir% – a behavior not uncommon for this time of malware. It can also copy itself into <any string>.exe, to ensure that it will be activated every time the victim switches on their computer.

njRAT trojan has a few tricks up its sleeve to avoid detection by antivirus software. For example, it uses multiple .NET obfuscators to obstruct its code. Another technique that the malware uses is disguising itself into a critical process. This does not allow the user to shut it down. It also makes njRAT hard to remove from the infected PCs. Bladabindi RAT can also deactivate processes that belong to antivirus software, allowing it to stay hidden. njRAT also knows how to detect if it has been run on a virtual machine which helps the attackers to set up countermeasures against researchers.

Authors of Bladabindi are leveraging Pastebin to avoid investigation by cybersecurity researchers. njRAT downloads and executes secondary-stage payloads from Pastebin. So, the malware has no need to establish a traditional command-and-control (C2) server. The Pastebin creates a pathway between njRAT infections and new payloads. With the Trojan acting as a downloader, it will grab encoded data dumped on Pastebin, decode, and deploy.

For spreading, njRAT can detect external hard drives connected via USB. Once such a device is detected, the RAT will copy itself onto the connected drive and create a shortcut.

Who created njRAT?

Creators of njRAT are members of an underground hacker community named Sparclyheason. Evidently, they have created a very popular and destructive malware. njRAT was classified as “severe” by Microsoft Malware Protection Center.

In fact, following a large malicious campaign in 2014, Microsoft shut down four million websites in an effort to filter traffic that was going through no-ip.com domains.

njRAT malware analysis

ANY.RUN allows researchers to watch the njRAT in action in an interactive sandbox simulation.

njRAT execution process graph

Figure 1: Displays the lifecycle of njRAT in a visual form as a process graph generated by ANY.RUN malware hunting service

text report of the njRAT malware analysis

Figure 2: A customizable text report generated by ANY.RUN allows to take an even deeper look at the malware and helps to share the research results

njRAT execution process

In our simulation, after njRAT got into the target device and began execution it instantly started its malicious activity. Usually, the initial file renames itself and creates a child process. Sometimes njRAT Trojan injects its code into legitimate processes such as RegSvcs.exe and RegAsm.exe.

The malware also has the ability to run itself through Task Scheduler. This child process executes the main malicious activity. Such activity includes stealing information, connecting to C2 servers, and changing the autorun value in the registry to run itself when the operating system starts.

Distribution of njRAT

njRAT trojan uses quite a few attack vectors to infect its victims. For example, the malware is known to target Discord users as part of spam campaigns. In addition, leverage cracks and keygens in well-known software in order to trick users.

Another known distribution method was through a compromised website that tricked users into downloading a fake Adobe product update which in turn installed njRAT malware to the PC. Bladabindi was also featured in spam email campaigns. In this case, it was delivered to potential victims as a malicious attachment.

In October 2020 mailspam used the 'shipment tracking' theme, faking popular courier and postal services. Attachments in Zip format contained an encoded Visual Basic script (VBE) payload.

Moreover, crooks use cloud-based storage platforms more often. Attackers host malicious files there to deliver malicious software, and even use them as part of a command and control (C&C) architecture.

How to detect NJRAT using ANY.RUN?

To determine whether the sample under review is njRAT or not, you can take a look at the changes that it made in the registry. To do so, open "Advanced details of process" of the malicious process and look at the "Registry changes" tab in the "Events" section. If a process has created a key with the name [kl] into the path HKEY_CURRENT_USER\Software\32_characters_and_digits, you can be sure that the given sample is njRAT.

njrat registry changes Figure 3: Сhanges made by njRAT in registry

Conclusion

The relative ease of operation, multiple tutorials on how to set up this malware, and very extensive information stealing feature set have made this RAT one of the most popular remote access trojans in the world.

Even though the peak of its activity was recorded in 2014 and targeted mostly the middle east and India, njRAT Trojan remains to be extremely popular today. This malware is known to have targeted both private and corporate victims and poses a lot of danger to internet users, especially considering that it can be delivered to potential victims in several ways, and preventing infection is much harder in some cases than in others.

Even though Bladabindi malware creators have taken several steps to hinder the analysis, malware hunting services like ANY.RUN allows professionals to easily study njRAT malware samples and share the research results with the world to improve global cybersecurity.

IOCs

IP addresses
3.125.223.134
18.192.31.165
3.125.102.39
3.124.142.205
23.237.25.241
18.158.249.75
3.125.209.94
103.133.105.179
52.28.112.211
3.127.253.86
3.127.59.75
3.19.130.43
13.58.157.220
3.142.81.166
18.189.106.45
3.142.167.54
167.71.56.116
85.86.181.192
79.134.225.73
3.132.159.158
Hashes
03679f07d350773868e7500108955cf15d4158650bc9e564fee5c3279157f024
f3cd2dacc06980aa283b3b0b8a439ccb7934b5c1682302aeae4b17a3d3fb6ecc
5a02cd489a9811a096119e0b42d2985d666ca408484308cfa2f62ca7862ad10a
601101f702991f71dfd3c96ae3ed7ffcc2049067a980b674a3d70ca45be402b9
e64bd530f521660c72a2e9cdcd5f6d4f1ac5b2cb92653af47312db47e6f8ff76
4aceacfa2eb74b9bbe7f8686310cdc56e02131d5dadf0997a32084029e7ce17e
7970ff610ebc8872a02e765b7977e625b8776a188f85fa059d83b5446310512e
d1b06d1fd6f02ad04e73194595fe443052ae1ac4ddbc3a01326eb90250d4910e
8cdbee565702c762878c66854908a1b9f827042e85d8b3737fce47aa4dcf54df
1cf0d71185360baa03b33209257b718985f78a517034144c8e83d8657d0b4c63
14cdb0714a2abb6bc556a0a1b14d97bfa941577986cd2ddebbb56885c36c86bd
afc8223aa8737eabd90469224a81ea4d9fb57edfc0d6db6a9fc395dc72439c66
1abcbe3ef1c7057269b8a172688be6aed32f9a79c91e2a0f56dca5f7fe206d0e
a8b351f3b9849ccfcde4eb2c94bd63736c31785dd3ca85d0525fe383eeac17eb
7b799332908ac620d07b350b879716ec61efdf3a3e85e26562fdbfa47bc82386
e173266e3d9af60add936ab2b0de936d1e35fa85556ea5c60bad7c75e818c4e3
f4ff02c7c929c235b9da5fdfdf3e51088c3a3fdb7bed67daa2e41f0efe72b13d
c30991b3d1d1f361391713d5119764626c4d2027a90e02437088e2c9e662589e
7ae8b966cc3ebd1e5824c887b65486ee9e9d8c11e8b6cab6414e71a71756bc91
bd80efdf07ea4aa43d271caed08a9cf6c668851dbb87ba2cc4b3124fc8d18445
Domains
0.tcp.eu.ngrok.io
kanat31.duckdns.org
bao-ava.eu.ngrok.io
1.tcp.eu.ngrok.io
d8bfc1d6.eu.ngrok.io
majul.com
modoba.duckdns.org
buffercc.duckdns.org
4.tcp.eu.ngrok.io
8.tcp.ngrok.io
6.tcp.ngrok.io
tokio127.duckdns.org
unruffled-wood-00139.pktriot.net
eu-central-7075.packetriot.net
anunankis1.duckdns.org
bestubuy.ddns.net
bliss123.ddns.net
bmz.duckdns.org
abigguy.ddns.net
britianica.uk.com

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