> 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/gcp-vm-disks-not-encrypted-with-customer-supplied-encryption-keys-csek.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP VM disks not encrypted with Customer-Supplied Encryption Keys (CSEK)

### Synopsis

| Field               | Value                                                                    |
| ------------------- | ------------------------------------------------------------------------ |
| Rule Type           | Detection                                                                |
| Finding Type        | GCP VM disks not encrypted with Customer-Supplied Encryption Keys (CSEK) |
| Finding ID          | 60000150                                                                 |
| Generates a Finding | This detection rule also generates a finding                             |
| Severity            | Medium                                                                   |
| Category            | CONFIGURATION                                                            |
| Cloud Providers     | GCP                                                                      |
| Platform Module     | CSPM                                                                     |
| Asset Types         | GOOGLE\_COMPUTE\_ENGINE\_DISK                                            |
| ATT\&CK Tactic      | TA0040 (TA0040)                                                          |
| ATT\&CK Technique   | T1486 (T1486)                                                            |

### Description

Compute Engine Virtual Machine disks lacking Customer-Supplied Encryption Keys (CSEKs) represent a significant security risk. Unencrypted disks increase the potential for data breaches if the underlying infrastructure is compromised.

Google Compute Engine allows encryption of Virtual Machine disks using CSEKs, providing stronger data protection than default encryption. Failure to utilize CSEKs leaves sensitive data vulnerable to unauthorized access if Google's key management system is compromised or if an attacker gains access to the Virtual Machine. This exposes confidential information to potential theft or misuse.

The impact of this misconfiguration includes unauthorized access to sensitive data stored on the Virtual Machine disks, leading to data breaches, regulatory non-compliance, and reputational damage. Using CSEKs ensures that even if Google's infrastructure is compromised, data remains protected as decryption requires access to the customer's keys, which are stored securely outside of Google's environment.

To mitigate this risk, encrypt all business-critical Compute Engine Virtual Machine disks with CSEKs. Regularly audit disk encryption settings to ensure compliance and promptly address any unencrypted disks. Implement strong key management practices, including access control and regular key rotation, for CSEKs to further enhance security.

### Remediation

**Manual steps:**

Google Compute Engine Disk - Manual remediation steps:

Currently, we cannot update the encryption of an existing disk. So to fix this alert, Create a new VM disk with Encryption set to Customer supplied, migrate all required data from reported VM disk to newly created disk and delete the reported VM disk.

To create a new CSEK-encrypted disk:

1. Log in to the Google Cloud Console.
2. Open the Navigation menu and navigate to Compute Engine and Go to Disks.
3. Click Create disk from the top menu bar.
4. Fill in the standard disk parameters as you desire.
5. Scroll down to the Encryption section (you may need to expand Advanced options, depending on your console view).
6. Select Customer-supplied encryption key (CSEK).
7. Choose your key format and provide the key in the text box, e.g. a Wrapped key.
8. Click Create.

To delete the reported GCP VM disk:

Ensure the reported disk has been detached from any running virtual machines.

1. In the Google Cloud Console, navigate to Compute Engine and go to Disks.
2. Locate the reported disk in the list and check the box next to its name.
3. Click Delete from the top menu bar.
4. Click Delete again in the confirmation dialog box to permanently remove the disk.


---

# 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/gcp-vm-disks-not-encrypted-with-customer-supplied-encryption-keys-csek.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.
