TMAegis
Más reglas para iis

TMA-IIS-7.2

Ensure SSLv2 is Disabled

AltaNivel 1Automatizadaiis

Descripción

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).

Cómo se verifica

Método de auditoría: Registro de 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' }
Salida esperada
compliant

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

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.

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
iistls
Referencia
CIS Microsoft IIS 10 Benchmark v1.2.1 - 7.2 Ensure SSLv2 is Disabled

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target iis