To hook a kernel function with EasyHook, do you need your own DLL that you made to be injected?
Asked
Active
Viewed 1,268 times
-3

Cody Gray - on strike
- 239,200
- 50
- 490
- 574

The Empire Strikes Back
- 149
- 1
- 13
-
have you read [their documentation](http://easyhook.codeplex.com/wikipage?title=OldDocumentation&referringTitle=Documentation)? You really need to show what you have tried and what doesn't work – Sam Holder Apr 23 '14 at 11:43
-
Thats the problem, the only documentation I can find is http://www.codeproject.com/Articles/27637/EasyHook-The-reinvention-of-Windows-API-hooking and it talks about a DLL to be injected, I will admit, I really have no idea what I'm doing, but I just want to be able to hook things like OpenProcess and find out when they're being called. – The Empire Strikes Back Apr 23 '14 at 11:49
-
[this](http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/299810-c-tutorial-how-become-endscene-hooker.html) might be useful? – Sam Holder Apr 23 '14 at 11:51
1 Answers
1
Yes, you'll need your own DLL that you want to inject. The idea is you need to write your own DLL to be injected and a host process. Your host process will inject your DLL inside the kernel32.dll
or any other Windows DLL you are interested in to do the injection. Please read their tutorial, which contains a detailed description of the details.

Cody Gray - on strike
- 239,200
- 50
- 490
- 574

azizulhakim
- 658
- 7
- 24
-
How do you inject a DLL into kernel32.dll? You can inject a DLL into the process, and redirect calls/jmps from your target function to your DLL's code. You can't inject a dll into a dll. – David Davidson Sep 16 '15 at 10:22