TMA-IIS-7.2
Ensure SSLv2 is Disabled
Descrição
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).
Como é verificado
Método de auditoria: Registro do Windows
$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' }- Saída esperada
compliant
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
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.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- iistls
- Referência
- CIS Microsoft IIS 10 Benchmark v1.2.1 - 7.2 Ensure SSLv2 is Disabled
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
tmaegis scan --target iis