Windows (desktop and server)
TMA-WIN-FIREWALL
Ensure Windows Firewall is enabled for all profiles
AltaNivel 1Automatizadawindows
Descripción
The host firewall must be on for Domain, Private and Public profiles.
Cómo se verifica
Método de auditoría: Comando de shell
shell
(Get-NetFirewallProfile | Where-Object { -not $_.Enabled }).Count- Salida esperada
0
Cómo se corrige
Método de corrección: Comando de shell
shell
Set-NetFirewallProfile -Profile Domain,Private,Public -Enabled TruePropiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- windowsfirewall
- Referencia
- CIS Microsoft Windows Server Benchmark - Windows Defender Firewall with Advanced Security
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
shell
tmaegis scan --target windows