Posted: Thu Nov 15, 2012 4:01 pm Post subject: A common function that is invoked in every application
So basically I am testing a new injector that loads my driver and attaches to the target process.
Then I hook a function and wait for the function to be called by the target application. When the hooked function is invoked it loads my DLL and then it restores the original bytes.
The problem with this is that I have to find a function that is reliable and is shared by the majority of functions. if I hook a function like Sleep in the kernel32 library, it gets invoked every once in a while and not every application uses Sleep.
So, my question is what function can I hook that the majority of applications use?
Joined: 09 May 2003 Posts: 25859 Location: The netherlands
Posted: Thu Nov 15, 2012 4:50 pm Post subject:
Most windows applications have a message loop dealing with the messages their gamewindow gets
Try hooking GetMessageA/W and PeekMessageA/W _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum