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 


Different types of dll injection

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Tue Jul 27, 2010 4:44 am    Post subject: Different types of dll injection Reply with quote

All I ever known so far is the basic way of injection which you write the dll'sname into the memory and load it using LoadLibrary, I believe that there are more complicated ways to inject and wondered i anyof u know
_________________
Stylo
Back to top
View user's profile Send private message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Tue Jul 27, 2010 6:31 am    Post subject: Reply with quote

The ones I could think of atm:
    AppInit_DLLs
    SetWindowsHookEx
    WriteProcessMemory & CreateRemoteThread
    WriteProcessMemory & CreateRemoteThread & LoadLibrary
Also, of course you can modify code, the exe or dlls loaded by the app and make them load DLLs you want.
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Tue Jul 27, 2010 2:24 pm    Post subject: Reply with quote

Jani wrote:
The ones I could think of atm:
    AppInit_DLLs
    SetWindowsHookEx
    WriteProcessMemory & CreateRemoteThread
    WriteProcessMemory & CreateRemoteThread & LoadLibrary
Also, of course you can modify code, the exe or dlls loaded by the app and make them load DLLs you want.

what exactly the differences between the two lasts?
They both call CreateRemoteThread, and I think u have to call LoadLibrary if u use it so it's bassically the same

_________________
Stylo
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25804
Location: The netherlands

PostPosted: Tue Jul 27, 2010 3:12 pm    Post subject: Reply with quote

well, it could be he means loading the dll into memory manually and then call the entry point of the dll for initialization.

Of course, that can usually be ignored

_________________
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
Back to top
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Jul 27, 2010 3:57 pm    Post subject: Reply with quote

Manual mapping is another way to do it:
http://www.edgeofnowhere.cc/viewtopic.php?t=305739

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 892

PostPosted: Tue Jul 27, 2010 5:01 pm    Post subject: Reply with quote

Can't you proxy a known import?
Back to top
View user's profile Send private message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Wed Jul 28, 2010 11:04 am    Post subject: Reply with quote

Stylo wrote:
what exactly the differences between the two lasts?
Yeah, as DB said, I meant doing the DLL loading manually.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Jul 31, 2010 12:14 am    Post subject: Reply with quote

justa_dude wrote:
Can't you proxy a known import?


Yes you can, you can also add imports as well.

There are plenty of different methods to take if you are willing to put in the effort to do them.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
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