TMA-IIS-7.2
Ensure SSLv2 is Disabled
高レベル 1自動iis
説明
The SSLv2 protocol is not considered cryptographically secure, therefore should be disabled. SCHANNEL\Protocols\SSL 2.0\Server and \Client must both have Enabled=0 and DisabledByDefault=1. Affects every SCHANNEL service; a reboot is required after changes. PowerShell 5.1; reads the registry (run elevated).
チェック方法
監査方法: Windows レジストリ
registry
$base = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols'; $bad = @('Server', 'Client' | Where-Object { $p = Get-ItemProperty -Path "$base\SSL 2.0\$_" -ErrorAction SilentlyContinue; $null -eq $p -or $p.Enabled -ne 0 -or $p.DisabledByDefault -ne 1 }); if ($bad.Count -eq 0) { 'compliant' } else { 'noncompliant' }- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
For both Server and Client: New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server' -Force | Out-Null; New-ItemProperty -Path <key> -Name Enabled -Value 0 -PropertyType DWord -Force; New-ItemProperty -Path <key> -Name DisabledByDefault -Value 1 -PropertyType DWord -Force; then reboot.
プロパティ
- オペレーティングシステム
- すべて
- タグ
- iistls
- 参照
- CIS Microsoft IIS 10 Benchmark v1.2.1 - 7.2 Ensure SSLv2 is Disabled
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target iis