stevemk14ebr / PolyHook

x86/x64 C++ Hooking Library
MIT License
882 stars 168 forks source link

Hook CreateProcess in child process #26

Closed imtrobin closed 7 years ago

imtrobin commented 7 years ago

Hi, is it possible to hook CreateProcess in child process I created with CreateProcess? I want to detect if my child process are spawning other processes

stevemk14ebr commented 7 years ago

Yes it is. Inject a DLL into that process and call polyhook function that way.