STIGQter STIGQter: STIG Summary: Anduril NixOS Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 01 Oct 2025:

NixOS must store only encrypted representations of passwords.

DISA Rule

SV-268130r1131065_rule

Vulnerability Number

V-268130

Group Title

SRG-OS-000073-GPOS-00041

Rule Version

ANIX-00-000770

Severity

CAT I

CCI(s)

Weight

10

Fix Recommendation

Configure NixOS to store only encrypted representations of passwords.

Add the following Nix code to the NixOS Configuration, usually located in /etc/nixos/configuration.nix or /etc/nixos/flake.nix:

security.loginDefs.settings.ENCRYPT_METHOD = "SHA512";

Rebuild and switch to the new NixOS configuration:
$ sudo nixos-rebuild switch

Check Contents

Verify NixOS stores only encrypted representations of passwords with the following command:

$ grep ENCRYPT_METHOD /etc/login.defs

ENCRYPT_METHOD SHA512

If "ENCRYPT_METHOD" does not equal SHA512 or greater, is commented out, or is missing, this is a finding.

Vulnerability Number

V-268130

Documentable

False

Rule Version

ANIX-00-000770

Severity Override Guidance

Verify NixOS stores only encrypted representations of passwords with the following command:

$ grep ENCRYPT_METHOD /etc/login.defs

ENCRYPT_METHOD SHA512

If "ENCRYPT_METHOD" does not equal SHA512 or greater, is commented out, or is missing, this is a finding.

Check Content Reference

M

Target Key

5658