IAM account password policy requires at least one numeric character (0-9) in IAM user passwords
Risk
Passwords without numbers have lower entropy, making brute-force and credential-stuffing more effective. A compromised IAM user can gain console access, enabling data exposure (confidentiality), configuration changes (integrity), and resource abuse or deletion (availability).
prowler aws --checks iam_password_policy_number
prowler aws --checks iam_password_policy_number --fixer
Recommendation
Enforce the password policy option to require at least one number. Combine with strong length, mixed case, and symbols, and prevent reuse. Enable MFA for all users and prefer federated access to limit static credentials, supporting defense in depth against guessing attacks.
Remediation
aws iam update-account-password-policy --require-numbers
- Open the AWS Management Console and go to IAM
- In the left menu, click Account settings
- In Password policy, click Edit
- Check Require at least one number
- Click Save changes and confirm Set custom
Source Code
Resource Type
AwsIamPolicy