Executive Summary
Research into Azure Container Security highlights critical post-exploitation paths within Azure Container Registries (ACR) and Container Instances (ACI). Attackers with sufficient RBAC permissions, such as Contributor or AcrPush, can compromise the integrity of containerized environments by enabling admin keys, overwriting legitimate image tags, and modifying automated ACR Tasks to execute unauthorized commands.
The attack chain typically involves identifying misconfigured registries, extracting credentials, and injecting malicious logic into Dockerfiles or YAML task definitions. A significant risk involves the abuse of Managed Identities assigned to container services, which can be leveraged to query the Instance Metadata Service (IMDS) for tokens and subsequently exfiltrate secrets from Azure Key Vaults.
This matters to organizations because standard container security often overlooks the identity plane. Compromising a single container image or task can lead to lateral movement within the cloud environment and the unauthorized extraction of sensitive credentials without requiring persistent network connections.
