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 


Communicating with the driver via usermode and usermode mem

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

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Mon Aug 12, 2013 10:21 pm    Post subject: Communicating with the driver via usermode and usermode mem Reply with quote

Sorry but I forgot to ask this question as well.

Is there a way to communicate with your driver without creating files but sending messages?

Also, is there a technique or function that one can utilize in kernel mode to view all the memory regions in the usermode application?
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Aug 13, 2013 3:49 am    Post subject: Reply with quote

You could try a socket, but internally that is also just a file
Alternatively you could make use of event objects that signal when there is data ready in a prepared memory block containing the message

For the memory try the kernel variant of virtualquerry or parse through the pagetable manually

_________________
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
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Tue Aug 13, 2013 3:36 pm    Post subject: Reply with quote

How do you communicate with DBK64?
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Aug 13, 2013 4:17 pm    Post subject: Reply with quote

I use deviceiocontrol
first I open a filehandle (createfile) to the driver device and then send and receive data using deviceiocontrol

Alternatively if using an unsigned driver with combination of dbvm I use dbvm to elevate my usermode code to kernelmode and call the internal ioctrl dispatcher of my driver manually

and the abandoned CETC project uses sockets to initiate it's commands (reading/writing and scanning)

_________________
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
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Thu Aug 15, 2013 12:32 pm    Post subject: Reply with quote

would using sockets be more "cleaner"?

what would be the kernel versions of send / recv?

thanks.
Back to top
View user's profile Send private message MSN Messenger
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