开发者

How To Prevent Processes From Starting?

开发者 https://www.devze.com 2023-01-01 09:14 出处:网络
I\'m toying 开发者_StackOverflowaround with a very simplistic sort of process-monitor.Currently, it gets a list of the running processes and attempts to kill any process that is not white-listed.

I'm toying 开发者_StackOverflowaround with a very simplistic sort of process-monitor. Currently, it gets a list of the running processes and attempts to kill any process that is not white-listed.

What I'm looking for is a way to prevent a process from starting that isn't on the white-list. If that's possible. My knowledge level in this area is pretty non-existent and my Google-fu only returns websites discussing Process.Start() :(

Can anyone point me in the right direction?


See 'Hooking the native API and controlling process creation on a system-wide basis' for an example. Also see this SO question

0

精彩评论

暂无评论...
验证码 换一张
取 消