Given that PsSetLoadImageNotifyRoutine(); is called after a image is
loaded, is there a way to prevent the image from starting execution at
all?
Regards,
Craig Peacock
> Is there a way to prevent a process from starting.
[...]
system call redefinition. See Mark Russinovich's filemon and regmon for
two examples on how it should be done, respectively for IO and registry
calls. ZwCreateProcess is system call 0x29
--
< http://www.reactos.com/ > Open source clone of Windows NT. Current
Don't stand, REACT! version 0.0.19. C, C++ and ASM developers
and beta testers are welcome!
If you want to prevent EXE from starting, you can hook NtCreateSection with SEC_IMAGE flag and fail it, this seems to be the best
way.
Max