Microsoft IIS
TMA-IIS-7.9
Ensure RC4 Cipher Suites is Disabled
高レベル 1自動iis
説明
The RC4 Cipher Suites are considered insecure, therefore should be disabled. Note: RC4 cipher enabled by default on Server 2012 and 2012 R2 is RC4 128/128. SCHANNEL\Ciphers\RC4 40/128, RC4 56/128, RC4 64/128, RC4 128/128 must exist with Enabled=0 (read via the .NET registry API because the key names contain "/"). PowerShell 5.1; reads the registry (run elevated).
チェック方法
監査方法: Windows レジストリ
registry
$c = 'SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers'; function Get-Cipher($n) { $k = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("$c\$n"); $v = $null; if ($k) { $v = $k.GetValue('Enabled'); $k.Close() }; $v }; $bad = @('RC4 40/128', 'RC4 56/128', 'RC4 64/128', 'RC4 128/128' | Where-Object { $v = Get-Cipher $_; $null -eq $v -or [long]$v -ne 0 }); if ($bad.Count -eq 0) { 'compliant' } else { 'noncompliant' }- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
([Microsoft.Win32.Registry]::LocalMachine.CreateSubKey('SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 40/128')).SetValue('Enabled', 0, 'DWord') for each listed cipher (PowerShell drive paths cannot contain '/'), then reboot.
プロパティ
- オペレーティングシステム
- すべて
- タグ
- iistls
- 参照
- CIS Microsoft IIS 10 Benchmark v1.2.1 - 7.9 Ensure RC4 Cipher Suites is Disabled
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target iis