Profile Applicability: Level 1
Description:
Password policies are, in part, used to enforce password complexity requirements. IAM password policies can be used to ensure passwords are comprised of different character sets. It is recommended that the password policy require at least one lowercase letter.
Rationale:
At least one symbol in the password and similar conditions, such as the minimum length, whether it requires nonalphabetic characters, and how frequently it must be rotated in the user's account, will make a strong password, one of the best security practices.
Impact:
Setting a password complexity policy increases account resilience against brute force login attempts.
Default Value:
By default, AWS will have only a few password policies, and if you want to make custom policies, you can follow the remediation steps.
Pre-requisites:
- Login to AWS console with Administrator access
- Approval Required from the client for remediation of the task
- After auditing, if the found lowercase letter condition is not enabled then only perform the below steps.
Test Plan:
Login to AWS Console
Go to IAM Service on the AWS Console https://console.aws.amazon.com/iam/
Click on Account Settings on the Left Pane.
- Check the list of policies shown under Password policy section to know whether the particular policy is enabled or not.
Using AWS CLI:
aws iam get-account-password-policy
Implementation steps:
Perform the following to set the password policy as prescribed:
Login to AWS Console
Go to IAM Service on the AWS Console https://console.aws.amazon.com/iam/
Click on Account Settings on the Left Pane
Click on Edit button under password policy section.
- Click on Custom to change the policies
- Check the Require at least one lowercase letter from Latin alphabet (A-Z) check box and click on save changes.
Using AWS CLI:
To create or change the custom password policy:
aws iam update-account-password-policy --require-lowercase-characters
Backout plan:
Login to AWS Console
Go to IAM Service on the AWS Console https://console.aws.amazon.com/iam/
Click on Account Settings on the Left Pane
If you want to delete or change the custom policies click on Delete or Change buttons
Using AWS CLI:
To delete the custom password policy:
aws iam delete-account-password-policy
References: