{"description": "Verify the operating system requires the shadow password suite\nconfiguration be set to encrypt interactive user passwords using a strong\ncryptographic hash.\nCheck that the interactive user account passwords are using a strong\npassword hash with the following command:\n<pre>$ sudo cut -d: -f2 /etc/shadow\n$6$kcOnRq/5$NUEYPuyL.wghQwWssXRcLRFiiru7f5JPV6GaJhNC2aK5F3PZpE/BCCtwrxRc/AInKMNX3CdMw11m9STiql12f/</pre>\nPassword hashes <tt>!</tt> or <tt>*</tt> indicate inactive accounts not\navailable for logon and are not evaluated.\nIf any interactive user password hash does not begin with <tt>$6</tt>,\nthis is a finding.", "rationale": "Passwords need to be protected at all times, and encryption is the standard method for\nprotecting passwords. If passwords are not encrypted, they can be plainly read\n(i.e., clear text) and easily compromised.", "severity": "medium", "references": {"nist": ["IA-5(1)(c)", "IA-5(1).1(v)", "IA-7", "IA-7.1"], "srg": ["SRG-OS-000073-GPOS-00041", "SRG-OS-000120-GPOS-00061"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "any interactive user password hash does not begin with \"$6\"", "ocil": "Verify that the interactive user account passwords are using a strong\npassword hash with the following command:\n\n<pre>$ sudo cut -d: -f2 /etc/shadow\n\n$6$kcOnRq/5$NUEYPuyL.wghQwWssXRcLRFiiru7f5JPV6GaJhNC2aK5F3PZpE/BCCtwrxRc/AInKMNX3CdMw11m9STiql12f/</pre>\n\nPassword hashes <tt>!</tt> or <tt>*</tt> indicate inactive accounts not\navailable for logon and are not evaluated.", "oval_external_content": null, "fixtext": "Lock all interactive user accounts not using SHA-512 hashing until the passwords can be regenerated with SHA-512.", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must employ FIPS 140-3 approved cryptographic hashing algorithms for all stored passwords.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must employ FIPS 140-3 approved cryptographic hashing algorithms for all stored passwords.", "vuldiscussion": "The system must use a strong hashing algorithm to store the password.\n\nPasswords 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.", "checktext": "Verify that the interactive user account passwords are using a strong password hash with the following command:\n\n$ sudo cut -d: -f2 /etc/shadow\n\n$6$kcOnRq/5$NUEYPuyL.wghQwWssXRcLRFiiru7f5JPV6GaJhNC2aK5F3PZpE/BCCtwrxRc/AInKMNX3CdMw11m9STiql12f/\n\nPassword hashes \"!\" or \"*\" indicate inactive accounts not available for logon and are not evaluated.\n\nIf any interactive user password hash does not begin with \"$6\", this is a finding.", "fixtext": "Lock all interactive user accounts not using SHA-512 hashing until the passwords can be regenerated with SHA-512."}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Verify All Account Password Hashes are Shadowed with SHA512", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-restrictions/password_storage/accounts_password_all_shadowed_sha512/rule.yml", "template": null}