20 of 50 in All Controls
aws

Enforce Break Glass Access Procedures

IDAWS-IAM-008
Severity
critical
Automation
Auto
Category
iam
Enforcementmandatory
Complexity / Impact
low(none impact)
Risk Profile
low likelihood(low residual)
Cloud Scopeaws:account
Environments
production
Target Resources
iam_usercloudwatch_alarmsns_topic
Services
iamcloudwatchsnsorganizations
Tags
iamincident-responsebreak-glassemergency-accesslanding-zone
Frameworks
NIST 800-53ISO 27001PCI DSSSOC 2
Governance
Cloud Security (quarterly)
Created
2026-05-03
Last Updated
2026-06-06

Specification & Description

Establish a documented, auditable break-glass access procedure for emergency access to the Management account when IAM Identity Center or the corporate IdP is unavailable.

Technical Specifications

Break-glass access is the emergency fallback when normal federated access via IAM Identity Center fails - typically due to an IdP outage, Identity Center service disruption, or misconfiguration that locks out all federated users. The pattern consists of a single dedicated IAM user in the Management account with AdministratorAccess, hardware MFA enforced via an IAM policy condition, credentials stored in a physical safe or a highly restricted Secrets Manager secret in a separate security account, and an immediate CloudWatch alarm triggered on any sign-in or API call by this user. The user has no access keys and no console access without MFA - the MFA device is the physical control that governs who can use the account. Usage is a declared incident: the security team is paged, all actions are recorded in CloudTrail, and the session is terminated as soon as normal access is restored. An SCP prevents deletion of the break-glass user from any account other than the Management account. Member accounts do not have their own break-glass users - emergency access to member accounts is obtained by assuming a role from the Management account break-glass session.

Security Rationale

IAM Identity Center is a dependency for all human access in a well-configured landing zone. A single point of failure in the IdP or Identity Center configuration can lock out the entire operations team from the Management account during an active incident - precisely when access is most critical. A carefully controlled break-glass user with hardware MFA provides an out-of-band access path that does not depend on any federated identity infrastructure while remaining auditable and difficult to misuse.

Business & Security Impact

Without a tested break-glass procedure, an IdP or Identity Center outage during a security incident can prevent remediation, prolonging the incident and potentially causing irreversible damage. Conversely, an improperly controlled break-glass account is a high-value persistent credential that an attacker can use to maintain access after all other entry points are closed.

Policy Exceptions (2)

The break-glass user is the only permitted IAM user with console access in the Management account. It is the explicit exception to the IAM user prohibition in AWS-IAM-004. It must be the only entry in any audit finding for active IAM login profiles in this account.

During an active declared incident, break-glass usage is expected and alarm notifications should be acknowledged by the on-call security lead rather than escalated as an unauthorized access event. A declared incident must be opened in the incident management system before break-glass credentials are retrieved from the safe.

Operational & Implementation Notes

Hardware MFA is mandatory for break-glass users - virtual MFA (authenticator app) stored on a personal device is not acceptable because device loss or compromise removes the physical control. Use a FIDO2 hardware key (YubiKey, Titan) or a dedicated TOTP hardware token stored with the credentials. The break-glass user should have no console password set in its normal state - the password is created as part of the activation procedure and deleted immediately after the session ends. This limits the window of exposure to the duration of the declared incident. Member account emergency access is handled by assuming an emergency role from the Management account session, not by creating break-glass users in every account. The CloudTrail log group name required by the Terraform alarm block must match the log group created by your CloudTrail configuration - typically /aws/cloudtrail or a custom name set in your landing zone baseline.

Compliance Framework Mappings (4)

Regulatory baselines and industry standards mapped to this control specification.

Beta
Framework / StandardMapped Requirements & ControlsControls
NIST 800-53 Rev 5NIST 800-53
CP-2IR-4
2
ISO 27001:2022ISO 27001
A.5.29A.8.2
2
PCI DSS v4.0PCI DSS
12.10.1
1
SOC 2SOC 2
CC9.1CC7.3
2

* Compliance framework mappings are provided for informational architectural reference. Always verify control alignment against your organization's formal audit requirements.

Automated Detection & Rule Logic

Detection Engine: aws-api • Automated: Yes

Two detection checks apply. First, verify the break-glass IAM user exists, has MFA enabled, and has no active access keys - deviations from any of these indicate the account is misconfigured or was tampered with. Second, a CloudWatch metric filter on CloudTrail logs detects any console sign-in or API call by the break-glass user and triggers an SNS alarm immediately - any activity outside a declared incident window is a security event.

Verify Break-Glass User Configurationbash
# Confirm user exists and has MFA enabled
aws iam get-user \
  --user-name break-glass \
  --query "User.{Name:UserName,Created:CreateDate}" \
  --output table

aws iam list-mfa-devices \
  --user-name break-glass \
  --query "MFADevices[*].{Serial:SerialNumber,Enabled:EnableDate}" \
  --output table

# Confirm no active access keys
aws iam list-access-keys \
  --user-name break-glass \
  --query "AccessKeyMetadata[?Status=='Active'].AccessKeyId" \
  --output text
CloudWatch Alarm for Break-Glass Activityhcl
# ==========================================
# 1. INPUT VARIABLES
# ==========================================

variable "security_team_email" {
  type        = string
  description = "Email address of the security operations team to receive emergency break-glass alerts."
}

variable "existing_cloudtrail_log_group_name" {
  type        = string
  description = "The exact name of your pre-existing CloudWatch Log Group capturing CloudTrail logs."
}

# ==========================================
# 2. MONITORING & ALERTING ENGINE
# ==========================================

resource "aws_sns_topic" "break_glass_alerts" {
  name = "break-glass-alerts",
  kms_master_key_id = "alias/aws/sns"
}

resource "aws_sns_topic_subscription" "security_team" {
  topic_arn = aws_sns_topic.break_glass_alerts.arn
  protocol  = "email"
  endpoint  = var.security_team_email
}

resource "aws_cloudwatch_log_metric_filter" "break_glass" {
  name           = "BreakGlassActivity"
  log_group_name = var.existing_cloudtrail_log_group_name

  # Hardened pattern capturing root logins and emergency credential usage
  pattern = <<-PATTERN
    { 
      ($.userIdentity.type = "IAMUser" || 
      $.userIdentity.userName = "break-glass" || 
      $.userIdentity.sessionContext.sessionIssuer.userName = "*break-glass*") 
    }
  PATTERN

  metric_transformation {
    name      = "BreakGlassActivityCount"
    namespace = "LandingZoneSecurity"
    value     = "1"
  }
}

resource "aws_cloudwatch_metric_alarm" "break_glass" {
  alarm_name          = "BreakGlassActivityDetected"
  alarm_description   = "CRITICAL: Break-glass or Root user activity detected in Management account."
  comparison_operator = "GreaterThanOrEqualToThreshold"
  evaluation_periods  = 1
  metric_name         = "BreakGlassActivityCount"
  namespace           = "LandingZoneSecurity"
  period              = 60
  statistic           = "Sum"
  threshold           = 1
  alarm_actions       = [aws_sns_topic.break_glass_alerts.arn]
  treat_missing_data  = "notBreaching"
}

Preventative Enforcement Policies

Enforce MFA for Break-Glass Userjson
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "DenyAllWithoutMFA",
      "Effect": "Deny",
      "Action": "*",
      "Resource": "*",
      "Condition": {
        "BoolIfExists": {
          "aws:MultiFactorAuthPresent": "false"
        }
      }
    },
    {
      "Sid": "AllowMFAManagement",
      "Effect": "Allow",
      "Action": [
        "iam:GetUser",
        "iam:ListMFADevices",
        "iam:EnableMFADevice",
        "iam:ResyncMFADevice"
      ],
      "Resource": "arn:aws:iam::*:user/break-glass"
    }
  ]
}
Prevent Break-Glass User Deletionjson
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "ProtectBreakGlassUser",
      "Effect": "Deny",
      "Action": [
        "iam:DeleteUser",
        "iam:DeleteLoginProfile",
        "iam:DeactivateMFADevice",
        "iam:DeleteVirtualMFADevice"
      ],
      "Resource": "arn:aws:iam::*:user/break-glass",
      "Condition": {
        "ArnNotLike": {
          "aws:PrincipalArn": [
            "arn:aws:iam::MANAGEMENT-ACCOUNT-ID:role/LandingZoneAdminRole"
          ]
        }
      }
    }
  ]
}

Remediation Guide & Automation

Create a single break-glass IAM user in the Management account with AdministratorAccess and hardware MFA enforced. Store credentials in a physical safe. Configure CloudWatch alarm and SNS notification for any usage. Document activation and deactivation procedures. Test annually.

Step-by-Step Instructions

  1. Create a dedicated IAM user named break-glass in the Management account with no access keys and no console password until needed.
  2. Attach AdministratorAccess and the MFA enforcement policy.
  3. Enroll a hardware MFA device (FIDO2 security key or TOTP hardware token - not virtual MFA).
  4. Store the console password and MFA device in a physical safe with dual-control access (two authorized persons required).
  5. Configure the CloudWatch alarm and SNS topic to page the security team immediately on any break-glass activity.
  6. Document activation conditions, step-by-step access procedure, and mandatory deactivation steps in the incident response runbook.
  7. Test the full procedure annually in a controlled exercise - verify the alarm fires and credentials work.

We value your privacy

We use analytics cookies to understand how visitors interact with our site and to improve the user experience. You can choose to accept or decline these cookies.