locked
Loading DLL in Enclave fails with ERROR_INVALID_IMAGE_HASH RRS feed

  • Question

  • 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



    Sunday, March 3, 2019 1:34 AM