1.8 Ensure IAM password policy requires minimum length of 14 or greater

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Password policies are, in part, used to enforce password complexity requirements. IAM password policies can be used to ensure password are at least a given length. It is recommended that the password policy require a minimum password length 14.

Rationale:

Setting a password complexity policy increases account resiliency against brute force login attempts.

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 on the AWS Console

Click on Account Settings on the Left Pane

Set 'Minimum password length' to 14 or greater.

Click 'Apply password policy'

From Command Line:

aws iam update-account-password-policy --minimum-password-length 14

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

See Also

https://workbench.cisecurity.org/files/4047

Item Details

References: CCE|CCE-78907-3, CSCv7|16

Plugin: amazon_aws

Control ID: 6afea8e4fd7163f55baa338b30698e9f0dfb43fb11c563c9ade7a250203e578e