Skip to content

This project is a proof-of-concept (PoC) ransomware designed for educational purposes to demonstrate basic ransomware functionality, including file encryption and ransom note generation.

License

Notifications You must be signed in to change notification settings

Nafergan/poc-ransomware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ransomware-poc

This project contains a basic poc of a ransom type malware that demonstrates the actions that ransom type malware performs when it activated in the system, the malware generates the key and uses it to encrypt all the files in its folder (except the malware itself), then it sends the key to the server and then deletes it from the machine on it activated and waiting for input of the key from the user for decryption.

Run Locally

  • Compile the malware and the server and run server, you can use gcc & g++ to do that.
  gcc -o ransom ransom.c
  g++ -o server server.cpp -pthread
  ./server
  • Then copy the malware to another folder and run it, After it finishes the encrypting you will see the ransom dialog.
  • Now you can go back to the server and copy the key to the ransom dialog and decrypt the files.

Warning

Please be careful when running this malware!
Run it only in the sample folders you create to test this malware.

About

This project is a proof-of-concept (PoC) ransomware designed for educational purposes to demonstrate basic ransomware functionality, including file encryption and ransom note generation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published