NixOS must generate audit records when concurrent logins to the same account occur from different sources.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-268166ANIX-00-001790SV-268166r1039580_ruleCCI-000172medium
Description
Without generating audit records that are specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one. Audit records can be generated from various components within the information system (e.g., module or policy filter). Satisfies: SRG-OS-000473-GPOS-00218, SRG-OS-000042-GPOS-00020, SRG-OS-000475-GPOS-00220
STIGDate
Anduril NixOS Security Technical Implementation Guide2024-10-25

Related Frameworks

4 paths across 3 frameworks
NIST 800-531 mapping
AU-12
1.00
  • DISA · 1 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.3.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.3.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-000172
1.00
  • DISA · 1 · disa_xccdf · related

Details

Check Text (C-268166r1039580_chk)

Verify NixOS is configured to generate audit records with the following command: $ sudo auditctl -l | grep -w lastlog -w /var/log/lastlog -p wa -k logins If the command does not return a watch for the lastlog file, this is a finding.

Fix Text (F-71993r1039385_fix)

Modify NixOS to generate audit logs on account creations and modifications. Edit /etc/nixos/configuration.nix and ensure the following options are configured: security.audit.rules = [ "-w /var/log/lastlog -p wa -k logins" ]; Rebuild the system with the following command: $ sudo nixos-rebuild switch