> 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-storage-account-containing-vhd-os-disk-is-not-encrypted-with-cmk.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Storage account containing VHD OS disk is not encrypted with CMK

### Synopsis

| Field               | Value                                                                  |
| ------------------- | ---------------------------------------------------------------------- |
| Rule Type           | Detection                                                              |
| Finding Type        | Azure Storage account containing VHD OS disk is not encrypted with CMK |
| Finding ID          | 60000560                                                               |
| Generates a Finding | This detection rule also generates a finding                           |
| Severity            | Medium                                                                 |
| Category            | CONFIGURATION                                                          |
| Cloud Providers     | AZURE                                                                  |
| Platform Module     | CSPM                                                                   |
| Asset Types         | AZURE\_STORAGE\_ACCOUNT                                                |
| ATT\&CK Tactic      | TA0040 (TA0040)                                                        |
| ATT\&CK Technique   | T1486 (T1486)                                                          |

### Description

Azure Virtual Machines using OS disks stored in unencrypted Azure Storage accounts represent a significant security risk. Unencrypted storage leaves sensitive Virtual Machine data vulnerable to unauthorized access and data breaches if the storage account is compromised.

Azure Storage accounts offer encryption using Microsoft-managed keys or Customer-Managed Keys (CMK). Using Microsoft-managed keys provides basic encryption, but Customer-Managed Keys offer enhanced control and compliance benefits. Failure to encrypt OS disks with CMK leaves them susceptible to data exfiltration, potentially leading to significant operational disruption, data loss, and regulatory fines.

The impact of this misconfiguration includes potential unauthorized access to sensitive data residing on the Virtual Machine's OS disk. Using CMK provides stronger control over encryption keys, reducing the risk of data breaches and improving compliance posture. Centralized key management improves auditability and reduces the attack surface.

To mitigate this, ensure all Azure Storage accounts containing Virtual Machine OS disks are encrypted with Customer-Managed Keys. Regularly audit storage account encryption settings and implement robust key management practices, including access control restrictions on the 'get' and 'delete' permissions for the CMK.

### Remediation

**Manual steps:**

Azure Storage Account - Manual remediation steps:

1. Log in to Azure Portal
2. Go to Storage accounts dashboard and Click on the reported storage account
3. Under the Settings menu, click on Encryption
4. Select Customer Managed Keys

   Choose 'Enter key URI' and Enter 'Key URI'

   OR

   Choose 'Select from Key Vault', Enter 'Key Vault' and 'Encryption Key'
5. Click on 'Save'


---

# 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-storage-account-containing-vhd-os-disk-is-not-encrypted-with-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.
