SV-274162r1120474_rule
V-274162
SRG-OS-000073-GPOS-00041
AZLX-23-002490
CAT II
10
Configure Amazon Linux 2023 to use 100000 hashing rounds for hashing passwords.
Add or modify the following line in "/etc/pam.d/password-auth" and set "rounds" to "100000".
password sufficient pam_unix.so sha512 rounds=100000
Verify Amazon Linux 2023 has the required number of rounds for the password hashing algorithm is configured in password-auth with the following command:
$ sudo grep rounds /etc/pam.d/password-auth
password sufficient pam_unix.so sha512 rounds=100000
If a matching line is not returned or "rounds" is less than "100000", this a finding.
V-274162
False
AZLX-23-002490
Verify Amazon Linux 2023 has the required number of rounds for the password hashing algorithm is configured in password-auth with the following command:
$ sudo grep rounds /etc/pam.d/password-auth
password sufficient pam_unix.so sha512 rounds=100000
If a matching line is not returned or "rounds" is less than "100000", this a finding.
M
5700