Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
cloudwatch_log_metric_filter_authentication_failuresProvider: AWS
Service:
cloudwatchSeverity: MEDIUM
Categories:
loggingResource type:
AwsCloudWatchAlarmWhat this check verifies
CloudWatch Logs metric filter and alarm for AWS Management Console authentication failures, sourced from CloudTrail (eventName=ConsoleLogin, errorMessage="Failed authentication").
Identifies whether these failures are converted into a metric and actively monitored by an alarm.
Risk
Absent visibility into failed console logins enables undetected brute-force and credential-stuffing attempts, extending attacker dwell time. Successful guesses can grant console access, risking data confidentiality, configuration integrity, and availability through destructive changes.Recommendation
Implement a log metric filter forConsoleLogin failures and attach a CloudWatch alarm with actionable notifications. Tune thresholds to reduce noise and route alerts to incident response.
Apply least privilege and enforce MFA to limit impact, and correlate alerts with source IP and user context.
Remediation
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudwatch-alarms-for-cloudtrail.html
- https://www.intelligentdiscovery.io/controls/cloudwatch/cloudwatch-alarm-signin-failures
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/aws/CloudWatchLogs/console-sign-in-failures-alarm.html
- https://newsletter.simpleaws.dev/p/cloudtrail-cloudwatch-logs-login-detection-alert
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = cloudwatch_log_metric_filter_authentication_failures. 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