# 1.5 Ensure MFA is Enabled for the 'Root' User Account (Automated)

- Source: https://support.icompaas.com/support/solutions/articles/62000233106-1-5-ensure-mfa-is-enabled-for-the-root-user-account-automated-
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [AWS CIS V.4 Level 1 Benchmarks](https://support.icompaas.com/support/solutions/62000112671) › [CIS Control 1](https://support.icompaas.com/support/solutions/folders/62000169194)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

### Profile Applicability:

Level 1

## Description:

The AWS root user account has full administrative privileges in an AWS account. Multi-Factor Authentication (MFA) provides an additional security layer beyond just a password, requiring a time-sensitive authentication code from an MFA device to log in. AWS strongly recommends enabling MFA for the root user to prevent unauthorized access.

## Rationale:

-   Reduces attack risk: Even if the root password is compromised, an attacker cannot log in without the MFA code.
    
-   Protects against phishing and brute-force attacks.
    
-   Required for compliance: Many security standards (e.g., CIS, SOC 2, ISO 27001) mandate MFA for privileged accounts.
    

## Impact:

-   Failure to enable MFA on root user increases the likelihood of account takeover in case of password leaks.
    
-   Compromised root credentials can result in complete AWS account compromise, leading to data breaches, financial loss, and legal repercussions.
    

## Default Value:

By default, AWS does not enable MFA for the root account. It must be manually configured by the root user.

1.  AWS Root User Access:
    
    -   Only the root user can enable MFA on the root account.
        
2.  MFA Device:
    
    -   Virtual MFA (Recommended): Use an authenticator app like Google Authenticator, Microsoft Authenticator, or AWS Virtual MFA.
        
    -   Hardware MFA (More Secure): Use a physical MFA device (e.g., YubiKey, Gemalto).
        
3.  Secure Backup Strategy:
    
    -   Document and securely store recovery options if the MFA device is lost.
        

## Remediation:

### Test Plan:

## Using AWS Console

1.  Log in to the AWS Management Console.
    
2.  Click Services → Select IAM.
    

                      ![](https://support.icompaas.com/assets/kb/957fd03396f2e990.png)

3.  Click Credential Report (under Access Reports).
    

                            ![](https://support.icompaas.com/assets/kb/115cdff2bc9d2c50.png)

4.  This will download a CSV file containing IAM credential details.                   ![](https://support.icompaas.com/assets/kb/a9eafa99f329d44d.png)                   
    
5.  Open the file and verify that for <root\_account>: mfa\_active field is set to TRUE.
    

##   

## Using AWS Command Line

Run the following AWS CLI command:

 aws iam get-account-summary | grep "AccountMFAEnabled"

 If MFA is enabled, the output will show:   "AccountMFAEnabled": 1

-   If the output shows "0", MFA is not enabled and must be configured.

## Implementation Steps:

## Using AWS Console 

1.  Log in to AWS as the root user.
    
2.  Open the IAM Console: [AWS IAM Console](https://console.aws.amazon.com/iam/).
    
3.  In the Dashboard, under Security Status, click Activate MFA on your root account.
    

                           ![](https://support.icompaas.com/assets/kb/26c992057a09c320.png)

             ![](https://support.icompaas.com/assets/kb/101fc8975dbe6c26.png)

4.  Click Activate MFA.                      ![](https://support.icompaas.com/assets/kb/2d475011dac3299e.png)                             
    
5.  Choose A Virtual MFA Device or A Hardware MFA Device → Click Next Step.
    
6.  Scan the QR Code using an MFA app (Google Authenticator, Microsoft Authenticator, or AWS Virtual MFA).
    
7.  Enter two consecutive MFA codes from the app.
    

                         ![](https://support.icompaas.com/assets/kb/5770a21766a5b3cb.png)

8.  Click Assign Virtual MFA.
    

                          ![](https://support.icompaas.com/assets/kb/d17c9dc74752413a.png)

## Using AWS Command Line

Run the following command to enable MFA for the root user:

aws iam enable-mfa-device --user-name root --serial-number <mfa-serial> --authentication-code-1 <code1> --authentication-code-2 <code2>

1.  Replace placeholders:
    
    -   <mfa-serial>: The ARN of the MFA device.
        
    -   <code1>, <code2>: Two consecutive codes from the MFA device.
        

-   Verify MFA activation with:

 aws iam get-account-summary | grep "AccountMFAEnabled"

## Backout Plan:

If MFA is misconfigured or the device is lost:

1.  Use AWS account recovery via security questions or contact AWS Support.
    
2.  Login using an MFA backup device (if configured).
    
3.  Disable MFA and reconfigure it with a new device.
    

## References:

-   AWS Root User Management: [AWS Documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user_manage_mfa)
    
-   Enabling Virtual MFA for Root User: [AWS Guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_enable_virtual.html#enable-virt-mfa-for-root)
    

##   

## CIS Controls Mapping:

<table style="border:none;border-collapse:collapse;font-family:&quot;Helvetica Neue&quot;"><colgroup style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"></colgroup><tbody style="font-family:&quot;Helvetica Neue&quot;"><tr style="height:40pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;"><strong>CIS Control Version</strong></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><strong><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control ID</span></span></span></strong></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><strong><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control Description</span></span></span></strong></p></td></tr><tr style="height:25.75pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">CIS v8</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">6.5</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><strong><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Require MFA for all administrative access accounts.</span></span></span></strong></p></td></tr><tr style="height:40pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">CIS v7</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">4.5</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><strong><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Use MFA and encrypted channels for administrative access.</span></span></span></strong></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.
