← 返回列表

Abusing Elastic Container Registry for Lateral Movement

单站 Hacking The Cloud 发布 Thu, 13 Oct 2022 01:37:41 +0000 入库 2026-11-18T05:01:01

Article by Roi Lavie

Abusing Elastic Container Registry for Lateral Movement

IAM (Identity and Access Management) is a set of consents that attach to identities, or cloud resources, to authorize what they can actually do. This means EC2 resources, and others like it, also have identities that can change the infrastructure itself. 43.9% of organizations have internet-facing workloads containing secrets and credentials, as a result, identity and access management (IAM) has become more critical than ever.

Inbound SG

This post is designed to show the impact of this attack technique and help security engineers and DevOps/SecOps to detect and understand the risks of ECR and other Container registries.

Lateral Movement through AWS ECR In the following video, I will show how by using ECR permissions you can easily distribute a backdoor to production servers, developer's laptops, or CI/CD pipelines and own the environment by gaining privileged permissions.

Video Summary:

Security Recommendations:

Conclusions: One of the main reasons I wrote this post is to share knowledge about the importance of container registry access, especially around ECR. Although this issue poses a high risk, it is not given the required attention it deserves. More awareness is needed around the potential damage that over-privileged services can introduce.

原文链接:https://hackingthe.cloud/aws/exploitation/abusing-container-registry/