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 


Technical documentation for DBVM?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
flarn2006
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2012
Posts: 73

PostPosted: Fri Apr 29, 2016 6:57 am    Post subject: Technical documentation for DBVM? Reply with quote

I saw on this page that DBVM basically adds additional instructions that enable access to kernel mode. Is there any technical documentation on what these instructions are so I can experiment with it? Or is the only option to look at the source code and figure it out myself?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri Apr 29, 2016 7:03 am    Post subject: Reply with quote

https://github.com/cheat-engine/cheat-engine/blob/master/dbvm/vmm/docs/vmcall.txt

Besides that, best look at the source. New stuff has been added and some changes where made (sysenter change is obsolete)

_________________
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
flarn2006
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2012
Posts: 73

PostPosted: Wed May 04, 2016 7:56 pm    Post subject: Reply with quote

Dark Byte wrote:
https://github.com/cheat-engine/cheat-engine/blob/master/dbvm/vmm/docs/vmcall.txt

Besides that, best look at the source. New stuff has been added and some changes where made (sysenter change is obsolete)


Exactly what I was looking for. Thanks! Very Happy

I assume Cheat Engine sets a random password when you start DBVM and stores it somewhere secure, to prevent malware from taking advantage of DBVM being loaded while still enabling CE to make use of it. Am I correct in this assumption? If so, how do I get this password? If not, what's the default?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Thu May 05, 2016 1:50 am    Post subject: Reply with quote

users can change the password themselves if they provide a driver64.dat file, but otherwise it will be the default

p1 default = 0x76543210
p2 default = 0xfedcba98

_________________
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
flarn2006
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2012
Posts: 73

PostPosted: Fri May 06, 2016 6:32 pm    Post subject: Reply with quote

Wouldn't it be better to have it just choose a password randomly, and store it somewhere only a process with admin rights (like Cheat Engine) can access? Otherwise doesn't every user-mode process (including malware) get full kernel access if it was programmed to take advantage of DBVM? I mean the risk isn't too serious considering it already requires code execution on the PC, but if someone's using DBVM on a multi-user system, there's a huge privilege escalation exploit for non-admin users. Plus if something like Native Client can call DBVM, that's a huge risk even on a single-user system.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sat May 07, 2016 12:57 pm    Post subject: Reply with quote

To load dbvm you need admin rights. (The driver needs to be loaded)
If you're not sure about the other users, then unload dbvm before logging out of your admin account. (Put your comp to sleep will unload it)

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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