Code Monkey home page Code Monkey logo

ransomware_maturita's Introduction

Ransomware_Maturità

Progetto di maturità all'ITTS Vito Volterra (Ve)

The aim of this project is to emulate a ransomware, more specifically "wannacry" . When I started development on this project wannacry was a true threath and many people were still obvious on how it worked.

HOW THIS WORKS :

When a client connects to the Server, the server will generate using RSA (192bits prime numbers) a pair of key (public and private) and then send them back to the client closing the connection when the client sends an ack.

The client will then generate a simmetric key and ecrypt recursively from the given folder every file using the simmetric key. Once this is over, the simmetric key will be encoded in Base64 and then encrypted and stored in the hdd (the pair of private and public key will be stored in clear, the client shouldn't have them only the server but for safety reasons the client should have them).

Now for the good part, we have a software that can decrypt! (Unlike wannacry)

This software takes the private and public keys, uses them to decrypt the simmetric key, decodes it from Base64 and then decrypt every file in the requested folder.

This software eluded a lot of antiviruses (dunno why) so if you are gonna test it of modify I suggest a vm and I strongly advise against modifying the software to only encrypt using the simmetric key and deleting it after that, files will be corrupted without a chance to restore them.

There are prob a lot of typos, don't judge me

ransomware_maturita's People

Stargazers

 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.