m417z / global-inject-demo

A global injection and hooking example
GNU General Public License v3.0
119 stars 34 forks source link

Global Injection and Hooking Demo

A global injection and hooking example. Injects into all processes and hooks the MessageBoxW function. Also hooks the CreateProcessInternalW function to be able to inject into newly created processes. Refer to the blog post for details: Implementing Global Injection and Hooking in Windows.

Compiling

Running

Seeing it in action

Use any program that displays a message box using the MessageBoxW WinAPI function. An easy option is running slmgr.vbs via the Run dialog (Win+R).