Hello
I'm trying to implement a self protection module for "one of my tools", and as this is widely used across the world I can't use any undocumented way (I mean hooks especially).
I've registred a callback notification with PsSetCreateProcessNotifyRoutine, but I found this really useless... :| , or maybe I don't know how to use it.
This callback only gives the PID of the concerned process, and we cannot act on either the creation or the termination...
We can't even get the calling process (the one who has created / terminated the process)
Anyone got a better idea to self protect a process?
I'm trying to implement a self protection module for "one of my tools", and as this is widely used across the world I can't use any undocumented way (I mean hooks especially).
I've registred a callback notification with PsSetCreateProcessNotifyRoutine, but I found this really useless... :| , or maybe I don't know how to use it.
This callback only gives the PID of the concerned process, and we cannot act on either the creation or the termination...
We can't even get the calling process (the one who has created / terminated the process)
Anyone got a better idea to self protect a process?