Git Product home page Git Product logo

aware's Introduction

AWare โ€” C# Ransomware

Ransomware with automatic Coinbase Commerce integration created in C# (Console) and PHP

PD: AWare is just a proof of concept, with this, you can read the encryption and see how it is used, and thus prevent a real one.

About

Ransomware is a type of virus that prevents access to user files on their computer, encrypting them, until the user pays a ransom, in this case, $100, after payment, the program will automatically verify the status and decrypt the data of the user, to later close the process.

How does it work

When the .EXE is opened, a request is sent to the PHP script, with a unique ID of the computer and the name, the server, creates a session, creates a password (with which the user's files will be encrypted) and a secret key with which it encrypts the password, sending it encrypted to the client, the program decrypts the encrypted password and encrypts the files on the computer, reading the bytes of the files and encrypting them, to later be saved with an .AWare extension, e.g, if you have a Image with the name cat.jpg, it will be encrypted and saved with the name cat.jpg.AWare, after that, you are redirected to a page with your session ID, the 'victim' clicks the 'Pay' button and a Coinbase order is generated, while the program sends requests to the server every 10 seconds looking for any payment made under that session, when the payment is completed, AWare will decrypt all the files with the '.AWare' extension and rename them, and your image cat.jpg.AWare, it will return to cat.jpg .

Requirements

  • PHP 7.0 or Higher
  • Coinbase Commerce Account
  • phpMyAdmin

Usage

Create a database and import the db.sql file, then upload the PHP scripts to your server, you need to open the globals.php file and fill in the following definitions:

  • DB_HOST (The address of your database, by default, localhost)
  • DB_USER (The name of your user with privileged access to the database)
  • DB_PASS (Your username password)
  • DB_DATABASE (The name of your database)
  • URL_PAGE (The link where you uploaded the panel.php)
  • API_KEY_COINBASE_COMMERCE (The API-Key generated within your Coinbase Commerce account)
  • SECRET_KEY_WEBHOOK_COINBASE_COMMERCE (Your webhook secret key, you can find it within your account)

Also, you must include the name of the 'webhook/index.php' within your coinbase commerce account, here I show you how to do it:

WebhookAdd WebhookUrl WhereFindYourApis

When you have done the above, you should open the project (.sln) and go to the globals.cs class, where you should place the API link (index.php) and the panel link (panel.php), then you just compile it and you can test it on a virtual machine.

Screenshots / GIFs

Screenshot1

Files encrypted by AWare are renamed to .ex.AWare :

FilesEncrypteds

Encrypted txt example:

PHPExampleTextEncrypted

Decrypted txt example:

PHPExampleTextDecrypted

Website :

Website

When the payment reaches 1 confirmation through Coinbase Commerce:

PayConfirmed

Note

This is a concept of a real ransomware operation, AWare is only created for educational purposes.

If you find any problem in the process, you can notify me, as well as if you want to improve the code or add something to it (I know you won't), you can do pull request.

aware's People

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.