njRat usage guide

Mastering njRAT: Complete Guide – Now Hack Anything

njRAT – Remote Access Trojan

njRAT is a RAT with powerful data-stealing capabilities. In addition to login keystrokes, it is capable of accessing a victim’s camera, stealing credentials stored in browsers, uploading and downloading files, performing the process and file manipulations, and viewing the victim’s desktop.

njrat logo

The njRAT Trojan can be used to control Botnets (network of computers), allowing the attacker to update, uninstall, disconnect, restart, close the RAT, and rename its compaign ID. The attacker can further create and configure the malware to spread through USB drives with the help of the Command and Control server software.

Objectives

  • Create a server using njRAT.
  • Access the target machine remotely.

Requisites

  • Windows 10 (Attacker).
  • Windows 7, 8 or Server (Target).

Download njRAT :

Password : adrikadi

Download Link 1

Download Link 2

Download Link 3

Create an Executable Server with njRAT

  1. Log in to the Windows 10 and install the njRAT.
  2. Launch the njRAT, the GUI appears along with a pop-up, where you need to specify the port you want to use to interact with the target machine. Use the default port number 5552, and click Start.


    njRAT-1
  3. Click on Builder at lower-left corner.


    njrat-2
  4. On the Builder dialog-box, enter the IP address of the Attacker machine – Windows 10, check the option Copy to StartUp and Registry StarUp, then click Build as shown below:


    njrat-3
  5. Save the file on the Desktop and name as Example.exe.
  6. Now, we need to use any technique to send this server to the intended target through mail or any other way.

    To make this easier in this lab, I copied the Example.exe file in the shared network location.

Execute the Server on the Target Machine

In this Lab I’m using Windows 7 SP1 virtual machine.

Note: Make sure to enable the Firewall on the target machine.

  1. Drag the Example.exe file to your Desktop and double-click it.


    njrat-file



    As you can see below, the connection was successfully established.
    netstat
  2. Switch back to the Windows 10 (Attacker). When the target double-clicks the server, the executable starts running and the njRAT GUI running on the Windows 10 establishes a persistent connection with the Target machine as show below:


    njrat-5

    The GUI displays the machine’s basic details such as the IP address, OS, user name and so on.

Note: Unless the attacker disconnects the server on his own, the victim machine remains under his control.

Manipulate Files on Target machine

  • Right-click on the detected Target machine and click Manager.


    njrat-6

    Double-click on any directory in the left pane. You can right-click any selected directory and manipulate it using the contextual options:


    njrat-7

    njrat-8

Manage the Processes

  • Click on Process Manager on the top menu. You will be redirected to the Process Manager, where you can right-click any process and perform actions such as Kill, Delete, and Restart.


    njrat-9

Manage the Connections

  • Click on Connections on the top menu and select a specific connection, right-click on it, and click Kill Connection. This action kills the connection between two machines communicating through a particular port.


    njrat-10

Manage the Registries

  • Click on Registry on the top menu and choose a registry from the left pane, right-click on its associated registry files, a few options appear to manipulate them.


    njrat-11

Launch a Remote Shell

  • Click on Remote Shell on the top menu. This action launches a remote command prompt of the target machine.


    njrat-12
    Similarly, you can issue all the other commands that can be executed in the command prompt of the target.

Run File

  • On the main window of njRAT, righ-click on the Target machine and select Run File. An attacker makes use of these options to execute scripts or files remotely from his/her machine.


    njrat-13

Launch a Remote Desktop Connection

  • Righ-click on the Target machine and select Remote Desktop Connection


    njrat-14


    This launches a remote desktop connection without target’s consent. You will be able to remotely interact with the victim machine using the mouse or keyboard.

    njrat-15


    In the same way, you can select the Remote Cam and Microphone to spy on the target and track voice conversations.

Perform Key Logging

  • Switch to the Windows 7 (Target machine). Let’s assume that you are a legitimate user and perform a few activities such as logging into any websites or typing text in some documents.
  • Now, switch back to Windows 10 machine / njRAT GUI and right-click on the target machine, select the Keylogger option.


    njrat-17


    The keylogger window appears, displaying all the keystrokes performed by the target.

In case the victim/target, attempts to break the connection by restarting the machine, however, as soon the victim logs again, the njRAT client will automatically establishes a connection with the victim.

Leave a Reply