> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-nat-gateways-are-not-being-utilized-for-the-default-route.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS NAT Gateways are not being utilized for the default route

### Synopsis

| Field               | Value                                                         |
| ------------------- | ------------------------------------------------------------- |
| Rule Type           | Detection                                                     |
| Finding Type        | AWS NAT Gateways are not being utilized for the default route |
| Finding ID          | 60000177                                                      |
| Generates a Finding | This detection rule also generates a finding                  |
| Severity            | Low                                                           |
| Category            | CONFIGURATION                                                 |
| Cloud Providers     | AWS                                                           |
| Platform Module     | CSPM                                                          |
| Asset Types         | EC2\_VPC\_ROUTE\_TABLE                                        |
| ATT\&CK Tactic      | TA0003 (TA0003)                                               |
| ATT\&CK Technique   | T1078.004 (T1078.004)                                         |

### Description

AWS Route Tables configured with NAT instances as the default route present a security risk. Using NAT instances instead of NAT Gateways introduces scalability and resilience challenges, potentially leading to outbound internet connectivity issues during peak loads or failures.

The AWS NAT Gateway service offers a managed, highly available solution for outbound internet traffic from private subnets. Employing NAT instances for the default route lacks the inherent scalability and fault tolerance of NAT Gateways. This misconfiguration can lead to denial-of-service conditions for outbound connections or compromise the availability of applications relying on internet access.

An improperly configured default route using NAT instances can result in application downtime and service disruptions. The lack of high availability and scalability inherent in NAT Gateways increases the risk of outages and impacts business operations. Using NAT Gateways ensures consistent outbound connectivity, improving application reliability.

To mitigate this risk, replace NAT instances used as the default route in all Route Tables with NAT Gateways. Ensure all Route Tables within the VPC utilize NAT Gateways for the default route to guarantee highly available and scalable outbound internet connectivity for private subnets. Regularly review and audit Route Table configurations to maintain this best practice.

### Remediation

**Manual steps:**

EC2 VPC Route Table - Manual remediation steps:

To create a NAT gateway:

1. Sign into the AWS console
2. In the console, select the specific region from region drop down on the top right corner, for which the alert is generated
3. Navigate to VPC Dashboard
4. In the navigation pane, choose 'NAT Gateways'
5. Click on 'Create NAT Gateway', Specify the subnet in which to create the NAT gateway, and select the allocation ID of an Elastic IP address to associate with the NAT gateway. When you're done, Click on 'Create a NAT Gateway'. The NAT gateway displays in the console. After a few moments, its status changes to Available, after which it's ready for you to use.

To update Route Table:

After you've created your NAT gateway, you must update your route tables for your private subnets to point internet traffic to the NAT gateway. We use the most specific route that matches the traffic to determine how to route the traffic.

1. Sign into the AWS console
2. In the console, select the specific region from region drop down on the top right corner, for which the alert is generated
3. Navigate to VPC Dashboard
4. In the navigation pane, choose 'Route Tables'
5. Select the reported route table associated with your private subnet
6. Choose 'Routes' and Click on 'Edit routes'
7. Replace the current route that points to the NAT instance with a route to the NAT gateway
8. Click on 'Save routes'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-nat-gateways-are-not-being-utilized-for-the-default-route.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
