NixOS must prevent the use of dictionary words for passwords.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-268169 | ANIX-00-001860 | SV-268169r1039395_rule | CCI-000366 | medium |
| Description | ||||
| If the operating system allows the user to select passwords based on dictionary words, then this increases the chances of password compromise by increasing the opportunity for successful guesses and brute-force attacks. | ||||
| STIG | Date | |||
| Anduril NixOS Security Technical Implementation Guide | 2024-10-25 | |||
Related Frameworks
4 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-6
1.00
- DISA · 1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.4.1
1.00
- DISA · 1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.4.2
1.00
- DISA · 1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000366
1.00
- DISA · 1 · disa_xccdf · related
Details
Check Text (C-268169r1039395_chk)
Verify NixOS prevents the use of dictionary words for passwords with the following command:
$ grep dict /etc/security/pwquality.conf
dictcheck=1
If the value of "ocredit" is a positive number or is commented out, this is a finding.
Fix Text (F-71996r1039394_fix)
Configure NixOS to check password change attempts against a dictionary.
Add/modify /etc/nixos/configuration.nix to include the following lines:
environment.etc."/security/pwquality.conf".text = ''
dictcheck=1
'';
Rebuild the system with the following command:
$ sudo nixos-rebuild switch