> 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-elastic-file-system-efs-with-encryption-for-data-at-rest-is-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Elastic File System (EFS) with encryption for data at rest is disabled

### Synopsis

| Field               | Value                                                                      |
| ------------------- | -------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                  |
| Finding Type        | AWS Elastic File System (EFS) with encryption for data at rest is disabled |
| Finding ID          | 60000171                                                                   |
| Generates a Finding | This detection rule also generates a finding                               |
| Severity            | Low                                                                        |
| Category            | CONFIGURATION                                                              |
| Cloud Providers     | AWS                                                                        |
| Platform Module     | CSPM                                                                       |
| Asset Types         | EFS\_MOUNT\_TARGET                                                         |
| ATT\&CK Tactic      | TA0040 (TA0040)                                                            |
| ATT\&CK Technique   | T1486 (T1486)                                                              |

### Description

AWS Elastic File System (EFS) instances lacking encryption at rest present a significant security risk. Sensitive data stored within these file systems is vulnerable to unauthorized access if the system is compromised.

EFS offers server-side encryption using AWS-managed keys ('aws:kms') or customer-managed keys ('customer:kms'). Disabling this feature exposes data to potential breaches, data exfiltration, and non-compliance issues. Attackers gaining unauthorized access could steal sensitive information or disrupt operations.

The impact of this misconfiguration is severe, potentially leading to data breaches, regulatory fines, and reputational damage. Encrypting data at rest ensures that even if an attacker compromises the EFS instance, the data remains unreadable without the appropriate decryption keys. This is a critical security best practice for protecting sensitive data.

To mitigate this, ensure that all EFS instances are configured with server-side encryption. Choose either AWS-managed keys or customer-managed keys based on your organization's key management strategy. Regularly audit your EFS configurations to ensure encryption remains enabled and correctly configured.

### Remediation

**Manual steps:**

EFS Mount Target - Manual remediation steps:

AWS EFS Encryption of data at rest can only be enabled during file system creation. So to resolve this alert, create a new EFS with encryption enabled, then migrate all required file data from the reported EFS to this newly created EFS and delete reported EFS.

To create a new EFS with encryption enabled, perform the following:

1. Sign in to the AWS console
2. In the console, select the specific region from the region drop-down on the top right corner, for which the alert is generated
3. Navigate to the EFS dashboard
4. Click on 'File systems' (Left Panel)
5. Click on the 'Create file system' button
6. On the 'Create file system' pop-up window,
7. Click on 'Customize' button to replicate the configurations of alerted file system as required
8. Ensure 'Enable encryption of data at rest' is selected
9. On the 'Review and create' step, Review all your setting and click on the 'Create' button

To delete reported EFS which does not has encryption, perform the following:

1. Sign in to the AWS console
2. In the console, select the specific region from the region drop-down on the top right corner, for which the alert is generated
3. Navigate to the EFS dashboard
4. Click on 'File systems' (Left Panel)
5. Select the reported file system
6. Click on 'Delete' button
7. In the 'Delete file system' popup box, To confirm the deletion enter the file system's ID and Click on 'Confirm'


---

# 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-elastic-file-system-efs-with-encryption-for-data-at-rest-is-disabled.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.
