UBTU-18-010110 - The Ubuntu operating system must employ a FIPS 140-2 approved cryptographic hashing algorithms for all created and stored passwords.

Information

The Ubuntu operating system must use a FIPS-compliant hashing algorithm to securely store the password. The FIPS-compliant hashing algorithm parameters must be selected in order to harden the system against offline attacks.

Solution

Configure the Ubuntu operating system to encrypt all stored passwords with a strong cryptographic hash.

Edit/modify the following line in the file '/etc/pam.d/common-password' file to include the sha512 option for pam_unix.so:

password [success=1 default=ignore] pam_unix.so obscure sha512

Edit/modify /etc/login.defs and set 'ENCRYPT_METHOD sha512'.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_18-04_LTS_V2R13_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-7, CAT|II, CCI|CCI-000803, Rule-ID|SV-219182r610963_rule, STIG-ID|UBTU-18-010110, STIG-Legacy|SV-109695, STIG-Legacy|V-100591, Vuln-ID|V-219182

Plugin: Unix

Control ID: 45301476b2770640d858a8a0c2e82d3e96ce46799ddd84fdfa7c59d73f05ef9e