githubEdit

Enumeration

Enumeration

ECR

1) Listing all repositories in container registry

aws ecr describe-repositories

2) Listing information about repository policy

aws ecr get-repository-policy --repository-name NAME 

3) Listing all images in a specific repository

aws ecr list-images --repository-name NAME 

4) Listing information about an image

aws ecr describe-images --repository-name NAME --images-ids imageTag=NAME 

ECS

1) Listing all ECS clusters

aws ecs list-clusters 

2) Listing information about an specific cluster

aws ecs describe-clusters --cluster NAME 

3) Listing all services in specified cluster

4) Listing information about a specific service (This command shows the logs of the service)

5) Listing tasks in specific cluster

6) Listing information about a specific task

TIP: Also shows information about network, useful if trying to pivot.

7) Listing all containers in specified cluster

EKS

1) Listing all EKS clusters

2) Listing information about a specific cluster

3) Listing all node groups in specified cluster

4) Listing specific information about a node group in a cluster

5) Listing Fargate in specified cluster

6) Listing information about a fargate profile in a cluster

Last updated