SafeExamBrowser / seb-win-refactoring

Safe Exam Browser for Windows.
https://www.safeexambrowser.org/news_en.html
Mozilla Public License 2.0
194 stars 129 forks source link

Error : "This computer appears to be a virtual machine" #604

Closed Plekke closed 1 year ago

Plekke commented 1 year ago

Hi,

When starting SEB from Bookwidgets we get the error "This computer appears to be a virtual machine" The issue is since the latest upgrade to 3.5.0.

we have several computers that hasn't upgraded yet. (which run on the 3.4.1) these work fine.

afbeelding

dbuechel commented 1 year ago

Could you please specify what computers you are using? And please also post the log files of the affected SEB session(s), they can be found under %LocalAppData%\SafeExamBrowser\Logs.

Plekke commented 1 year ago

We are using Dell Latitude 3420

2023-04-24_14h51m31s_Runtime.log

dbuechel commented 1 year ago

Thanks for the information. This could indeed be a false positive, which would be most unfortunate. Are you using any virtualization solutions resp. are there any installed on your systems (e.g. VMware, VirtualBox, Hyper-V etc.)?

Plekke commented 1 year ago

No we aren't using any of virtualization solutions on our computers.

dbuechel commented 1 year ago

Could you please execute the following line in the command prompt of Windows and post the results here:

WMIC /namespace:\\root\cimv2 PATH Win32_PnPEntity GET DeviceID

Plekke commented 1 year ago

Here you go.

output.txt

DeviceID                                                                                                      
SWD\DRIVERENUM\{BABE2782-EB1B-46A7-871A-F043D3200542}#WIMAN_COMPONENT&4&2AD57933&0                            
ACPI\PNP0C02\1                                                                                                
ACPI\PNP0C02\2                                                                                                
ACPI\PNP0C02\5                                                                                                
ACPI\PNP0C09\0                                                                                                
SWD\RADIO\BLUETOOTH_F446374E8C06                                                                              
ACPI\PNP0C0A\1                                                                                                
ACPI\ACPI000C\2&DABA3FF&1                                                                                     
SWD\PRINTENUM\PRINTQUEUES                                                                                     
{DEA5AE2A-D1FD-438A-A091-CBD484788436}\VID_8087&PID_0AC2\5&309FD58A&0&00                                      
PCI\VEN_8086&DEV_A0E0&SUBSYS_0B601028&REV_20\3&11583659&0&B0                                                  
ROOT\VOLMGR\0000                                                                                              
PCI\VEN_8086&DEV_9A03&SUBSYS_0B601028&REV_01\3&11583659&0&20                                                  
PCI\VEN_8086&DEV_A0E8&SUBSYS_0B601028&REV_20\3&11583659&0&A8                                                  
SWD\PRINTENUM\{71647EDC-9285-4854-906D-2296886C6F53}                                                          
STORAGE\VOLUME\{69DBE2EE-E63B-11EC-BB09-806E6F6E6963}#0000000043D00000                                        
HID\CONVERTEDDEVICE&COL02\5&2204AA2D&0&0001                                                                   
SWD\MSRRAS\MS_PPPOEMINIPORT                                                                                   
ROOT\VMBUS\0000                                                                                               
ACPI\STM0125\2&DABA3FF&1                                                                                      
ROOT\BASICDISPLAY\0000                                                                                        
PCI\VEN_8086&DEV_9A14&SUBSYS_0B601028&REV_01\3&11583659&0&00                                                  
HID\INTC816\3&36043C54&0&0000                                                                                 
ACPI\PNP0C0E\2&DABA3FF&1                                                                                      
BUTTONCONVERTER\CONVERTEDDEVICE\4&11DFCD4A&0&0                                                                
ROOT\VMS_VSMP\0000                                                                                            
SWD\MSRRAS\{5E259276-BC7E-40E3-B93B-8F89B5F3ABC0}                                                             
ACPI\PNP0C14\0                                                                                                
ACPI\USBC000\1                                                                                                
SWD\MSRRAS\MS_PPTPMINIPORT                                                                                    
ROOT\VID\0000                                                                                                 
ACPI\PNP0103\0                                                                                                
SWD\PRINTENUM\{24B4D415-2A35-440F-B24B-7E619C5D1F2D}                                                          
BTH\MS_BTHLE\6&12C9B908&0&3                                                                                   
SWD\MSRRAS\MS_AGILEVPNMINIPORT                                                                                
ROOT\COMPOSITEBUS\0000                                                                                        
ROOT\VDRVROOT\0000                                                                                            
ACPI\ACPI0003\2&DABA3FF&1                                                                                     
ROOT\SPACEPORT\0000                                                                                           
PCI\VEN_8086&DEV_A0C8&SUBSYS_0B601028&REV_20\3&11583659&0&FB                                                  
SWD\PRINTENUM\{E3C38583-FBF5-4FF9-BDF0-0248EF5D2C52}                                                          
UEFI\RES_{F918EAD4-27BA-4059-A245-1C84E4A908F7}\0                                                             
ROOT\KDNIC\0000                                                                                               
{5D624F94-8850-40C3-A3FA-A4FD2080BAF3}\VWIFIMP_WFD\4&21A687E8&0&11                                            
{5D624F94-8850-40C3-A3FA-A4FD2080BAF3}\VWIFIMP_WFD\4&21A687E8&0&12                                            
PCI\VEN_8086&DEV_A0A3&SUBSYS_0B601028&REV_20\3&11583659&0&FC                                                  
HID\CONVERTEDDEVICE&COL03\5&2204AA2D&0&0002                                                                   
USB\VID_1BCF&PID_2B9D\5&18B03FC7&0&6                                                                          
STORAGE\VOLUME\{EF8C03E0-3B12-11ED-BB10-F446374E8C06}#0000000000010000                                        
ACPI\PNP0C0D\2&DABA3FF&1                                                                                      
PCI\VEN_8086&DEV_A0F0&SUBSYS_40708086&REV_20\3&11583659&0&A3                                                  
ACPI\PNP0C02\PCHRESV                                                                                          
ROOT\VKRNLINTVSP\0000                                                                                         
SWD\PRINTENUM\{75715428-4DF7-430A-AC9C-AA658753F754}                                                          
SWD\PRINTENUM\{8B8C0AB5-3023-466B-9F51-B559CEA712BB}                                                          
STORAGE\VOLUME\{69DBE2EE-E63B-11EC-BB09-806E6F6E6963}#0000000000100000                                        
SWD\DRIVERENUM\OEM_ICLS_COMPONENT&4&2AD57933&0                                                                
{DEA5AE2A-D1FD-438A-A091-CBD484788435}\ISH_BUS\4&2F977D56&0&                                                  
ROOT\UMBUS\0000                                                                                               
ROOT\CAD\0000                                                                                                 
ACPI\PNP0C14\SAMPLEDEV                                                                                        
PCI\VEN_8086&DEV_A0FC&SUBSYS_0B601028&REV_20\3&11583659&0&90                                                  
ACPI\PNP0C14\WAPW                                                                                             
SWD\DRIVERENUM\THUNDERBOLTHOSTCONTROLLERHSA&4&5EF134A&0                                                       
ACPI\PNP0C14\WBAT                                                                                             
ACPI\PNP0C14\WBIQ                                                                                             
SWD\RADIO\{3DB5895D-CC28-44B3-AD3D-6F01A782B8D2}                                                              
SWD\MSDAS\{CE958E9A-424F-4C88-86F4-11314821E75A}                                                              
ACPI\PNP0100\4&1663BDA6&0                                                                                     
ROOT\ACPI_HAL\0000                                                                                            
ACPI\PNP0C14\WMDG                                                                                             
PCI\VEN_1C5C&DEV_174A&SUBSYS_174A1C5C&REV_00\4&31F7C284&0&00E0                                                
SWD\MSRRAS\MS_NDISWANBH                                                                                       
SWD\MSRRAS\MS_NDISWANIP                                                                                       
ACPI\PNP0C14\TESTDEV                                                                                          
ACPI\PNP0A08\0                                                                                                
USB\ROOT_HUB30\4&196DF681&0&0                                                                                 
SWD\DRIVERENUM\OEM_LMS_COMPONENT&4&2AD57933&0                                                                 
SWD\IPP\1C852A4D-B800-1F08-ABCD-40B0347FC4C8                                                                  
PCI\VEN_8086&DEV_9A13&SUBSYS_0B601028&REV_01\3&11583659&0&68                                                  
ROOT\VPCIVSP\0000                                                                                             
PCI\VEN_8086&DEV_9A49&SUBSYS_0B601028&REV_01\3&11583659&0&10                                                  
ACPI\DELL0B60\4&B5E8EA3&0                                                                                     
PCI\VEN_8086&DEV_A0D3&SUBSYS_0B601028&REV_20\3&11583659&0&B8                                                  
ACPI_HAL\PNP0C08\0                                                                                            
HTREE\ROOT\0                                                                                                  
ROOT\BASICRENDER\0000                                                                                         
PCI\VEN_8086&DEV_9A1B&SUBSYS_11112222&REV_01\3&11583659&0&6A                                                  
SWD\MSRRAS\MS_SSTPMINIPORT                                                                                    
SWD\PRINTENUM\{D79FBCFD-4192-4254-A222-03E15428894C}                                                          
BTH\MS_BTHBRB\6&12C9B908&0&1                                                                                  
USB\VID_1BCF&PID_2B9D&MI_00\6&F83B883&0&0000                                                                  
INTELAUDIO\CTLR_DEV_A0C8&LINKTYPE_02&DEVTYPE_00&VEN_8086&DEV_AE20&SUBSYS_0B601028&REV_0001\5&1FF0A586&0&0000  
ACPI_HAL\UEFI\0                                                                                               
HID\DELL0B60&COL04\5&39C5B72&0&0003                                                                           
ACPI\INT34C5\2&DABA3FF&1                                                                                      
HID\DELL0B60&COL03\5&39C5B72&0&0002                                                                           
HID\DELL0B60&COL02\5&39C5B72&0&0001                                                                           
HID\DELL0B60&COL01\5&39C5B72&0&0000                                                                           
ACPI\ACPI000E\2&DABA3FF&1                                                                                     
SWD\PRINTENUM\WSD-01E74F64-4C2E-400F-8C56-1B00BE3435BB                                                        
BTH\MS_RFCOMM\6&12C9B908&0&0                                                                                  
STORAGE\VOLUME\{69DBE2EE-E63B-11EC-BB09-806E6F6E6963}#000000004BD00000                                        
{DD8E82AE-334B-49A2-AEAE-AEB0FD5C40DD}\DETECTIONVERIFICATION\5&1FF0A586&0&0                                   
BTH\MS_BTHPAN\6&12C9B908&0&2                                                                                  
SWD\RADIO\{574B241B-CB6F-499F-8713-0D0DBD693864}                                                              
PCI\VEN_8086&DEV_A0ED&SUBSYS_0B601028&REV_20\3&11583659&0&A0                                                  
ACPI\INTC1040\2&DABA3FF&1                                                                                     
ACPI\INT33A1\1                                                                                                
PCI\VEN_8086&DEV_15FC&SUBSYS_0B601028&REV_20\3&11583659&0&FE                                                  
ACPI\DLLK0B60\4&1663BDA6&0                                                                                    
SWD\DRIVERENUM\{C3A63EDD-2D27-4B66-B155-5E94B43D926A}#REALTEKSRV&6&1F56FB0A&0                                 
SWD\DRIVERENUM\IGCC&4&25B93185&0                                                                              
INTELAUDIO\FUNC_01&VEN_10EC&DEV_0236&SUBSYS_10280B60&REV_1000\5&1FF0A586&0&0001                               
DISPLAY\SHP1542\4&25B93185&0&UID8388688                                                                       
UEFI\RES_{0A4137FC-88F2-11EA-BC55-0242AC130003}\0                                                             
ROOT\STORVSP\0000                                                                                             
ACPI\PNP0C02\IOTRAPS                                                                                          
HID\VID_8087&PID_0AC2\6&1C09399F&0&0000                                                                       
PCI\VEN_8086&DEV_A0E9&SUBSYS_0B601028&REV_20\3&11583659&0&A9                                                  
SWD\MMDEVAPI\MICROSOFTGSWAVETABLESYNTH                                                                        
STORAGE\VOLUME\{69DBE2EE-E63B-11EC-BB09-806E6F6E6963}#000000003D900000                                        
SWD\SCDEVICEENUMBUS\0                                                                                         
SWD\SCDEVICEENUMBUS\1                                                                                         
USB\ROOT_HUB30\4&23D074EB&0&0                                                                                 
SCSI\DISK&VEN_NVME&PROD_BC711_NVME_SK_HY\5&14D4C189&0&000000                                                  
ROOT\VMS_MP\0000                                                                                              
ROOT\VMS_MP\0001                                                                                              
ROOT\NDISVIRTUALBUS\0000                                                                                      
PCI\VEN_8086&DEV_A0BC&SUBSYS_0B601028&REV_20\3&11583659&0&E0                                                  
{8E7BD593-6E6C-4C52-86A6-77175494DD8E}\MSVHDHBA\1&3030E83&0&01                                                
SWD\MMDEVAPI\{0.0.0.00000000}.{E3B46191-8BE0-4C42-9B11-46718CC1E2F2}                                          
ACPI\INTC1043\NGFF                                                                                            
SWD\PRINTENUM\{6E26AFA0-6DB1-4DDD-81AF-0660E4ECA1F3}                                                          
ACPI\GENUINEINTEL_-_INTEL64_FAMILY_6_MODEL_140_-_11TH_GEN_INTEL(R)_CORE(TM)_I5-1135G7_@_2.40GHZ\_0            
ACPI\GENUINEINTEL_-_INTEL64_FAMILY_6_MODEL_140_-_11TH_GEN_INTEL(R)_CORE(TM)_I5-1135G7_@_2.40GHZ\_1            
ACPI\GENUINEINTEL_-_INTEL64_FAMILY_6_MODEL_140_-_11TH_GEN_INTEL(R)_CORE(TM)_I5-1135G7_@_2.40GHZ\_2            
ACPI\GENUINEINTEL_-_INTEL64_FAMILY_6_MODEL_140_-_11TH_GEN_INTEL(R)_CORE(TM)_I5-1135G7_@_2.40GHZ\_3            
ACPI\GENUINEINTEL_-_INTEL64_FAMILY_6_MODEL_140_-_11TH_GEN_INTEL(R)_CORE(TM)_I5-1135G7_@_2.40GHZ\_4            
ACPI\GENUINEINTEL_-_INTEL64_FAMILY_6_MODEL_140_-_11TH_GEN_INTEL(R)_CORE(TM)_I5-1135G7_@_2.40GHZ\_5            
ACPI\GENUINEINTEL_-_INTEL64_FAMILY_6_MODEL_140_-_11TH_GEN_INTEL(R)_CORE(TM)_I5-1135G7_@_2.40GHZ\_6            
ACPI\GENUINEINTEL_-_INTEL64_FAMILY_6_MODEL_140_-_11TH_GEN_INTEL(R)_CORE(TM)_I5-1135G7_@_2.40GHZ\_7            
INTELAUDIO\CTLR_DEV_A0C8&LINKTYPE_06&DEVTYPE_06&VEN_8086&DEV_AE50&SUBSYS_0B601028&REV_0001\0602               
SWD\DRIVERENUM\{3ED78669-04CF-413C-A8DF-553436CEA20F}#WAVESAPO&6&1F56FB0A&0                                   
ACPI\PNP0B00\4&1663BDA6&0                                                                                     
ROOT\MSSMBIOS\0000                                                                                            
ACPI\INT340E\2&DABA3FF&1                                                                                      
HID\CONVERTEDDEVICE&COL01\5&2204AA2D&0&0000                                                                   
SWD\NGCDEVICEENUM\{7571F41D-6EB8-4235-9915-37DA1D067A67}                                                      
ACPI\PNP0000\4&1663BDA6&0                                                                                     
ACPI\INTC1051\2&DABA3FF&1                                                                                     
PCI\VEN_8086&DEV_9A23&SUBSYS_0B601028&REV_01\3&11583659&0&38                                                  
UEFI\RES_{176E090D-0DDB-495E-8173-BC998CCFECD0}\0                                                             
PCI\VEN_8086&DEV_A0EF&SUBSYS_0B601028&REV_20\3&11583659&0&A2                                                  
ROOT\SYSTEM\0000                                                                                              
ACPI\INTC1043\TMEM                                                                                            
PCI\VEN_8086&DEV_A0A4&SUBSYS_0B601028&REV_20\3&11583659&0&FD                                                  
SWD\DRIVERENUM\OEM_DAL_COMPONENT&4&2AD57933&0                                                                 
ACPI\INTC1043\TSKN                                                                                            
SWD\NGCDEVICEENUM\{6B38F105-55E3-446A-B75F-842F247CEC67}                                                      
ROOT\RDPBUS\0000                                                                                              
SWD\MSRRAS\MS_NDISWANIPV6                                                                                     
PCI\VEN_8086&DEV_A082&SUBSYS_0B601028&REV_20\3&11583659&0&F8                                                  
SCSI\DISK&VEN_MSFT&PROD_VIRTUAL_DISK\2&1F4ADFFE&0&000003                                                      
SWD\DRIVERENUM\{C3A63EDD-2D27-4B66-B155-5E94B43D926A}#REALTEKASIO&6&1F56FB0A&0                                
SWD\DRIVERENUM\{C3A63EDD-2D27-4B66-B155-5E94B43D926A}#REALTEKAPO&6&1F56FB0A&0                                 
USB\VID_8087&PID_0026\5&18B03FC7&0&10                                                                         
ACPI\INT3F0D\4&1663BDA6&0                                                                                     
SWD\DRIVERENUM\CUI&4&25B93185&0                                                                               
INTELAUDIO\DSP_CTLR_DEV_A0C8&VEN_8086&DEV_0222&SUBSYS_0B601028&REV_0020\4&3AD5CBBB&0&0800                     
SWD\MSRRAS\MS_L2TPMINIPORT                                                                                    
SWD\MMDEVAPI\{0.0.1.00000000}.{28919552-0E19-4853-8FC4-341D9639B1E8}                                          
dbuechel commented 1 year ago

Thanks a lot, we will analyze the output and report back our findings.

Tim455 commented 1 year ago

I had the same issue and was able to get past incorrect detection by removing the device named "Microsoft Virtual Disk" device in device manager. After the exam was over I had the students press the "Scan for hardware changes" button to make the device reappear in device manager. This removed the following device PnP device list: SCSI\DISK&VEN_MSFT&PROD_VIRTUAL_DISK\2&1F4ADFFE&0&000003

dbuechel commented 1 year ago

Thanks a lot for the input @Tim455. That is indeed a false positive then, as we assume that to be part of a Hyper-V machine, see https://github.com/SafeExamBrowser/seb-win-refactoring/blob/master/SafeExamBrowser.SystemComponents/VirtualMachineDetector.cs#L20. We'll definitely need to fix that for the next release version.

dbuechel commented 1 year ago

The issue should be fixed and can be tested in the latest beta version of SEB 3.6.0: https://sebdev-let.ethz.ch/api/buildjobs/ah1rr6cvqsd5yhaa/artifacts/SEB_3.6.0.558_SetupBundle.exe.

Plekke commented 1 year ago

The beta version seems to work!