> 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-container-registry-with-local-admin-account-enabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Container Registry with local admin account enabled

### Synopsis

| Field               | Value                                                     |
| ------------------- | --------------------------------------------------------- |
| Rule Type           | Detection                                                 |
| Finding Type        | Azure Container Registry with local admin account enabled |
| Finding ID          | 60001522                                                  |
| Generates a Finding | This detection rule also generates a finding              |
| Severity            | Informational                                             |
| Category            | CONFIGURATION                                             |
| Cloud Providers     | AZURE                                                     |
| Platform Module     | CSPM                                                      |
| Asset Types         | CONTAINER\_REGISTRY                                       |
| ATT\&CK Tactic      | TA0112 (TA0112)                                           |
| ATT\&CK Technique   | T1685 (T1685)                                             |

### Description

Azure Container Registries configured with an enabled local admin account pose a significant security misconfiguration, bypassing centralized identity management and increasing the risk of unauthorized access.

An Azure Container Registry with its local admin account enabled allows direct access using a static username and password, bypassing the robust security controls of Microsoft Entra ID. This misconfiguration introduces a single point of failure where compromised credentials can grant an attacker full control over container image management. Attackers could exploit this by brute-forcing simple passwords or using leaked credentials to push malicious images, leading to supply chain attacks or exfiltrating proprietary data.

The impact of this misconfiguration can range from unauthorized access and data breaches to the deployment of compromised container images into production environments. Disabling the local admin account is a fundamental security best practice, ensuring all authentication flows through Microsoft Entra ID. This centralizes identity management, enables granular access control through RBAC, and facilitates comprehensive auditing, significantly reducing the attack surface.

To mitigate this risk, it is essential to disable the local admin account for all Azure Container Registries. Enforce authentication exclusively through Microsoft Entra ID, leveraging its advanced security features like multi-factor authentication and conditional access. Implement least privilege principles by assigning specific roles to users and service principals, ensuring only necessary permissions are granted for registry operations.

### Remediation

**Manual steps:**

Container Registry - Manual remediation steps:

1. Log in to your Azure portal
2. Navigate to 'Container registries'
3. Select the reported Container Registry
4. Under 'Settings' select 'Access Keys'
5. Ensure that the 'Admin user' box is unchecked


---

# 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-container-registry-with-local-admin-account-enabled.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.
