NixOS must employ approved cryptographic hashing algorithms for all stored passwords.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-268175SRG-OS-000120-GPOS-00061ANIX-00-001940SV-268175r1039413_rule2024-10-251
Description
Unapproved mechanisms that are used for authentication to the cryptographic module are not verified and therefore cannot be relied upon to provide confidentiality or integrity, and DOD data may be compromised. Operating systems using encryption are required to use FIPS-compliant mechanisms for authenticating to cryptographic modules. FIPS 140-3 is the current standard for validating that mechanisms used to access cryptographic modules use authentication that meets DOD requirements. This allows for Security Levels 1, 2, 3, or 4 for use on a general purpose computing system.
ℹ️ Check
Verify NixOS uses employs approved cryptographic hashing algorithms for all stored passwords with the following command: (Change <unique-username> to the desired user to verify.) $ sudo cat /etc/shadow | grep "<unique-username>" | cut -d'$' -f2 If the command does not return 6 for SHA512, this is a finding.
✔️ Fix
Lock all interactive user accounts not using SHA-512 hashing until the passwords can be regenerated with SHA-512.