Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Monitor Another program

Name: Anonymous 2011-11-12 9:07

I want to write an app that monitors another program (my main app) and restarts it if the user tries to kill it in the task monitor.  This is for windows 7 systems.  I can use any language, but I am assuming .net language would be the easiest.  Can anyone provide me with any tips or links or books that would help me out. 

I would prefer not to do something like a loop that just reads the task monitor every 5 seconds or something like that.  I am more interested in a solution that uses hooks.

Name: Anonymous 2011-11-12 10:33

Implement part of it as a kernel service that polls the userland process list for your specific executable name, make a hash of the userland process and compare (so some faggot doesn't take advantage of your system by creating a program with the exact same name, then able to kill your application) and load the program if it isn't found.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List