|
-
May 24th, 2011, 04:54 PM
#1
Thread Starter
New Member
[VB6] Simple API hook
Hello
Im kinda new to API hooking but i need to do one thing.
I would like to prevent any other application than my own to hook into specific process (OpenProcess, ReadProcessMemory, WriteProcessMemory and so on). Whats the best way to do this? I hope i explained it clearly enough. Thanks in advance
Last edited by mastahb; May 24th, 2011 at 05:54 PM.
-
May 25th, 2011, 08:13 AM
#2
Re: [VB6] Simple API hook
What language are you using?
You may want to further explain/justify why this is needed which may result in more replies
-
May 25th, 2011, 03:21 PM
#3
Fanatic Member
Re: [VB6] Simple API hook
Well if you hook into your own program and neglect any CallNextHookEx calls you could prevent other programs from monitoring your events. One problem is that Windows made it easy to inject dll code into unmanaged code (all hacks etc. are made around this principle), so it is never possible to prevent this from happening.
Unless there is a way to routinely check if your managed code has been changed (hash compare check?) which I doubt, there is simply no way. Software protectors like Punkbuster, Gameshield, etc. exist for a reason...
-
May 25th, 2011, 04:09 PM
#4
Thread Starter
New Member
Re: [VB6] Simple API hook
Im going to use either Visual Basic or Visual C#.
Software protectors are not good enough for me since i need to gain info about several computers connected via p2p gaming tool. The way to do that is to protect each computer locally and send its status to other computers.
Last edited by mastahb; May 25th, 2011 at 04:17 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|