Giter Site home page Giter Site logo

pkw4r3's Introduction

pkw4r3

This is an attempt to create a POC of Crypto Ransomware. Please use this for only educational purposes only. More details and explaination about the POC Crypto Ransomware Framework are defined in Creating a POC Crypto Ransomware - 1

Requirements:

  1. Apache+PHP Stack for C&C Server I have developed everything on Kali Machine as attacker machine. I didnt test this on Windows Machine.

  2. Windows Machine to act as Victim Machine Please avoid legacy machines that are below Windows XP. I am using WMI wrappers which might not work in those machines

  3. Python, Microsoft Visual C++ Compiler for Python 2.7, Pycrypto installed on Windows Machine I understand that malware should not be dependent with third party requirements other than built-in features of the victim. Considering, this is just a POC not a malware and for easy readability, I have used Python and above packages.

Installation:

  • Copy "C&C" folder in Apache Web Server.
  • Copy "Ransomware" folder to Windows Machine

Execution:

  • First run generate_dga.py and choose one of the domains and add it to Windows /etc/hosts linking to your attacking machine
  • Start Apache Web Server
  • Execute ransomware.py
  • Your files in Desktop with given extensions are encrypted

Decryption:

  • Browse summary.txt in victim_manager in Apache Web Server to see the folder related to the victim
  • Copy the .pem suffixed file to Victim Windows Machine
  • Run decrypt.py with .pem file as argument
  • Encrypted files are decrypted

Note: Please delete the folder related to the victim in 'victims' folder for multiple testing in same environment.

For a working example, check the final workflow section in Creating a POC Crypto Ransomware - 6

Check this out to have better understanding of Ransomware and this framework. Creating a POC Crypto Ransomware - 1

pkw4r3's People

Contributors

pr454nn4kum4r avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.