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 


Could (a future version of) Cheat Engine use SMM?

 
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: Sat Apr 11, 2015 2:39 am    Post subject: Could (a future version of) Cheat Engine use SMM? Reply with quote

I came across this on Wikipedia. I don't really know much about how exactly it works, so it might not be useful at all. But it looks like SMM could provide an environment for Cheat Engine, or at least software that interacts with Cheat Engine, to reside, and execute with a privilege level above even the operating system.

Wikipedia mentions that exploits have been shown that enables it to be "broken into" to run "high-privileged rootkits". That makes it sound even more like it could be useful for Cheat Engine, in terms of running undetected and debugging software that was designed to resist such techniques. Of course, with physical access to the computer, an exploit shouldn't be necessary--it would just require a lower-level installation process. From my understanding it'll probably involve something that runs before Windows boots, like in the EFI or something.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sat Apr 11, 2015 4:08 am    Post subject: Reply with quote

that's basically dbvm
it runs above the operating system, and cheat engine can interface with 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
flarn2006
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2012
Posts: 73

PostPosted: Sat Apr 11, 2015 11:00 pm    Post subject: Reply with quote

What would be neat though would be to have a key combination that opens some kind of interface with a debugger, memory editor, etc. that, as you said, runs above the operating system. My impression from that Wikipedia article was that SMM would let you do that, but how DBVM works could probably do that as well. Does DBVM run in System Management Mode?

Also, every time I try to load DBVM from the About box my computer freezes for a few seconds and then I get a BSOD. The boot CD doesn't work either, could be because I have BitLocker. Do you have any tips?
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Sun Apr 12, 2015 5:56 am    Post subject: Reply with quote

Try to decrease the number of used cores, restart the computer and try enabling DBVM again.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sun Apr 12, 2015 6:40 am    Post subject: Reply with quote

dbvm does have that when compiled in debug mode
when you send the b key to the serial port it'll break next vmexit (usually a taskswitch or pagefault)
from there you can set a breakpoint and disassemble the code

but as you can imagine, not everyone likes using the serial port.

to do what you wish would require an display driver that can be accessed from outside of windows and deals with those state changes. And i don't think the drivers by nvidia and AMD support that right now (or ever)

dbvm doesn't run in smm mode, but it basically emulates it
also, smm isn't as useful for debugging as it can't fake system registers like a virtual machine can (so breakpoint will be visible and bp interrupts do get to the operating system)

_________________
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: Mon Apr 13, 2015 8:52 pm    Post subject: Reply with quote

hhhuut wrote:
Try to decrease the number of used cores, restart the computer and try enabling DBVM again.


But I'd rather be able to make use of all 6 cores.
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Tue Apr 14, 2015 8:59 am    Post subject: Reply with quote

Try this version:
http://forum.cheatengine.org/viewtopic.php?p=5588229#5588229
Back to top
View user's profile Send private message
flarn2006
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2012
Posts: 73

PostPosted: Thu Apr 16, 2015 2:00 am    Post subject: Reply with quote

hhhuut wrote:
Try this version:
http://forum.cheatengine.org/viewtopic.php?p=5588229#5588229


That gives me the same problem. It says "CLOCK_WATCHDOG_TIMEOUT" on the BSOD, in case that helps.

I can't boot from the CD either; when I press 1 to "start virtualization", it just hangs. Is there a UEFI version?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Apr 16, 2015 6:37 am    Post subject: Reply with quote

you replaced both vmdisk.img and dbk64 and booted with unsigned driver support? Because just replacing dbk64 would have no effect

what cpu model do you have?

_________________
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 Apr 17, 2015 12:33 am    Post subject: Reply with quote

Dark Byte wrote:
you replaced both vmdisk.img and dbk64 and booted with unsigned driver support? Because just replacing dbk64 would have no effect

what cpu model do you have?


Oh, I didn't see a vmdisk.img. And I thought that was only used if you're booting from DBVM.

I have a 3.4 GHz Intel Core i7-4930K. (6-core)

Where can I find the updated vmdisk.img?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Fri Apr 17, 2015 3:13 am    Post subject: Reply with quote

same thread, a few posts above that
_________________
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 Apr 17, 2015 6:37 pm    Post subject: Reply with quote

Dark Byte wrote:
same thread, a few posts above that


I found it, but I still get the same BSOD Sad
Back to top
View user's profile Send private message
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