Windows (desktop and server)
TMA-WIN10-18.9.5.2
(NG) Ensure 'Turn On Virtualization Based Security: Select Platform Security Level' is set to 'Secure Boot' or higher
Descripción
This policy setting specifies whether Virtualization Based Security (VBS) is enabled. VBS uses the Windows Hypervisor to provide support for security services. The recommended state for this setting is: Secure Boot or Secure Boot and DMA Protection. Note: VBS requires a 64-bit version of Windows with Secure Boot enabled, which in turn requires that Windows was installed with a UEFI BIOS configuration, not a Legacy BIOS configuration. In addition, if running Windows on a virtual machine, the hardware- assisted CPU virtualization feature (Intel VT-x or AMD-V) must be exposed by the host to the g
Cómo se verifica
Método de auditoría: Registro de Windows
$bad = @(); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'RequirePlatformSecurityFeatures' -ErrorAction SilentlyContinue).'RequirePlatformSecurityFeatures'; if (-not ($null -ne $v -and @(1,3) -contains [int64]$v)) { $bad += 'RequirePlatformSecurityFeatures=' + $v }; if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }- Salida esperada
compliant
Cómo se corrige
Método de corrección: Comando de shell
if (-not (Test-Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard')) { New-Item -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Force | Out-Null }; New-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'RequirePlatformSecurityFeatures' -Value 1 -PropertyType DWord -Force | Out-NullPropiedades
- Sistemas operativos
- windows-10
- Etiquetas
- cis-convertedregistrywindows
- Referencia
- CIS Microsoft Windows 10 Enterprise Benchmark v4.0.0 - 18.9.5.2
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
tmaegis scan --target windows