Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Use .exe instead of .dll
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
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?

PostPosted: Sun Jul 20, 2008 2:45 pm    Post subject: Reply with quote

Why?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Sun Jul 20, 2008 2:46 pm    Post subject: Reply with quote

Hmmm...That makes sense. After all, hookhoping is muchhhhhhh easier than piping.
Back to top
View user's profile Send private message Send e-mail
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Jul 20, 2008 2:49 pm    Post subject: Reply with quote

oib111 wrote:
Why?


Hooked multiple levels deep in Ring0.
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sun Jul 20, 2008 2:50 pm    Post subject: Reply with quote

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. Smile

I just thought of that too. Smile
Just wasn't sure how.
How can I add an import to an executeable?
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Jul 20, 2008 2:51 pm    Post subject: Reply with quote

Symbol wrote:
I just thought of that too. Smile
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
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sun Jul 20, 2008 2:52 pm    Post subject: Reply with quote

Flyte wrote:
oib111 wrote:
Why?


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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Sun Jul 20, 2008 2:52 pm    Post subject: Reply with quote

Flyte wrote:
Symbol wrote:
I just thought of that too. Smile
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? Cool
Back to top
View user's profile Send private message Send e-mail
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Jul 20, 2008 3:24 pm    Post subject: Reply with quote

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? Cool


Learn how to inject a dll first before you attempt to do somthing like this.
Back to top
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Sun Jul 20, 2008 4:24 pm    Post subject: Reply with quote

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? Cool


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
View user's profile Send private message Send e-mail
Zand
Master Cheater
Reputation: 0

Joined: 21 Jul 2006
Posts: 424

PostPosted: Mon Jul 21, 2008 12:03 am    Post subject: Reply with quote

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. Smile


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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites