> 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/potential-data-exfiltration-risk-due-to-abuse-of-sas-keys-on-azure-storage-account-58fb53cb.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Potential data exfiltration risk due to abuse of SAS keys on... (Azure Storage Account) (58fb53cb)

### Synopsis

| Field               | Value                                                                                                                                                                                                 |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rule Name           | Potential data exfiltration risk due to abuse of SAS keys on a publicly exposed Azure Storage account configured with Shared key authorization and contains sensitive machine learning workspace data |
| Rule Type           | Detection                                                                                                                                                                                             |
| Finding Type        | Potential data exfiltration risk due to abuse of SAS keys on a publicly exposed Azure Storage account configured with Shared key authorization and contains sensitive machine learning workspace data |
| Finding ID          | 60001382                                                                                                                                                                                              |
| Generates a Finding | This detection rule also generates a finding                                                                                                                                                          |
| Severity            | High                                                                                                                                                                                                  |
| Category            | POSTURE                                                                                                                                                                                               |
| Cloud Providers     | AZURE                                                                                                                                                                                                 |
| Platform Module     | CSPM                                                                                                                                                                                                  |
| Asset Types         | AZURE\_STORAGE\_ACCOUNT                                                                                                                                                                               |

### Description

Improperly configured Azure Storage accounts with public access and shared key authorization risk data exfiltration of sensitive machine learning workspace data.

Attackers could exploit publicly accessible SAS keys to gain unauthorized access to the storage account. This allows them to download or modify sensitive data, leading to data breaches, intellectual property theft, and reputational damage. The risk increases significantly when the storage account contains sensitive machine learning model data or training datasets.

Mitigate this risk by immediately disabling public access to the storage account. Transition to more secure authentication methods like Azure Active Directory (Azure AD) or managed identities. Implement role-based access control to grant least privilege access to necessary resources only.

Restrict access to more granular permissions. Regularly review and revoke unnecessary SAS keys. Implement monitoring to detect unusual access patterns to the storage account.

### Remediation

```
[PUBLIC_ACCESS]
```

1. Log in to the Azure portal
2. Navigate to 'Storage Accounts' dashboard
3. Select the reported storage account
4. Under 'Data storage' section, Select 'Containers'
5. Select the blob container you need to modify
6. Click on 'Change access level'
7. Set 'Public access level' to 'Private (no anonymous access)'
8. Click on 'OK'

   ```
   [MISCONFIGURATION]
   ```

To prevent Shared Key authorization for an Azure Storage account, follow bellow URL:

<https://learn.microsoft.com/en-us/azure/storage/common/shared-key-authorization-prevent>

```
[DATA_EXPOSURE]
```

1. Make sure the resource is not exposed to public.
2. Delete or move the sensitive data if it is mistakenly placed.


---

# 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/potential-data-exfiltration-risk-due-to-abuse-of-sas-keys-on-azure-storage-account-58fb53cb.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.
