> 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-rds-db-cluster-is-encrypted-using-default-kms-key-instead-of-cmk.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS RDS DB cluster is encrypted using default KMS key instead of CMK

### Synopsis

| Field               | Value                                                                |
| ------------------- | -------------------------------------------------------------------- |
| Rule Type           | Detection                                                            |
| Finding Type        | AWS RDS DB cluster is encrypted using default KMS key instead of CMK |
| Finding ID          | 60000384                                                             |
| Generates a Finding | This detection rule also generates a finding                         |
| Severity            | Medium                                                               |
| Category            | CONFIGURATION                                                        |
| Cloud Providers     | AWS                                                                  |
| Platform Module     | CSPM                                                                 |
| Asset Types         | RDS\_DATABASE\_CLUSTER                                               |
| ATT\&CK Tactic      | TA0040 (TA0040)                                                      |
| ATT\&CK Technique   | T1486 (T1486)                                                        |

### Description

AWS RDS DB clusters encrypted with the default KMS key instead of a customer-managed key (CMK) represent a significant security misconfiguration. Using the default KMS key limits control over encryption key management.

AWS RDS utilizes KMS for encryption at rest. Relying on the default KMS key prevents granular control over key rotation, deletion, and access management. Attackers gaining access to the default key could decrypt sensitive data within the RDS cluster.

This misconfiguration exposes sensitive data stored in the RDS DB cluster to unauthorized access and compromise. Using a CMK provides enhanced security by enabling independent key lifecycle management, minimizing the blast radius of a potential compromise, and adhering to security best practices.

To mitigate this risk, explicitly encrypt all new and existing RDS DB clusters with a CMK. Regularly rotate the CMK, enforce strong access controls through IAM policies restricting access to only authorized users and services, and establish a robust key lifecycle management policy.

### Remediation

**Manual steps:**

RDS Database Cluster - Manual remediation steps:

RDS DB clusters can be encrypted only while creating the database cluster. You can't convert an unencrypted DB cluster to an encrypted one. However, you can restore an unencrypted Aurora DB cluster snapshot to an encrypted Aurora DB cluster. For this, specify a KMS encryption key when you restore from the unencrypted DB cluster snapshot.

Step 1: To create a 'Snapshot' of the unencrypted DB cluster,

<https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER\\_CreateSnapshotCluster.html>

NOTE: As you can't restore from a DB cluster snapshot to an existing DB cluster; a new DB cluster is created when you restore. Once the Snapshot status is 'Available'.

Step 2: Follow the below link to restoring the Cluster from a DB Cluster Snapshot,

<https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER\\_RestoreFromSnapshot.html>

Once the DB cluster is restored and verified, follow below steps to delete the reported DB cluster,

1. Log in to the AWS Management 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 'RDS' dashboard from 'Services' dropdown
4. In the navigation pane, choose 'Databases'
5. In the list of DB instances, choose a writer instance for the DB cluster
6. Choose 'Actions', and then choose 'Delete'

FMI:

1. While deleting a RDS DB cluster, customer has to disable 'Enable deletion protection' otherwise instance cannot be deleted
2. While deleting RDS DB instance , AWS application will ask the end user to take Final snapshot
3. If a RDS DB cluster has a writer role instance, then User has to delete the write instance to delete the main cluster (Delete option won't be enabled for main RDS DB cluster)


---

# 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-rds-db-cluster-is-encrypted-using-default-kms-key-instead-of-cmk.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.
