Windows (desktop and server)
TMA-WIN10-1.2.4
Ensure 'Reset account lockout counter after' is set to '15 or more minute(s)'
Mô tả
This policy setting determines the length of time before the Account lockout threshold resets to zero. The default value for this policy setting is Not Defined. If the Account lockout threshold is defined, this reset time must be less than or equal to the value for the Account lockout duration setting. If you leave this policy setting at its default value or configure the value to an interval that is too long, your environment could be vulnerable to a DoS attack. An attacker could maliciously perform a number of failed logon attempts on all users in the organization, which will lock out their
Cách kiểm tra
Phương pháp kiểm tra: Lệnh 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*ResetLockoutCount\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 }- Đầu ra mong đợi
compliant
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Set through Group Policy (domain policy for domain members): Computer Configuration\Policies\Windows Settings\Security Settings\Account Policies\Account Lockout Policy\Reset account lockout counter after
Thuộc tính
- Hệ điều hành
- windows-10
- Thẻ
- cis-convertedseceditwindows
- Tham chiếu
- CIS Microsoft Windows 10 Enterprise Benchmark v4.0.0 - 1.2.4
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
tmaegis scan --target windows