5.4.1.7 Ensure account administration utilities are configured to store only encrypted representations of passwords.

Information

The Operating system must be configured so that user and group account administration utilities are configured to store only encrypted representations of passwords.

Rationale:

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. Passwords encrypted with a weak algorithm are no more protected than if they are kept in plain text.

Solution

Configure the operating system to store only SHA512 encrypted representations of passwords.
Add or update the following line in /etc/libuser.conf in the [defaults] section:
Example: vim /etc/libuser.conf
Add, uncomment or update the following line:

crypt_style = sha512

Notes:

This Benchmark recommendation maps to:

Red Hat Enterprise Linux 7 Security Technical Implementation Guide:

Version 2, Release: 3 Benchmark Date: 26 Apr 2019



Vul ID: V-71923

Rule ID: SV-86547r3_rule

STIG ID: RHEL-07-010220

Severity: CAT II

See Also

https://workbench.cisecurity.org/files/2688

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-13

Plugin: Unix

Control ID: 80966ab2b78b18e2eb3e4214b575ba7e746d1c414a1025765c591746339cc598