RHEL-09-611150 - RHEL 9 shadow password suite must be configured to use a sufficient number of hashing rounds.

Information

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

Using more hashing rounds makes password cracking attacks more difficult.

Satisfies: SRG-OS-000073-GPOS-00041, SRG-OS-000120-GPOS-00061

Solution

Configure RHEL 9 to encrypt all stored passwords with a strong cryptographic hash.

Edit/modify the following line in the '/etc/login.defs' file and set 'SHA_CRYPT_MIN_ROUNDS' to a value no lower than '5000':

SHA_CRYPT_MIN_ROUNDS 5000

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-7, CAT|II, CCI|CCI-000803, CCI|CCI-004062, Rule-ID|SV-258119r997104_rule, STIG-ID|RHEL-09-611150, Vuln-ID|V-258119

Plugin: Unix

Control ID: 752963d13fd429297641ea07ad07690505eb5a73c040c19e34998dc2b8088ce2