Simple ransomware, encrypt data via symetric AES-ECB 256 encrypt
It is supposed encrypt to all type of files.
Requirements: Python Version: 3.8 Libs: pycrypto, sys, so and re
Generating Keys: You can easily generate a new key running genPassword.py.
- Alter the folder target in file
R4VEN_ransomware.py
in variablepath
- pip install -r requirements.txt
- python call.py > hash.key
- cat hash.key | python R4VEN_ransomware.py
All Done :)
You can run by typing python R4VEN_ransomware.py (KEY)
OBS: Without (), you can put any key that you want, but need to be length of 32 caracters
The Crypt key needs to be via argument (You can change that in source code)...
To chosse what directory that will be encrypted, you can modify that via code on R4VEN_ransomware.py:23.
Dont forget to put an / at the end.
Eg.:
"/home/kali/Documents/"
"/"
"/var/www/html/"
For decrypting, you can run python R4VEN_decrypter.py (KEY) OBS: Without (), put the same key that you use to encrypt the data, 32 caracters
To chosse what directory that will be decrypted, you can modify that via code on R4VEN_decrypter.py:17.
Dont forget to put an / at the end.
Eg.:
"/home/kali/Documents/"
"/"
"/var/www/html/"
Will be updates
A Dockerfile created a image base to you in outher projects, this image is for example this project in your machine in safeted. And encrypt all data in folder /home/
docker build -t ther4ven/r4venransomware .
docker run ther4ven/r4venransomware