Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EFI version of DBVM #521

Closed
buraktamturk opened this issue Feb 8, 2019 · 6 comments
Closed

EFI version of DBVM #521

buraktamturk opened this issue Feb 8, 2019 · 6 comments

Comments

@buraktamturk
Copy link
Contributor

Hello,

Is there any compiled version of EFI DBVM loader? Or is there any instructuons about how can I compile it? Does it support loading Windows after it is loaded by EFI?

Thank you,

@cheat-engine
Copy link
Owner

It's been a while that i worked on it and will likely need some fixes to work with the new LoadedOS struct
But basically you just need a bootloader that can load the dbvm.efi and afterwards launch the windows efi
i used to use the open source efi loader 'rEFInd' to do that

@buraktamturk
Copy link
Contributor Author

Thank you so much for your response.

I am volunteer to update the loadedos struct. Can you point out where to find dbvm.efi (if it is compiled somewhere)? And how to compile it? (the tooling: gnu make? cmake? gcc? visual studio?)

Thank you,

@cheat-engine
Copy link
Owner

cheat-engine commented Feb 8, 2019

I found an old DBVMUEFI.EFI file in my worksystem from end 2017 (so that should say how old it is)
DBVMUEFI.zip

It will need a version of vmdisk.img in the rootpath or efi path (not sure which one, best do both lol)

As for compiling, I use eclipse with the CDT package(for C/C++ support), and have added the EFI header files to my system(gnu-efi package)

Oh yes, I see eclipse swapped out the compilers and linkers with the default when you open them
for compiler use clang (not gcc)
for linker use ld (not gcc)
for assembler use nasm (with additional parameter -f elf64 -g)

And second, there 'may' be a change in the way the paging system is setup for DBVM when it loads so that needs to be adjusted as well.
But to make it easier: Look at how it's done for windows. It's basically the same thing: https://github.com/cheat-engine/cheat-engine/blob/master/DBKKernel/vmxoffload.c

@cheat-engine
Copy link
Owner

Just updating that the current github project will work with the latest DBVM

@cheat-engine
Copy link
Owner

cheat-engine commented Jun 26, 2019

Here's the contents of my EFI bootdisk
dbvmefi.zip

@buraktamturk
Copy link
Contributor Author

Thanks! I am closing the issue as anyone interested on the file can access it via GitHub issues search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants