NixOS must enforce a delay of at least four seconds between logon prompts following a failed logon attempt.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-268171ANIX-00-001870SV-268171r1134782_ruleCCI-000366medium
Description
Limiting the number of logon attempts over a certain time interval reduces the chances that an unauthorized user may gain access to an account.
STIGDate
Anduril NixOS Security Technical Implementation Guide2025-08-19

Related Frameworks

4 paths across 3 frameworks
NIST 800-531 mapping
CM-6
1.00
  • DISA · V1R2 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.4.1
1.00
  • DISA · V1R2 · 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 · V1R2 · 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 · V1R2 · disa_xccdf · related

Details

Check Text (C-268171r1134782_chk)

Verify NixOS enforces a four-second delay between logon attempts with the following command: $ grep -I delay /etc/login.defs FAIL_DELAY 4 If "FAIL_DELAY" is not set to "4" or greater, is commented out, or is missing, this is a finding.

Fix Text (F-71998r1131148_fix)

Configure NixOS to enforce a four-second delay between logon attempts. Add the following Nix code to the NixOS Configuration, usually located in /etc/nixos/configuration.nix or /etc/nixos/flake.nix: security.loginDefs.settings."FAIL_DELAY" = "4"; Rebuild and switch to the new NixOS configuration: $ sudo nixos-rebuild switch