# 4.6 Ensure AWS Management Console authentication failures are monitored (Manual)

- Source: https://support.icompaas.com/support/solutions/articles/62000234260-4-6-ensure-aws-management-console-authentication-failures-are-monitored-manual-
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS Amazon Web Services Foundations Benchmark v5.0.0](https://support.icompaas.com/support/solutions/62000112684) › [CIS AWS Benchmarks](https://support.icompaas.com/support/solutions/folders/62000169233)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

#### Profile Applicability

-   **Level 1**
    

#### Description:

Monitoring AWS Management Console authentication failures is essential to detect potential security incidents or unauthorized access attempts. These failed authentication events indicate suspicious behavior, such as brute force attacks or credential misuse, and should be reviewed regularly to ensure that security controls are effective.

CloudTrail logs AWS Management Console authentication failures, such as invalid login attempts, and they can be monitored to detect unusual patterns of activity that could indicate a security breach.

#### Rationale:

Authentication failures are a clear indicator of potential security risks, including:

-   Brute force attacks where an attacker attempts to guess passwords or use stolen credentials.
    
-   Misconfigurations or attempts to access AWS resources with incorrect credentials.
    
-   Abuse of credentials for unauthorized access attempts.
    

By monitoring and reviewing failed login attempts, organizations can detect potential security threats early and take corrective action.

#### Impact:

Failure to monitor AWS Management Console authentication failures can lead to:

-   Lack of visibility into suspicious activity.
    
-   Delayed detection of unauthorized access attempts.
    
-   Increased risk of a security breach or successful attack.
    

Monitoring authentication failures helps identify and mitigate security risks, ensuring that login attempts are legitimate and not part of a malicious attack.

#### Default Value:

By default, AWS CloudTrail records all API calls, including failed login attempts to the AWS Management Console. However, AWS Config does not automatically monitor these events, and specific configurations are needed to track and alert on failed authentication attempts.

#### Pre-Requisites:

-   AWS CLI installed and configured
    
-   IAM permissions:
    
    -   cloudtrail:LookupEvents
        
    -   cloudwatch:PutMetricData
        
    -   cloudwatch:DescribeAlarms
        
-   AWS CloudTrail should be enabled for logging authentication failures
    
-   AWS CloudWatch should be configured to monitor failed login events
    

#### Remediation:

##### Test Plan:

Using AWS Console:

1.  Go to the [CloudTrail Console](https://console.aws.amazon.com/cloudtrail/).
    
2.  Verify that CloudTrail is logging events for AWS Management Console authentication failures, such as ConsoleLogin events.
    
3.  Go to the [CloudWatch Console](https://console.aws.amazon.com/cloudwatch/) to check if any CloudWatch metrics or alarms are set up to monitor failed login attempts.
    

Using AWS CLI:

aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=ConsoleLogin --query "Events\[?ResponseElements.ConsoleLogin=='Failure'\]" --output table

To check CloudWatch for failed authentication alarms:

aws cloudwatch describe-alarms --query "MetricAlarms\[?AlarmName=='FailedConsoleLoginAlarm'\]" --output table

##### Implementation Plan:

Using AWS Console:

1.  Verify CloudTrail logging for Console authentication failures:
    
    -   Go to the [CloudTrail Console](https://console.aws.amazon.com/cloudtrail/).
        
    -   Ensure that Management Events are enabled to capture ConsoleLogin events, including failed login attempts.
        
    -   Ensure that logs are stored in an S3 bucket for long-term access and compliance.
        
2.  Set up CloudWatch metrics and alarms for failed console login attempts:
    
    -   Go to the [CloudWatch Console](https://console.aws.amazon.com/cloudwatch/).
        
    -   Set up a custom CloudWatch metric filter to track failed ConsoleLogin events.
        
    -   Create a CloudWatch alarm that triggers when the number of failed login attempts exceeds a threshold.
        

Using AWS CLI:

1.  Verify CloudTrail logging for authentication failures:
    

aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=ConsoleLogin --query "Events\[?ResponseElements.ConsoleLogin=='Failure'\]" --output table

2.  Create CloudWatch metrics and alarms:
    

aws cloudwatch put-metric-alarm --alarm-name "FailedConsoleLoginAlarm" --metric-name "ConsoleLoginFailures" --namespace "AWS/CloudTrail" --statistic "Sum" --period 300 --threshold 5 --comparison-operator "GreaterThanOrEqualToThreshold" --evaluation-periods 1 --actions-enabled

#### Backout Plan:

Using AWS Console:

1.  If monitoring authentication failures creates excessive alarms or logs:
    
    -   Go to the [CloudWatch Console](https://console.aws.amazon.com/cloudwatch/).
        
    -   Disable or adjust the CloudWatch alarm for failed logins to a higher threshold.
        
    -   Modify the CloudTrail logging configuration to log fewer events or exclude non-critical authentication failures.
        
2.  Disable CloudTrail logging for Console login failures if it leads to unnecessary resource usage:
    
    -   Go to the [CloudTrail Console](https://console.aws.amazon.com/cloudtrail/), and modify the trail to stop logging ConsoleLogin events.
        

Using AWS CLI:

1.  Temporarily disable CloudWatch alarms:
    

aws cloudwatch disable-alarm-actions --alarm-name "FailedConsoleLoginAlarm"

2.  Stop logging authentication failures in CloudTrail:  
    

aws cloudtrail update-trail --name <trail-name> --no-log-console-login

3.  Re-enable monitoring once issues are resolved:
    

aws cloudwatch enable-alarm-actions --alarm-name "FailedConsoleLoginAlarm"

#### References:

-   [AWS CloudTrail Documentation](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html)
    
-   [AWS CloudWatch Documentation](https://docs.aws.amazon.com/cloudwatch/latest/monitoring/)
    
-   [AWS Console Login Events](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-logging.html)
    

#### CIS Controls Mapping:

<table style="border:none;border-collapse:collapse"><tbody><tr style="height:39.25pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">CIS Control Version</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control ID</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control Description</span></span></span></p></td></tr><tr style="height:39.25pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v8</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">4.9</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Perform Continuous Security Monitoring and Incident Detection</span></span></span></p></td></tr><tr style="height:25pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v7</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">6.3</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Monitor Security Configurations for Compliance</span></span></span></p></td></tr><tr style="height:39.25pt"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v7</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">5.2</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;text-align:justify"><span style="font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="color:rgb(0, 0, 0);font-weight:400">Securely Manage and Monitor Cloud Accounts and Services</span></span></p></td></tr></tbody></table>

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
