This is a simple ransomware
The idea is to prove that writing a blindly destructive piece of software is not only very simple, but can be achieved with less than 200 lines of code.
CTF questions are here.
Feel free to post the write-up anywhere
$ clang randomware.c -o ~/randomware
$ strip --strip-all ~/randomware # Skip this step for easier analysis
$ sudo ~/randomware
This software was created purely for research purposes.