Loading DLL in Enclave fails with ERROR_INVALID_IMAGE_HASH

492 Views Asked by At

On Windows 10 64-bit Build 1809 with VBS enabled, kernelbase.LoadEnclaveImageA() on a VBS enclave fails with error code ERROR_INVALID_IMAGE_HASH (0x241). The DLL being loaded is built with the linker flag /integritycheck and is signed with a test signing certificate using SignTool. The system on which this is being attempted has the BCD TestSigning ON. What other steps are required to load a DLL into a VBS enclave? //KernelDev

0

There are 0 best solutions below