SV-261391r996598_rule
V-261391
SRG-OS-000073-GPOS-00041
SLEM-05-611080
CAT I
10
Configure SLEM 5 to encrypt all stored passwords with FIPS 140-2/140-3-approved cryptographic hash.
Add or modify the following line in the "/etc/login.defs" file:
ENCRYPT_METHOD SHA512
Lock all interactive user accounts not using SHA512 hashing until the passwords can be regenerated.
Verify SLEM 5 shadow password suite is configured to encrypt interactive user passwords using FIPS 140-2/140-3-approved cryptographic hash with the following command:
> sudo cut -d: -f2 /etc/shadow
$6$kcOnRq/5$NUEYPuyL.wghQwWssXRcLRFiiru7f5JPV6GaJhNC2aK5F3PZpE/BCCtwrxRc/AInKMNX3CdMw11m9STiql12f/
Password hashes "!" or "*" indicate inactive accounts not available for logon and are not evaluated.
If any interactive user password hash does not begin with "$6", this is a finding.
V-261391
False
SLEM-05-611080
Verify SLEM 5 shadow password suite is configured to encrypt interactive user passwords using FIPS 140-2/140-3-approved cryptographic hash with the following command:
> sudo cut -d: -f2 /etc/shadow
$6$kcOnRq/5$NUEYPuyL.wghQwWssXRcLRFiiru7f5JPV6GaJhNC2aK5F3PZpE/BCCtwrxRc/AInKMNX3CdMw11m9STiql12f/
Password hashes "!" or "*" indicate inactive accounts not available for logon and are not evaluated.
If any interactive user password hash does not begin with "$6", this is a finding.
M
5596