Is there a way to detect which programs or modules are listening to a keyboard hook? By Sysinternals maybe?
Nope. You would likely have to hook into SetWindowsHookEx() itself in order to detect that.