VirtualBox v6.1.19 Test Build 142917 - Error - Not valid kernel code signature

For discussions related to using VirtualBox on Windows pre-releases (e.g. Windows 10 > build 10240).

VirtualBox v6.1.19 Test Build 142917 - Error - Not valid kernel code signature

Postby Jacob Klein » 25. Feb 2021, 01:00

Oracle VirtualBox v6.1.19 Test Build 142917
... gets an error trying to start a VM after using Import Appliance, on Windows 10 Insider Dev builds.

Oracle VirtualBox v6.1.19 Test Build 142917 - Problem happens.
Oracle VirtualBox v6.1.19 Test Build 142777 - Problem does NOT happen.

The VBoxHardening lines that say:
Not valid kernel code signature
... look like potential culprits.

Regards,
Jacob Klein
============================

The error is:
Failed to open a session for the virtual machine MSEdge - Win10.
The virtual machine 'MSEdge - Win10' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'E:\VirtualBox VMs\MSEdge - Win10\Logs\VBoxHardening.log'.

VBoxHardening says the following:
27d8.39f0: SUPR3HardenedMain: Load Runtime...
27d8.39f0: \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VBoxRT.dll: Signature #1/2: info status: 24202
27d8.39f0: \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VBoxRT.dll: Signature #2/2: Unknown Status -5659 (0xffffe9e5) w/ timestamp=0x60353c8e/link.
27d8.39f0: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ff9c7ce0000 'C:\WINDOWS\system32\rsaenh.dll'
27d8.39f0: supHardenedWinVerifyImageByHandle: -> -5659 (\Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VBoxRT.dll) WinVerifyTrust
27d8.39f0: Error (rc=0):
27d8.39f0: supR3HardenedScreenImage/LdrLoadDll: rc=Unknown Status -5659 (0xffffe9e5) fImage=1 fProtect=0x0 fAccess=0x0 \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VBoxRT.dll: Signature #2/2: Not valid kernel code signature.: \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VBoxRT.dll
27d8.39f0: supR3HardenedWinVerifyCacheInsert: \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VBoxRT.dll
27d8.39f0: Error (rc=0):
27d8.39f0: supR3HardenedMonitor_LdrLoadDll: rejecting 'C:\Program Files\Oracle\VirtualBox\VBoxRT.dll' (C:\Program Files\Oracle\VirtualBox\VBoxRT.dll): rcNt=0xc0000190
27d8.39f0: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0xc0000190 'C:\Program Files\Oracle\VirtualBox\VBoxRT.dll'
27d8.39f0: Error -610 in supR3HardenedMainInitRuntime! (enmWhat=4)
27d8.39f0: LoadLibrary "C:\Program Files\Oracle\VirtualBox/VBoxRT.dll" failed (rc=1790)
27d8.39f0: \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll: Signature #1/2: info status: 24202
27d8.39f0: \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll: Signature #2/2: Unknown Status -5659 (0xffffe9e5) w/ timestamp=0x60353ca4/link.
27d8.39f0: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ff9c7ce0000 'C:\WINDOWS\system32\rsaenh.dll'
27d8.39f0: supHardenedWinVerifyImageByHandle: -> -5659 (\Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll) WinVerifyTrust
27d8.39f0: Error (rc=0):
27d8.39f0: supR3HardenedScreenImage/LdrLoadDll: rc=Unknown Status -5659 (0xffffe9e5) fImage=1 fProtect=0x0 fAccess=0x0 \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll: Signature #2/2: Not valid kernel code signature.: \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll
27d8.39f0: supR3HardenedWinVerifyCacheInsert: \Device\HarddiskVolume4\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll
27d8.39f0: Error (rc=0):
27d8.39f0: supR3HardenedMonitor_LdrLoadDll: rejecting 'C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll' (C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll): rcNt=0xc0000190
27d8.39f0: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0xc0000190 'C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll'
259c.2a9c: supR3HardNtChildWaitFor[2]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 516 ms, the end);
3a6c.3108: supR3HardNtChildWaitFor[1]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 934 ms, the end);
Jacob Klein
 
Posts: 604
Joined: 20. Nov 2013, 01:07

Re: VirtualBox v6.1.19 Test Build 142917 - Error - Not valid kernel code signature

Postby MikeDiack » 25. Feb 2021, 11:33

Note: I'm seeing very similar symptoms on Windows 8.1 Pro x64 with build 142917, but build 142777 works, again, grepping the hardening file shows the warning about kernel code signature:

Windows VBox dev. build 6.1.19 142917 host won't start VMs but 6.1.19 142777 does

Bug report:

Am running Windows 8.1 Pro x64 fully patched (build 9600.19941).
Symantec Endpoint Protection: Version: 14.0.3929.1200 (14.0.3929.1200.105 to be exact)

With developer build Virtual Box 6.1.19 142917, I receive the following (or similar) when trying to start any VM
(XP 32 bit, but also same for a 64 bit Windows 10 guest and 32 bit Windows 7 guests)
The previous developer build: 6.1.19 142777 was fine.
The only change is the build of Virtual Box, and indeed reverting back from 142917 to 142777 fixes the problem.

Error messages:

Failed to open a session for the virtual machine XP.

The virtual machine 'XP' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\VBoxMachines\XP\Logs\VBoxHardening.log'.

Result Code: E_FAIL (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

Hardening log attached.
Attachments
VBoxHardening.log
(126.15 KiB) Downloaded 10 times
MikeDiack
 
Posts: 72
Joined: 20. Mar 2009, 15:57
Location: UK
Primary OS: MS Windows 8.1
VBox Version: PUEL
Guest OSses: Win 10, Win 7, XP, Linux, Win 8.1, Win 2000, Win NT 4

Re: VirtualBox v6.1.19 Test Build 142917 - Error - Not valid kernel code signature

Postby MikeDiack » 25. Feb 2021, 11:42

Note: I've raised bug 20226 on this:
https://www.virtualbox.org/ticket/20226
MikeDiack
 
Posts: 72
Joined: 20. Mar 2009, 15:57
Location: UK
Primary OS: MS Windows 8.1
VBox Version: PUEL
Guest OSses: Win 10, Win 7, XP, Linux, Win 8.1, Win 2000, Win NT 4

Re: VirtualBox v6.1.19 Test Build 142917 - Error - Not valid kernel code signature

Postby Jacob Klein » 26. Feb 2021, 01:14

Thanks, Mike, for confirming the bug on a Windows Release version, and for filing the Bug. I hope someone sees our reports.
Note: Oracle VirtualBox v6.1.19 Test Build 142946
... does not fix the problem.
Jacob Klein
 
Posts: 604
Joined: 20. Nov 2013, 01:07

Re: VirtualBox v6.1.19 Test Build 142917 - Error - Not valid kernel code signature

Postby Jacob Klein » 4. Mar 2021, 02:47

This issue has been temporarily fixed, in
Oracle VirtualBox v6.1.19 Test Build 142995

However, at some point in the coming weeks, users may have to change some settings in order to continue to test with Testbuilds.
More details here:
https://www.virtualbox.org/ticket/20226
Jacob Klein
 
Posts: 604
Joined: 20. Nov 2013, 01:07


Return to VirtualBox on Windows pre-releases

Who is online

Users browsing this forum: No registered users and 1 guest