Skip to main content

More Info:

AWS Route 53 Auto Renew feature should be enabled to automatically renew your domain names as the expiration date approaches.

Risk Level

High

Address

Reliability, Security

Compliance Standards

  • APRA CPS 234 (Australia)
  • BSI C5 (Germany)
  • Brazil LGPD
  • CCPA / CPRA (California)
  • CIS Critical Security Controls v8
  • CMMC 2.0
  • CSA Cloud Controls Matrix v4
  • Cloudanix Best Practice
  • DPDPA
  • Digital Operational Resilience Act (EU)
  • ISO/IEC 27017
  • ISO/IEC 27018
  • ISO/IEC 27701
  • KSA PDPL
  • MAS Technology Risk Management (Singapore)
  • MITRE ATT&CK (Cloud)
  • NIST SP 800-171
  • NYDFS 23 NYCRR 500
  • Sarbanes-Oxley IT General Controls
  • UK NCSC Cyber Assessment Framework

Triage and Remediation

Remediation

Using Console

Sure, here are the step by step instructions to remediate the “AWS Route 53 Auto Renew Should Be Enabled” misconfiguration:
  1. Log in to your AWS console.
  2. Navigate to the Route 53 service.
  3. Click on the “Hosted zones” option from the left-hand menu.
  4. Select the hosted zone for which you want to enable auto-renew.
  5. Click on the “Edit” button on the top right corner of the page.
  6. In the “Edit Hosted Zone” page, scroll down to the “Set Record Set TTL” section.
  7. Check the box next to “Auto-Renew” to enable it.
  8. Click on the “Save Changes” button to apply the changes.
Once you have completed these steps, AWS Route 53 auto-renew will be enabled for the selected hosted zone, and the misconfiguration will be remediated.

To remediate the misconfiguration of AWS Route 53 Auto Renew not being enabled, you can follow these steps using AWS CLI:
  1. Open the AWS CLI on your local machine or EC2 instance.
  2. Run the following command to enable the automatic renewal of Route 53 hosted zones:
Note: Replace <hosted-zone-id> with the ID of the hosted zone for which you want to enable auto-renewal.
  1. Verify that the auto-renewal is enabled by running the following command:
Note: Replace <hosted-zone-id> with the ID of the hosted zone for which you enabled auto-renewal.
  1. In the output, look for the AutoRenew parameter. If it is set to true, then auto-renewal is enabled for the hosted zone.
That’s it! You have successfully remediated the misconfiguration of AWS Route 53 Auto Renew not being enabled using AWS CLI.
To remediate the misconfiguration “AWS Route 53 Auto Renew Should Be Enabled” using Python, you can follow the below steps:Step 1: Import the necessary libraries and set up the AWS credentials using the boto3 library.
Step 2: Get the list of hosted zones using the list_hosted_zones method.
Step 3: For each hosted zone, check if the AutoRenew flag is set to true. If not, update the hosted zone using the update_hosted_zone_comment method.
Step 4: Verify that the AutoRenew flag is set to true for all hosted zones.
With the above steps, you should be able to remediate the “AWS Route 53 Auto Renew Should Be Enabled” misconfiguration using Python.
Changing auto_renew from false to true is an in-place update and does not force replacement of the domain.Verification: terraform plan should show auto_renew changing from false (or null) to true on aws_route53domains_registered_domain.this.

Additional Reading: