GithubHelp home page GithubHelp logo

5l1v3r1 / wraith-rat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wraith-labs/wraith

0.0 2.0 0.0 325 KB

A Remote Administration Tool (RAT) / Payload Dropper written in Python with PHP/HTML/JS/CSS Command and Control (C&C) API and panel.

License: GNU Affero General Public License v3.0

PHP 5.42% CSS 0.37% JavaScript 82.56% Python 11.65%

wraith-rat's Introduction

wraith-RAT

Info

A Remote Administration Tool (RAT) written in Python with PHP/HTML/JS/CSS Command and Control (C&C) API and panel.

Installation Instructions (Latest - v3.0.0)

  1. Download or clone this repository.

SERVER

  1. Place the files in the server folder in the root of your HTTP server (Apache2 / PHP7 recommended).
  2. Make sure that the required PHP extensions are installed (can be found in info/required_libs.txt).
  3. If not using Apache2, make sure that the server/assets/db.json, server/assets/wraith-scripts files and directories are protected from public access (IMPORTANT). If using Apache2, this is already done using the .htaccess files.
  4. If using Apache2, make sure .htaccess override is enabled in your Apache config.
  5. Log into the panel by accessing the URL of your site (you should be automatically redirected to the login page). This is very important as it resets the encryption keys so that no one can access the API without logging in. The credentials can be found in the server/assets/db.json file.
  6. Change the panel login credentials in the server/assets/db.json file along with the wraith encryption key and the server fingerprint (any random strings, around 10-30 chars). Again, VERY IMPORTANT.

CLIENT

  1. Make sure you are using Python3.5 or above and have the libraries from info/required_libs.txt installed.
  2. Go to a text hosting website such as pastebin.com (from now on, intructions will refer to Pastebin) and make an account. You'll need it in order to later edit the file in case the address of your server changes.
  3. Set the paste to never expire and set it's privacy to unlisted (optional but highly recommended)
  4. Paste in the full address of your control server's API as the content; for example, http://example.com/api.php.
  5. Edit the client/wraith.py file and change the constants at the top of the file to reflect your previously chosen settings. Should be self explanatory. (Warning: make sure the FETCH_SERVER_LOCATION_URL is a raw text URL; in other words, it has /raw/ following pastebin.com)
  6. Run the wraith in debug mode (defined by a constant in the file) first to verify that everything went well and the wraith is connecting to the server properly.
  7. Log into the server to verify that commands are working. Try ping as the command to test if everything works.
  8. Run the wraith without debug mode and enjoy. You can also freeze it with PyInstaller or others but only PyInstaller is officially supported.

NOTE: These installations only come with 2 basic payloads. For more pre-made payloads please see https://github.com/TR-SLimey/wraith-RAT-payloads

Releases:

v3.0.0:

  • First public release of wraith
  • Basic functionality including:
    • Wraith successfully connects to the server
    • Wraith sends regular heartbeats to fetch commands and show signs of life
    • Wraith executes modular commands in threads
    • Wraith sends command results to the server
    • Server can manage multiple wraiths
    • Server can send modular commands
    • Server can receive command results

wraith-rat's People

Contributors

tr-slimey avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.