container-escapes

Official

Break out of containers and exploit Kubernetes.

Authorblacklanternsecurity
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps penetration testers escape from containerized environments like Docker and Kubernetes pods, or exploit misconfigurations in these systems to gain broader access.

Core Features & Use Cases

  • Container Detection: Identifies if you are inside a container and its type.
  • Escape Techniques: Provides methods to break out of Docker, privileged containers, and Kubernetes pods using various vulnerabilities and misconfigurations.
  • Kubernetes Exploitation: Leverages service account tokens, Kubelet APIs, and etcd access to escalate privileges within a cluster.
  • Use Case: You've gained shell access to a Docker container running a web application. Use this Skill to escape the container and gain root access to the underlying host machine.

Quick Start

Use the container-escapes skill to attempt to break out of the current container environment.

Dependency Matrix

Required Modules

kubectlcrictlctrCDKdeepceamicontainedlinpeascurlnsenter

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: container-escapes
Download link: https://github.com/blacklanternsecurity/red-run/archive/main.zip#container-escapes

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.