TMAegisBeta
Más reglas para windows

Windows (desktop and server)

TMA-WIN10-1.2.1

Ensure 'Account lockout duration' is set to '15 or more minute(s)'

AltaNivel 1Automatizadawindows

Descripción

This policy setting determines the length of time that must pass before a locked account is unlocked and a user can try to log on again. The setting does this by specifying the number of minutes a locked out account will remain unavailable. If the value for this policy setting is configured to 0, locked out accounts will remain locked out until an administrator manually unlocks them. Although it might seem like a good idea to configure the value for this policy setting to a high value, such a configuration will likely increase the number of calls that the help desk receives to unlock accounts

Cómo se verifica

Método de auditoría: Comando de shell

shell
$f = Join-Path $env:TEMP ('tmaegis-' + [guid]::NewGuid().ToString() + '.inf'); secedit /export /cfg $f /areas SECURITYPOLICY USER_RIGHTS /quiet | Out-Null; $c = Get-Content $f -ErrorAction SilentlyContinue; Remove-Item $f -Force -ErrorAction SilentlyContinue; $line = $c | Where-Object { $_ -match '^\s*LockoutDuration\s*=' } | Select-Object -First 1; $v = if ($line) { ($line -split '=', 2)[1].Trim().Trim('"') } else { $null }; if (($null -ne $v -and [int64]$v -ge 15)) { 'compliant' } else { 'non-compliant: ' + $v }
Salida esperada
compliant

Cómo se corrige

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

Set through Group Policy (domain policy for domain members): Computer Configuration\Policies\Windows Settings\Security Settings\Account Policies\Account Lockout Policy\Account lockout duration

Propiedades

Sistemas operativos
windows-10
Etiquetas
cis-convertedseceditwindows
Referencia
CIS Microsoft Windows 10 Enterprise Benchmark v4.0.0 - 1.2.1

Verificar este host

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

shell
tmaegis scan --target windows