Pandora's Container Part 1 Unpacking Azure Container Securit...#322
Open
carlospolop wants to merge 1 commit into
Open
Pandora's Container Part 1 Unpacking Azure Container Securit...#322carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://trustedsec.com/blog/pandoras-container-part-1-unpacking-azure-container-security Content Categories: Based on the analysis, this content was categorized under "Pentesting Cloud > Azure Pentesting > Az - Services > Az - Container Registry, with related attack paths referenced from Az - Container Registry Privesc and a new or expanded Az - Container Registry Post Exploitation section". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview
This post demonstrates several Azure Container Registry (ACR) attack paths available after compromising an Azure identity with excessive management-plane or registry data-plane permissions. The techniques abuse legitimate Azure functionality rather than a CVE: enabling and retrieving shared ACR administrator credentials, authenticating through Docker, pulling and dissecting proprietary images for secrets, pushing or replacing images, and modifying ACR Tasks so commands execut...
🔧 Technical Details
ACR administrator credential abuse: When an Azure principal has registry write and credential-listing permissions, check
adminUserEnabled, enable the shared administrator account withaz acr update ... --admin-enabled true, retrieve its credentials, and authenticate to<registry>.azurecr.iowith Docker. This converts Azure control-plane access into reusable registry credentials that can support repository reconnaissance, proprietary image theft, malicious pushes, tag replacement, and destructive deletion.Container supply-chain hijacking through mutable tags: Registry push access permits an attacker to tag a malicious local image with the exact repository and tag consumed by a deployment and upload it using
docker tagfollowed bydocker push. If the workload trusts a mutable tag such aslatest, a deployment, update, or restart may retrieve and execute the attac...🤖 Agent Actions
Done.
Updated:
src/pentesting-cloud/azure-security/az-post-exploitation/az-container-registry-post-exploitation.mdsrc/pentesting-cloud/azure-security/az-post-exploitation/README.mdsrc/pentesting-cloud/azure-security/az-services/az-container-registry.mdsrc/SUMMARY.mdAdded concise ACR post-exploitation coverage for:
Validation:
mdbook buildcould not be run becausemdbookis not installed in this environmentThis PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.
📚 Repository Maintenance
All .md files have been checked for proper formatting (headers, includes, etc.).