> 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-emr-cluster-is-not-configured-with-cse-cmk-for-data-at-rest-encryption-amazon-s3-with-emrfs.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS EMR cluster is not configured with CSE CMK for data at rest encryption (Amazon S3 with EMRFS)

### Synopsis

| Field               | Value                                                                                             |
| ------------------- | ------------------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                         |
| Finding Type        | AWS EMR cluster is not configured with CSE CMK for data at rest encryption (Amazon S3 with EMRFS) |
| Finding ID          | 60000308                                                                                          |
| Generates a Finding | This detection rule also generates a finding                                                      |
| Severity            | Informational                                                                                     |
| Category            | CONFIGURATION                                                                                     |
| Cloud Providers     | AWS                                                                                               |
| Platform Module     | CSPM                                                                                              |
| Asset Types         | EMR\_CLUSTER                                                                                      |
| ATT\&CK Tactic      | TA0040 (TA0040)                                                                                   |
| ATT\&CK Technique   | T1486 (T1486)                                                                                     |

### Description

Amazon EMR clusters lacking Customer Side Encryption with Customer Master Keys (CSE CMK) for Amazon S3 data at rest via EMRFS are vulnerable to data breaches. This misconfiguration exposes sensitive data stored in S3 buckets accessed by the EMR cluster.

EMRFS, the EMR file system, interacts with S3. Without CSE CMK, data stored in S3 by EMR is encrypted using AWS-managed keys, reducing your control and increasing the risk of unauthorized access if AWS keys are compromised. An attacker gaining access to the S3 bucket could exfiltrate sensitive data processed by the EMR cluster.

Data breaches resulting from this misconfiguration can lead to significant financial losses, regulatory penalties, and reputational damage. Employing CSE CMK ensures that only you possess the keys to decrypt your data, maintaining full control and minimizing the impact of a potential compromise.

Implement CSE CMK for all Amazon S3 buckets used by your EMR clusters. Regularly audit cluster configurations to verify that CSE CMK is properly configured and in use. Ensure that only authorized personnel have access to the CMKs.

### Remediation

**Manual steps:**

EMR Cluster - Manual remediation steps:

1. Log in to 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 'EMR' dashboard from 'Services' dropdown
4. Go to 'Security configurations', click 'Create'
5. On the Create security configuration window,
6. In 'Name' box, provide a name for the new EMR security configuration.
7. For encryption At Rest click the checkbox for 'Enable at-rest encryption for EMRFS data in Amazon S3'.
8. From the dropdown 'Default encryption mode' select 'CSE-Custom'. Follow below link for configuration steps.

   <https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-encryption-enable.html>
9. Click on 'Create' button
10. On the left menu of EMR dashboard Click 'Clusters'
11. Select the EMR cluster for which the alert has been generated and click on the 'Clone' button from the top menu
12. In the Cloning popup, choose 'Yes' and Click 'Clone'.
13. On the Create Cluster page, in the Security Options section, click on 'security configuration'
14. From the 'Security configuration' drop down select the name of the security configuration created at step 4 to step 8, click 'Create Cluster'
15. Once the new cluster is set up, verify it's working and terminate the source cluster to stop incurring charges for it.
16. On the left menu of EMR dashboard Click 'Clusters', from the list of clusters select the source cluster which is alerted
17. Click on the 'Terminate' button from the top menu.
18. On the 'Terminate clusters' pop-up, click 'Terminate'.


---

# 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-emr-cluster-is-not-configured-with-cse-cmk-for-data-at-rest-encryption-amazon-s3-with-emrfs.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.
