A tool that can make a process into a critical process.
(If such process is later closed, or terminated, it will cause a Blue-Screen-of-Death.)
This is also a POC project for my blog post:
It covers the technical details of how to give a running process (or a thread) a critical status, or to remove it.
You can download the binary file to run the MakeProcCrit tool here.
Make sure to run the tool as an administrator. It should give you the list of available command line options:
Then, if you want to make a process critical, say, all running Notepads, you would do:
MakeProcCrit.exe 1 notepad
or, you can do it by a PID:
MakeProcCrit.exe 1 1234
If the operation succeeds, and you try to terminate it, say, with a Task Manager, you'd get this warning:
Alternatively, if you close that instance of Notepad, you'd crash the operating system:
Finally, to remove the critical status from the poor Notepad (or from any other process), do:
MakeProcCrit.exe 0 notepad
For more details, please read the blog post.