Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
cognito_user_pool_blocks_potential_malicious_sign_in_attemptsProvider: AWS
Service:
cognitoSeverity: MEDIUM
Categories:
threat-detection, identity-accessResource type:
OtherWhat this check verifies
Amazon Cognito user pool with threat protection inENFORCED mode and adaptive authentication actions set to BLOCK for low, medium, and high account-takeover risk levels.
Evaluates the user pool’s risk configuration to confirm risky sign-in attempts are blocked across all severities.
Risk
Permitting risky sign-ins degrades confidentiality and integrity. Attackers with stolen or guessed credentials can achieve account takeover, access data, change credentials, and escalate privileges, enabling lateral movement and persistence.Recommendation
Enable threat protection inENFORCED mode and configure adaptive authentication to BLOCK at all risk levels.
Apply least privilege and defense in depth: require MFA, avoid broad Always-allow IPs, and monitor user event logs to tune responses and exceptions.
Remediation
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
- https://support.icompaas.com/support/solutions/articles/62000233676-ensure-that-your-amazon-cognito-user-pool-blocks-potential-malicious-sign-in-attempts
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = cognito_user_pool_blocks_potential_malicious_sign_in_attempts. 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