2.9 Ensure IAM password policy prevents password reuse

Information

IAM password policies can prevent the reuse of passwords by the same user. It is recommended that the password policy be configured to prevent password reuse.

Preventing password reuse increases account resilience against brute force and credential reuse attacks.

Solution

Perform the following to set the password policy as prescribed:

From Console:

- Login to AWS Console (with appropriate permissions to View Identity Access Management Account Settings)
- Go to IAM Service
- Select Account Settings on the left Pane
- Check Prevent password reuse
- Set Remember XX password(s) to 24 or greater

From Command Line:

- Run the following command:

aws iam update-account-password-policy --password-reuse-prevention 24

Note: All commands starting with "aws iam update-account-password-policy" can be combined into a single command.

Impact:

Allowing password reuse increases the risk of account compromise, particularly if previously exposed or weak passwords are reused.

See Also

https://workbench.cisecurity.org/benchmarks/24575

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1), CCE|CCE-78908-1, CSCv7|4.4

Plugin: amazon_aws

Control ID: 44313d78376e126a5022f2a83d3b5a72646ab1054b30745fa2dfda8b1d581bb1