Skip to content

A Simple Python Ransomware supported with C2 backend in laravel

License

Notifications You must be signed in to change notification settings

s5treak/gridlock

Repository files navigation

Gridlock


Gridlock is an open source, fully python ransomware PoC for Windows supported with C2 server in laravel. It is meant for educational purposes and not to be used for illegal purposes.

Features

  • Communication/Exfiltration of key back to C2.
  • AES Encryption & RSA Encryption
  • Added ransomware note pop up & Background Image change
  • Ransom Payment Handling & Decryption from C2 server

Installation

Gridlock requires Python 3+, It hasn't been tested on python 2+.

Install python dependencies.

pip install -r requirements.txt

Standalone Executable

With Pyinstaller Only

pip3 install pyinstaller
pyinstaller -w -F --add-data hackedyou.jpg;. gridlock.py

Add Obfuscation with Pyarmor

pip3 install pyarmor
pyarmor pack -e "-w -F -add-data hackedyou.jpg;." gridlock.py

Note: You can add an icon to executable using -i icon.ico

Pyinstaller documentation can be found here Documentation

C2 Server

Setup Lamp server , composer

cd gridlock
composer install
cp .env.example .env
php artisan key:generate
php artisan serve

This project is solely meant for educational purposes.I take no reponsibility of any misuse or misconduct. If in any case suspect abuse i will take down the project at any time.

Gridlock was named after a villain in Flash Season 5.

Releases

No releases published

Packages

No packages published