{"id":19604073,"url":"https://github.com/rhinosecuritylabs/ccat","last_synced_at":"2025-04-05T16:09:09.744Z","repository":{"id":41491994,"uuid":"200438613","full_name":"RhinoSecurityLabs/ccat","owner":"RhinoSecurityLabs","description":"Cloud Container Attack Tool (CCAT) is a tool for testing security of container environments.","archived":false,"fork":false,"pushed_at":"2019-11-21T08:55:31.000Z","size":22696,"stargazers_count":572,"open_issues_count":2,"forks_count":100,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-05-08T00:17:27.378Z","etag":null,"topics":["amazon","aws","ccat","cloud","cybersecurity","docker","ecr","eks","gce","gcp","gke","google","k8s","kubernetes","pentest","pentesting","rhino","rhinosecuritylabs"],"latest_commit_sha":null,"homepage":"https://rhinosecuritylabs.com/aws/cloud-container-attack-tool/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RhinoSecurityLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-04T01:57:24.000Z","updated_at":"2024-05-06T19:54:43.000Z","dependencies_parsed_at":"2022-08-10T02:34:58.089Z","dependency_job_id":null,"html_url":"https://github.com/RhinoSecurityLabs/ccat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RhinoSecurityLabs%2Fccat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RhinoSecurityLabs%2Fccat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RhinoSecurityLabs%2Fccat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RhinoSecurityLabs%2Fccat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RhinoSecurityLabs","download_url":"https://codeload.github.com/RhinoSecurityLabs/ccat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361691,"owners_count":20926643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon","aws","ccat","cloud","cybersecurity","docker","ecr","eks","gce","gcp","gke","google","k8s","kubernetes","pentest","pentesting","rhino","rhinosecuritylabs"],"created_at":"2024-11-11T09:34:33.691Z","updated_at":"2025-04-05T16:09:09.706Z","avatar_url":"https://github.com/RhinoSecurityLabs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud Container Attack Tool (CCAT :cloud::cat2:) \n[![Rhino](https://img.shields.io/badge/rhino-offensive%20%7C%20tool-red?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAAxCAQAAAA7SZLuAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAHdElNRQfjCAkMIR33/0eZAAAGdUlEQVRYw+XXa5DWZRkG8GuXBVyE5bSAIowgHtY0E0wzMzE1ZyQVzTIdNTXLQ05OnlKTodDQxulgM5HpWAMxGurIIJhnUhI0DyAlphECogIZCAvL7rLL7q8P+y7uuu/CwuSn7vfb+3+e57qv+7kP15N8wib6GiBJUrr9r4hPBm//XJ6yNmeLHqoM6BrgrrgmxlrpC6KVWZKGlOaGnJeKnR0j6Z/T07PLzCqzby5og1TwdrQXPeVk3Y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ylabs.com) [![PyPI](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7-blue.svg)](https://github.com/RhinoSecurityLabs/ccat) [![GitHub license](https://img.shields.io/badge/license-BSD-brightgreen.svg)](https://github.com/RhinoSecurityLabs/ccat/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/RhinoSecurityLabs/ccat/pulls)\n\n_Cloud Container Attack Tool (CCAT) is a tool for testing security of container environments._\n\n\u003cimg src=\"https://raw.githubusercontent.com/RhinoSecurityLabs/ccat/master/docs/images/ccat_new_main_menu.png\" width=\"1000\"/\u003e\n\n## Quick reference\n- **Where to get help**:\n[the Pacu/CloudGoat/CCAT Community Slack](https://join.slack.com/t/pacu-cloudgoat/shared_invite/enQtNDE3OTk0MjA3NTA2LTRmOTVmZjEyYjIzOTYxMGJmZDc4ZDVkOGU3ZmJlOWZhNzdkYWQ2ZmQxNTFjZThjMmJlMDFmMTU4NzUwMDM2NmY), or [Stack Overflow](https://stackoverflow.com/search?tab=newest\u0026q=ccat)\n\n- **Where to file issues**:\n[https://github.com/RhinoSecurityLabs/ccat/issues](https://github.com/RhinoSecurityLabs/ccat/issues)\n\n- **Maintained by**:\n[the Rhino Assessment Team](https://github.com/RhinoSecurityLabs/ccat)\n\n## Requirements\n* Python 3.5+ is required.\n* Docker is required. Note: CCAT is tested with Docker Engine 19.03.1 version.\n* Named profile is required for using AWS functionality.\n* A service account or access token is required for using GCP functionality.\n\n## Installation\n\u003e We recommend using the provided Docker image to run CCAT, so that you will not face any difficulty with the required dependencies on your own system.\n\nInstall CCAT from source\n\n```\n  $ git clone https://github.com/RhinoSecurityLabs/ccat.git\n  $ cd ccat\n  $ python3 setup.py install\n  $ python3 ccat.py\n```\n\nUse CCAT's Docker Image\n\u003e Warning: Running this command will mount your local AWS configuration files into the Docker container when it is launched. This means that any user with access to the container will have access to your host computer's AWS credentials.\n\n\u003e Warning: Running this command will mount your local Unix socket that Docker daemon listens on by default into the Docker container when it is launched. This means that users with access to the container will have access to your Docker daemon, meaning they could escape to your host computer with ease.\n```\n  $ docker run -it -v ~/.aws:/root/.aws/ -v /var/run/docker.sock:/var/run/docker.sock -v ${PWD}:/app/ rhinosecuritylabs/ccat:latest\n```\n\n## Getting Started\n\n### Example Usage\n\nBelow is an example scenario to demonstrate the usage of CCAT.\n\nStarting with compromised AWS credentials, the attacker enumerates and explores ECR repositories. Then, the attacker found that they use NGINX Docker image and pulled that Docker image from ECR. Furthermore, the attacker creates a reverse shell backdoor into the target Docker image. Finally, the attacker pushes the backdoored Docker image to ECR.\n\n### Exploitation Route:\n\u003cimg src=\"https://raw.githubusercontent.com/RhinoSecurityLabs/ccat/master/docs/images/ccat_scenario_diagram.png\" width=\"1000\"/\u003e\n\n* ### VIDEO Exploitation Route Walkthrough with CCAT:\n  \u003ca href=\"https://youtu.be/12zEXfCxIrk\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/RhinoSecurityLabs/ccat/master/docs/images/youtube_video_img.png\" width=\"1000\"/\u003e\u003c/a\u003e\n\n* ### Exploitation Route Walkthrough with CCAT:\n  [Visit Step by Step Scenario Page.](/docs/SCENARIO_README.md)\n\n## Roadmap\n* Container Escape Features\n* Amazon ECS Attack Features\n* Amazon EKS Attack Features\n* Azure Container Related Attack Features\n* GCP Container Related Attack Features\n* OpenShift Container Related Attack Features\n* IBM Cloud Container Related Attack Features\n* Alibaba Cloud Container Related Attack Features\n\n## Disclaimer\n* CCAT is tool that comes with absolutely no warranties whatsoever. By using CCAT, you take full responsibility for any and all outcomes that result.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhinosecuritylabs%2Fccat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhinosecuritylabs%2Fccat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhinosecuritylabs%2Fccat/lists"}