Microsoft IIS
TMA-IIS-7.11
Ensure AES 256/256 Cipher Suite is Enabled
Descrição
AES 256/256 is the most recent and mature cipher suite for protecting the confidentiality and integrity of HTTP traffic. Enabling AES 256/256 is recommended. Note: AES 256/256 is enabled by default starting with Server 2012 and 2012 R2. SCHANNEL\Ciphers\AES 256/256 must exist with Enabled=1 (read via the .NET registry API). PowerShell 5.1; reads the registry (run elevated).
Como é verificado
Método de auditoria: Registro do Windows
$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 }; $v = Get-Cipher 'AES 256/256'; if ($null -ne $v -and [long]$v -eq 1) { 'compliant' } else { 'noncompliant' }- Saída esperada
compliant
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
([Microsoft.Win32.Registry]::LocalMachine.CreateSubKey('SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\AES 256/256')).SetValue('Enabled', 1, 'DWord'), then reboot.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- iistls
- Referência
- CIS Microsoft IIS 10 Benchmark v1.2.1 - 7.11 Ensure AES 256/256 Cipher Suite is Enabled
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
tmaegis scan --target iis