| View previous topic :: View next topic |
| Author |
Message |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Wed Mar 05, 2008 10:03 pm Post subject: Recreating APIs |
|
|
My head's hurting right now, and I'm not feeling well, so this might be a stupid idea, but I wanted to get it down before I forgot it.
Anyways, all these people keep talking about how some APIs are patched by GG in certain dlls, blah blah.
So what if you like, disassembled the dlls, found the addresses of the functions (GetProcAddress()?), and simply copied the bytes?
Does GG only block the actual kernel32.dll, or does it completely block all the operations that access that?
Seems like they'd have a hell of a time if it was the latter, and we started creating dlls with such code.
_________________
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Wed Mar 05, 2008 10:09 pm Post subject: |
|
|
| The problem with just copying the bytes is the fact that most of the addresses/pointers used in jmps/movs/calls etc. are static. That means after copying the bytes to their new location, you would have to scan through and manually fix them.
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Wed Mar 05, 2008 10:20 pm Post subject: |
|
|
| x0r wrote: | | All DLLs come with reloc tables. |
I never said they didn't, I am just saying that if you simply memcpy the function into a buffer then arbitrarily exectute it, you're going to have some problems.
|
|
| Back to top |
|
 |
|