> 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/azure-disk-is-unattached-and-is-encrypted-with-the-default-encryption-key-instead-of-ade-cmk.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure disk is unattached and is encrypted with the default encryption key instead of ADE/CMK

### Synopsis

| Field               | Value                                                                                        |
| ------------------- | -------------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                    |
| Finding Type        | Azure disk is unattached and is encrypted with the default encryption key instead of ADE/CMK |
| Finding ID          | 60000369                                                                                     |
| Generates a Finding | This detection rule also generates a finding                                                 |
| Severity            | Medium                                                                                       |
| Category            | CONFIGURATION                                                                                |
| Cloud Providers     | AZURE                                                                                        |
| Platform Module     | CSPM                                                                                         |
| Asset Types         | AZURE\_DISK                                                                                  |
| ATT\&CK Tactic      | TA0040 (TA0040)                                                                              |
| ATT\&CK Technique   | T1486 (T1486)                                                                                |

### Description

Unattached Azure disks encrypted with default keys present a significant security risk. These disks, while encrypted, utilize platform-managed keys, offering less control and potentially hindering compliance requirements.

Azure's default Server-Side Encryption (SSE) with platform-managed keys protects data at rest. However, relying solely on this method leaves encryption keys under Microsoft's control. Attackers gaining unauthorized access to Microsoft's infrastructure could potentially compromise these keys, decrypting sensitive data on unattached disks. Unattached disks are particularly vulnerable as they are not actively monitored within a running Virtual Machine's security context.

The impact of this misconfiguration is the potential exposure of sensitive data stored on the unattached disks. Using Azure Disk Encryption (ADE) or Customer Managed Keys (CMK) provides stronger security posture by giving you direct control over encryption keys. This reduces the attack surface and ensures compliance with data protection regulations.

To mitigate this, enforce the use of either 'SSE with PMK+ADE' or 'SSE with CMK' for all Azure disks. Regularly scan for unattached disks and ensure they adhere to the defined encryption policy. Implement robust key management practices and adhere to least privilege principles to minimize the impact of potential compromises.

### Remediation

**Manual steps:**

Azure Disk - Manual remediation steps:

If data stored in the disk is no longer useful, refer to Azure documentation to delete unattached data disks at:

API: <https://docs.microsoft.com/en-us/rest/api/compute/disks/delete>

CLI: <https://docs.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest#az-disk-delete>

If data stored in the disk is important, To enable SSE with Azure Disk Encryption \[SSE with PMK+ADE] disk needs to be attached to VM.

Follow <https://docs.microsoft.com/en-us/azure/security/azure-security-disk-encryption-prerequisites> based VM the data disk is assigned. Once encryption is done, Un-attach the disk form the VM using azure portal / CLI.

To enable SSE with Customer Managed Key \[SSE with CMK],

Follow <https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-customer-managed-keys-portal?toc=/azure/virtual-machines/linux/toc.json\\&bc=/azure/virtual-machines/linux/breadcrumb/toc.json#enable-on-an-existing-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/azure-disk-is-unattached-and-is-encrypted-with-the-default-encryption-key-instead-of-ade-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.
