Project component of SMU CS440 module where our team was taked to implement a ransomware
This Ransomware musn't be used to harm/threat/hurt other person's computer. It's purpose is only to share knowledge and awareness about Malware/Cryptography/Operating Systems/Programming. This ransomware made for learning and awareness about security/cryptography.
Ensure that you have python 3.10.0 or higher, tkinter, Pillow, auto-py-to-exe, psutil, rsa installed
pip install <required libraries>
Once that's done, run auto-py-to-exe to convert koufu.py to exe file. You should see a popup like this:

Configure as follows:
- Select path to koufu.py
- Select one file option
- Click on additional files option and import entire
imgfolder as folder option - Click on
convert .py to exe - You should see an
outputfolder with theexefile inside
Once done, you can execute exe file as administrator to run ransomware.
To enable remote server, ensure that firewall for both Virtual Machine and local machine are set to off

Once turned off run the following command:
python server.py
On your command prompt run the following command:
ipconfig
Configure IP_ADDRESS based Ethernet adapter VMware Network Adapter VMnet8: for both koufu.py and server.py
import rsa
import os
import sys
pubKey, priKey = rsa.newkeys(1024)
with open("public.pem", "wb") as f:
f.write(pubKey.save_pkcs1("PEM"))
with open("private.pem", "wb") as f:
f.write(priKey.save_pkcs1("PEM"))
