TMAegisベータ
windows のその他のルール

Windows (desktop and server)

TMA-WIN10-18.9.7.1.2

(BL) Ensure 'Prevent installation of devices that match any of these device IDs: Prevent installation of devices that match any of these device IDs' is set to 'PCI\CC_0C0A'

高レベル 1自動windows

説明

This policy setting allows you to specify a list of Plug and Play hardware IDs and compatible IDs for devices that Windows is prevented from installing. This policy setting takes precedence over any other policy setting that allows Windows to install a device. If you enable this policy setting, Windows is prevented from installing a device whose hardware ID or compatible ID appears in the list you create. If you enable this policy setting on a remote desktop server, the policy setting affects redirection of the specified devices from a remote desktop client to the remote desktop server. If you

チェック方法

監査方法: Windows レジストリ

registry
$bad = @(); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs' -Name '1' -ErrorAction SilentlyContinue).'1'; if (-not ($null -ne $v -and (($v -replace '\s','') -eq 'PCI\CC_0C0A'))) { $bad += '1=' + $v }; if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }
期待される出力
compliant

修正方法

修正方法: シェルコマンド

shell
if (-not (Test-Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs')) { New-Item -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs' -Force | Out-Null }; New-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs' -Name '1' -Value 'PCI\CC_0C0A' -PropertyType String -Force | Out-Null

プロパティ

オペレーティングシステム
windows-10
タグ
cis-convertedregistrywindows
参照
CIS Microsoft Windows 10 Enterprise Benchmark v4.0.0 - 18.9.7.1.2

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target windows