Windows (desktop and server)
TMA-WIN10-1.1.5
Ensure 'Password must meet complexity requirements' is set to 'Enabled'
説明
This policy setting checks all new passwords to ensure that they meet basic requirements for strong passwords. When this policy is enabled, passwords must meet the following minimum requirements: • Not contain the user's account name or parts of the user's full name that exceed two consecutive characters • Be at least six characters in length • Contain characters from three of the following categories: o English uppercase characters (A through Z) o English lowercase characters (a through z) o Base 10 digits (0 through 9) o Non-alphabetic characters (for example, !, $, #, %) o A catch-all categ
チェック方法
監査方法: シェルコマンド
$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*PasswordComplexity\s*=' } | Select-Object -First 1; $v = if ($line) { ($line -split '=', 2)[1].Trim().Trim('"') } else { $null }; if (($null -ne $v -and [int64]$v -eq 1)) { 'compliant' } else { 'non-compliant: ' + $v }- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Set through Group Policy (domain policy for domain members): Computer Configuration\Policies\Windows Settings\Security Settings\Account Policies\Password Policy\Password must meet complexity requirements
プロパティ
- オペレーティングシステム
- windows-10
- タグ
- cis-convertedseceditwindows
- 参照
- CIS Microsoft Windows 10 Enterprise Benchmark v4.0.0 - 1.1.5
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
tmaegis scan --target windows