/winrat

Command line Remote Access tool (RAT) targeting Windows Systems.

Primary LanguagePython

Download Maxmind GeoIP2 Database from here ;

https://dev.maxmind.com/geoip/geoip2/geolite2/

Extract the file under winrat/

How to use

Install required modules

pip3 install -r requirements.txt

Run server

git clone https://github.com/Einic/winrat.git
cd winrat
python3 main.py

Generate Agent

cd winrat
python3 generate.py

Change Host/Port

Open settings.ini. And change host, port.

Commands
  • sendfile - Send File.
  • bsendfile - Send Binary file.
  • kill - Kill the connection.
  • info - View System Information (OS, RAM, Location Information, Username/Hostname, Location of Agent)
  • msgbox - Send Messagebox.
  • exec - Execute a Command on Remote Machine.
  • exec-file - Execute a file on the Remote Machine.
  • wanip - View Wan ip of remote machine.
  • hostname - View Remote PC Hostname.
  • username - View Remote PC username.
  • monitoroff - Turn of Monitor.
  • monitoron - Turn on Monitor.
  • cdopen - Eject CD Rom.
  • cdclose - Close CD Rom.
  • playaudio - Play Audio.
  • keydump - Dump keylog buffer.
Termux Compatibilty

This app is compatible with Termux. Run it the same way you run it in Terminal.

TODO

  • Fix sending file to single client.
  • Fix multiple clients information saving.
  • Add keylogging.
  • Fix that args[3] does not get sent.
  • Fix Broken connection problems.