Harmless malware
A ransomware without the ransom
Report Bug
·
Request Feature
Table of Contents
This cybersecurity project aims to understand how a malware works and focus on ransomware.In our case the program will only affect a small portion of the local files.
Since it's only a prototype, there's isn't any ransom to pay to decrypt the files. Plus, the program will only affect the files in the ~/infection
directory and the spread will stay local.
The program is written in C++
Because it's a simple C++ project, there isn't much to say here
NOTE: Despite the fact that the program is an harmless malware, it's still a malware. So please, don't use it on your computer but on a virtual machine and more importantly don't use it for malicious purposes.
Having a C++ compiler like c++
-
Clone the repo
$> git clone https://github.com/Link-Wolf/stockholm.git
-
Compile the program
$> cd stockholm $> make
-
Execute it
$> ./stockholm [(-h|--help)|(-v|--version)] [(-s|--silent)] [(-r|--reverse) KEY]
The
-h
(or--help
) option is used to display the help message The-v
(or--version
) option is used to display the version of the program The-s
(or--silent
) option is used to run the program in silent mode and avoid the display of each file affected The-r
(or--reverse
) option is used to decrypt the files affected by the program. TheKEY
is the key used to decrypt the files
The whole ~/infection
directory is affected by the program
Decrypting the files with the key
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request