TMAegis
Más reglas para chrome

TMA-CHROME-1.25

Ensure 'List of names that will bypass the HSTS policy check' is set to 'Disabled'

AltaNivel 1Automatizadachrome

Descripción

This setting allows a list of names to be specified that will be exempt from HTTP Strict Transport Security (HSTS) policy checks, then potentially upgraded from http:// to https://. The recommended state for this setting is: Disabled (0) Rationale: Allowing hostnames to be exempt from HSTS checks could allow for protocol downgrade attacks and cookie hijackings. The policy is Disabled when it is not present: the audit prints 'absent' when the list key HKLM\SOFTWARE\Policies\Google\Chrome\HSTSPolicyBypassList is missing or empty, otherwise the configured entries.

Cómo se verifica

Método de auditoría: Registro de Windows

registry
$l = @((Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\HSTSPolicyBypassList' -ErrorAction SilentlyContinue).PSObject.Properties | Where-Object { $_.Name -notlike 'PS*' } | ForEach-Object { "$($_.Value)" }); if ($l.Count -eq 0) { 'absent' } else { 'configured: ' + ($l -join ', ') }
Salida esperada
absent

Cómo se corrige

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

Configure through Group Policy: Computer Configuration\Policies\Administrative Templates\Google\Google Chrome\List of names that will bypass the HSTS policy check = Disabled. Locally, remove the policy entries at HKLM\SOFTWARE\Policies\Google\Chrome\HSTSPolicyBypassList after reviewing them.

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
chromebrowsercis-l1
Referencia
CIS Google Chrome Benchmark v3.0.0 - 1.25 Ensure 'List of names that will bypass the HSTS policy check' is set to 'Disabled'

Verificar este host

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

shell
tmaegis scan --target chrome