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

POC not working on certain cpu #3

Open
gergeerew opened this issue Jul 30, 2023 · 1 comment
Open

POC not working on certain cpu #3

gergeerew opened this issue Jul 30, 2023 · 1 comment

Comments

@gergeerew
Copy link

Issue Summary

I've been testing your poc using qemu with a vdi file created from VBox Win10 19041 machine. When it got to the execution of "\maxram\hvloader.efi", in the function HvlpSLATPresent, my cpu is checked against Second Level Address Translation:
image
and it failed:
image
which make the caller quit without continuing loading up the dll payload mcupdate_*.dll and further is Windows OS:
image

My guess is my cpu just not suitable for this POC. I'm using "Intel64 Family 6 Model 165 Stepping 3 GenuineIntel ~2904 Mhz" for the host machine. You have any idea?

Question

If the problem is really my cpu, is there any other efi file that loads a DLL which I could code my payload (like hvloader.efi loading mcupdate.dll)?

@Wack0
Copy link
Owner

Wack0 commented Jul 30, 2023

You can use <=th1 winload.efi for this too, this is what I did when porting to armv7: https://github.com/Wack0/batondrop_armv7

(obviously you'll need to create your own image from scratch for amd64)

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