| View previous topic :: View next topic |
| Author |
Message |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Jul 20, 2008 2:45 pm Post subject: |
|
|
Why?
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Sun Jul 20, 2008 2:46 pm Post subject: |
|
|
| Hmmm...That makes sense. After all, hookhoping is muchhhhhhh easier than piping.
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Sun Jul 20, 2008 2:49 pm Post subject: |
|
|
Hooked multiple levels deep in Ring0.
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sun Jul 20, 2008 2:50 pm Post subject: |
|
|
| Flyte wrote: | No way, you can do what I do lately, make an exe with a .reloc section so it can inject itself. This requires you to re-code a bit of the PE loader however. This also gets rid of a lot of detectability issues as you are manually loading the file into the process.
Rather fun.  |
I just thought of that too.
Just wasn't sure how.
How can I add an import to an executeable?
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Sun Jul 20, 2008 2:51 pm Post subject: |
|
|
| Symbol wrote: | I just thought of that too.
Just wasn't sure how.
How can I add an import to an executeable? |
Imports are already added by the linker, what you want is a .reloc section so you can rebase it anytime you want.
Linker option: /FIXED:NO
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Jul 20, 2008 2:52 pm Post subject: |
|
|
| Flyte wrote: |
Hooked multiple levels deep in Ring0. |
That's what I thought:
| oib111 wrote: |
WPM is hooked in kernelmode right?
|
Btw, is there any place that explains everything in the category of PE Header, and .reloc, .data, .text, etc sections? I used to know some about that, but I forgot xD
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Sun Jul 20, 2008 2:52 pm Post subject: |
|
|
| Flyte wrote: | | Symbol wrote: | I just thought of that too.
Just wasn't sure how.
How can I add an import to an executeable? |
Imports are already added by the linker, what you want is a .reloc section so you can rebase it anytime you want.
Linker option: /FIXED:NO |
CAn you help me with this, or no?
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Sun Jul 20, 2008 3:24 pm Post subject: |
|
|
| kitterz wrote: | | Flyte wrote: | Imports are already added by the linker, what you want is a .reloc section so you can rebase it anytime you want.
Linker option: /FIXED:NO |
CAn you help me with this, or no?  |
Learn how to inject a dll first before you attempt to do somthing like this.
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Sun Jul 20, 2008 4:24 pm Post subject: |
|
|
| Flyte wrote: | | kitterz wrote: | | Flyte wrote: | Imports are already added by the linker, what you want is a .reloc section so you can rebase it anytime you want.
Linker option: /FIXED:NO |
CAn you help me with this, or no?  |
Learn how to inject a dll first before you attempt to do something like this. |
I know how...and also how to make one.
Edit: Cam you post/pm me the source of a sample implementation of it? I learn much better visually and by example than by reading.
|
|
| Back to top |
|
 |
Zand Master Cheater
Reputation: 0
Joined: 21 Jul 2006 Posts: 424
|
Posted: Mon Jul 21, 2008 12:03 am Post subject: |
|
|
| Flyte wrote: | No way, you can do what I do lately, make an exe with a .reloc section so it can inject itself. This requires you to re-code a bit of the PE loader however. This also gets rid of a lot of detectability issues as you are manually loading the file into the process.
Rather fun.  |
Something like this was posted on GD, mapping the exe into the target process and then calling the second entrypoint of itself - both WinMain and DLLMain inside one exe.
|
|
| Back to top |
|
 |
|