ionescu007 / SimpleVisor

SimpleVisor is a simple, portable, Intel VT-x hypervisor with two specific goals: using the least amount of assembly code (10 lines), and having the smallest amount of VMX-related code to support dynamic hyperjacking and unhyperjacking (that is, virtualizing the host state from within the host). It works on Windows and UEFI.
http://ionescu007.github.io/SimpleVisor/
1.69k stars 259 forks source link

Driver blocked from loading #22

Closed pakt closed 7 years ago

pakt commented 7 years ago

I'm running win7 pro x64 inside vmware. Test signing is on.

C:\>sc start sv
[SC] StartService FAILED 1275:

This driver has been blocked from loading

What's interesting is that MemoryMon works fine:

C:\>sc start mm

SERVICE_NAME: mm
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        PID                : 0
        FLAGS              :

Any idea what's the problem?

tandasat commented 7 years ago

SimpleVisor does not support Windows 7 as readme states.

It might not be too hard to run it on Windows 7 though. Try setting "Windows 7" on project properties > Driver Settings > General > Target OS Version. It is not going to compile as-is but minor API replacement might suffice to make it work.

pakt commented 7 years ago

It doesn't compile for win7. MmAllocateContiguousNodeMemory is not available. I changed the Target OS from Windows 10 to Windows 7 in my personal project and it worked. Thanks :+1: