SecureWinVM

OUTDATED DUE TO DEPRICATION OF WINDOWS 10. Secure configuration that prevents apps from detecting the VM from the inside
Log | Files | Refs | README

spoof_hardware.ps1 (562B)


      1 $regSystemBiosVersion = "HKLM:\HARDWARE\DESCRIPTION\System"
      2 $regScsiBusDiskQemu = "HKLM:\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 0\Logical Unit Id 0"
      3 $regScsiBusCdQemu = "HKLM:\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 1\Target Id 0\Logical Unit Id 0"
      4 
      5 # Spoofing the registry keys 
      6 Set-ItemProperty -Path $regSystemBiosVersion -Name "SystemBiosVersion" -Value "Lenovo 1.21"
      7 Set-ItemProperty -Path $regScsiBusDiskQemu -Name "Identifier" -Value "Samsung 500GB SATA"
      8 Set-ItemProperty -Path $regScsiBusCdQemu -Name "Identifier" -Value "DVD-ROM"