Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
iam_password_policy_reuse_24Provider: AWS
Service:
iamSeverity: MEDIUM
Categories:
identity-accessResource type:
AwsIamPolicyWhat this check verifies
IAM account password policy uses password reuse prevention set to24 remembered passwords (maximum history) for IAM users
Risk
If fewer than24 passwords are remembered, users can cycle back to recent secrets, undermining rotation. Attackers with previously exposed passwords can regain console access after a change, reducing confidentiality and integrity and increasing success of credential-stuffing with known credentials.
Recommendation
Set the password policy to remember24 previous passwords to block reuse. Combine with MFA, strong length and complexity, and avoid rotation practices that encourage predictable patterns. Apply least privilege and monitor authentication events as part of defense in depth.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
aws iam update-account-password-policy —password-reuse-prevention 24
References
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = iam_password_policy_reuse_24. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks