Windows Security ยท 2.3
๐ Password & Lockout Policies
The settings that make passwords actually strongโฑ ~3 min
๐ฆLockout policy = bank vault time-lock
A bank vault locks after too many wrong PIN attempts and makes you wait. Account lockout policy does the same thing โ after 3-5 wrong passwords, the account locks for 30 minutes. Without this, an attacker can try millions of passwords (brute force) unimpeded.
Where to Configure: secpol.msc โ Account Policies
All values below are drawn directly from CIS Microsoft Windows 10/11 Stand-alone Benchmark v3.0, Level 1. These are the same values CyberPatriot scoring aligns to.
Password Policy โ CIS Level 1 (Windows 10/11)
| Setting | What It Does | CIS Level 1 Value |
|---|---|---|
| Enforce password history | Prevents reusing recent passwords | 24 or more passwords |
| Maximum password age | Forces periodic password changes | 60 days (CIS allows up to 365; 60 is recommended) |
| Minimum password age | Prevents cycling through history to reuse a favorite | 1 or more days |
| Minimum password length | Longer passwords = exponentially harder to crack | 14 or more characters |
| Password must meet complexity requirements | Enforces uppercase + lowercase + digit + symbol | Enabled |
| Store passwords using reversible encryption | Stores decryptable plaintext โ catastrophic if DB is stolen | Disabled |
โ Warning14 characters is the CIS Level 1 floor โ not 8, 10, or 12. A minimum below 14 is considered a misconfiguration by the benchmark. A 10-character minimum does not meet CIS Level 1 and will not earn full points.
Account Lockout Policy โ CIS Level 1 (Windows 10/11)
| Setting | What It Does | CIS Level 1 Value |
|---|---|---|
| Account lockout threshold | Locks account after N failed attempts, defeating brute force | 5 or fewer invalid logon attempts |
| Account lockout duration | How long the account stays locked (0 = admin must unlock) | 15 minutes or more |
| Reset account lockout counter after | Failed-attempt counter resets after this period with no failures | 15 minutes or more |
Command Line (net accounts)
cmd
# View current password policynet accounts # CIS Level 1: minimum password length = 14net accounts /minpwlen:14 # CIS Level 1: enforce history of 24 passwordsnet accounts /uniquepw:24 # Set maximum password age to 60 days (CIS allows up to 365; 60 is best practice)net accounts /maxpwage:60 # CIS Level 1: minimum age 1 daynet accounts /minpwage:1 # CIS Level 1: lockout threshold 5 or fewernet accounts /lockoutthreshold:5 # CIS Level 1: lockout duration 15+ minutesnet accounts /lockoutduration:15 # CIS Level 1: reset counter after 15+ minutesnet accounts /lockoutwindow:15๐ SecurityAlways set 'Store passwords using reversible encryption' to DISABLED. If enabled, Windows stores a decryptable copy of every password โ if the password database is stolen, all passwords are exposed in plaintext.
๐ง Quick Checkfirst try = +5 XP
Setting account lockout threshold to 0 does what?
๐ฎ Practice what you learned
โญ 0 XP๐ฅ 0 days