STIGUI
V-275660CAT II — Medium severitySV-275660r1148030_rule

Ubuntu OS must encrypt all stored passwords with a FIPS 140-2/140-3-approved cryptographic hashing algorithm.

Rule version RIIM-OS-611070 · STIG v1 · 2025-10-02

Discussion

Passwords need to be protected at all times, and encryption is the standard method for protecting passwords. If passwords are not encrypted, they can be plainly read (i.e., clear text) and easily compromised.

Check

Verify that the shadow password suite configuration is set to encrypt passwords with a FIPS 140-2/140-3 approved cryptographic hashing algorithm by using the following command:

     $ grep -i '^\s*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.

Fix

Configure Ubuntu OS to encrypt all stored passwords.

Add or modify the following line in the "/etc/login.defs" file:

ENCRYPT_METHOD SHA512

Identifiers

Group ID
V-275660
Group title
SRG-OS-000120-GPOS-00061
Rule ID
SV-275660r1148030_rule
Check ID
C-79762r1148028_chk
Fix ID
F-79667r1148029_fix