How to write an unkillable process for Windows?

后端 未结 10 1210
梦如初夏
梦如初夏 2021-01-15 12:56

I\'m looking for a way to write an application. I use Visual C++ 6.0.

I need to prevent the user from closing this process via task manager.

10条回答
  •  青春惊慌失措
    2021-01-15 13:29

    What I've learned from malware:

    • Create a process that spawns a dozen of itself
    • Each time you detect that one is missing (it was killed) spawn a dozen more.
    • Each one should be a unique process name so that a batch process could not easily kill all of them by name
    • Sequentially close and restart some of the processes to keep the pids changing which would also prevent a batch kill

提交回复
热议问题