Git Product home page Git Product logo

ransom0's Introduction

Ransom0

Ransom0 is an open source ransomware made with Python, designed to find and encrypt user data.

Program Structure:

In order for the program to work from anywhere in the world, the server uses PyNgrok to tunnel it and make the server reacheable from evrywhere.

The project is composed of two main parts/programs: the server and the ransomware

the server is organised in two parts:

  • SQL database: create a SQL database with a CLIENT table where user datas such as key, digits, time are stored in there
  • HTTP server: basic http server to handle POST requests made from the ransomware.

the ransomware is organised in four parts:

  • Find Files: find files by extensions and store the path into path.txt
  • Encrypt Files: encrypt files in path.txt, generate digits id, send key and id
  • Decrypt: ask for money, wait for the key, and decrypt file if key is correct
  • Send data: send data to our http server

How to run

You need to have python3 installed and configured

  • Download the repository via git or zip
  • Install requirements: pip install -r requirements.txt

1.Run the server: python3 server.py Before running the ransomware, you'll need to modify a few things in ransom.py:

  1. Put the url you've got when you started the server: enter image description here

  2. I recommend running it in a testing directory, otherwise all of your files will be encrypted: enter image description here

  3. Run it: python3 ransom0.py

To do:

  • Add logs
  • Add filter to exclude system files
  • Message in a GUI windows (Tkinter)
  • !! Add a databases or server instead of mail (SQL)
  • !! Add a Web Interface ( Frontend: VueJs ? Backend: Django?)
  • !! Bypass permission / Privileges Escalation (WinPwnage)
  • Hide logs
  • Automatically show the message on startup
  • Generate executable for all OS (pyinstaller)

Testing

This Program have been test on:

  • Windows 10
  • Mac OS Catalina 10.15.6 (19G73)
  • Mac OS Big Sur 11.2.1 (20D74)

DISCLAIMER

THIS PROJECT IS FOR EDUCATION PURPOSE ONLY, DO NOT RUN IT WITHOUT PERMISSION! I AM NOT RESPONSIBLE FOR ANY DAMAGED CAUSED BY THE ILLEGAL USAGE OF THIS PROGRAM

Stargazers

Stargazers repo roster for @USERNAME/REPO_NAME

ransom0's People

Contributors

hugolb0 avatar pyup-bot avatar jbsec avatar dependabot[bot] avatar fossabot 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.