Microsoft IIS
TMA-IIS-7.6
Ensure TLS 1.2 is Enabled
MédiaNível 1Automatizadaiis
Descrição
TLS 1.2 is the most recent and mature protocol for protecting the confidentiality and integrity of HTTP traffic. SCHANNEL\Protocols\TLS 1.2\Server must have Enabled=1 and DisabledByDefault=0. PowerShell 5.1; reads the registry (run elevated).
Como é verificado
Método de auditoria: Registro do Windows
registry
$base = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols'; $p = Get-ItemProperty -Path "$base\TLS 1.2\Server" -ErrorAction SilentlyContinue; if ($null -ne $p -and $p.Enabled -eq 1 -and $p.DisabledByDefault -eq 0) { 'compliant' } else { 'noncompliant' }- Saída esperada
compliant
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -Force | Out-Null; set DWORD Enabled=1 and DisabledByDefault=0, then reboot.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- iistls
- Referência
- CIS Microsoft IIS 10 Benchmark v1.2.1 - 7.6 Ensure TLS 1.2 is Enabled
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
shell
tmaegis scan --target iis