Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 662 Bytes

File metadata and controls

11 lines (8 loc) · 662 Bytes

SOURCE CODE

Source codes inside the src/ Directory.

Executable/DLL Files

Executables/DLLs Files inside the bin/ Directory.

How to run?

Run: WaitingHook.exe and then run Hooker.exe passing the correct parameters: >> Hooker.exe <process.exe> <C:\Path\To\DLLToBeInjected.dll>

How does it work?

It seeks for the desired process's thread, then gets its TID (Thread ID), open the thread's handle, open the process itself, inject the desired dll within and waits until the main process's thread enters in an alertable state, when it happens, it will instead execute our code once we inserted the code to be executed via QueueUserAPC.