EN
ENNA

Deepce

Apache-2.0

๐Ÿ“ฆ Container Security ยท Shell

Deepce (Docker Enumeration, Escalation of Privileges, and Container Escapes) is a tool designed to help identify vulnerable Docker installations and find potential container escape routes. Written as a portable shell script with no dependencies, it runs inside Docker containers to assess the security posture from the inside out. Deepce checks for dangerous capabilities (SYS_ADMIN, SYS_PTRACE, DAC_READ_SEARCH), mounted Docker sockets, writable host mounts, misconfigured namespaces, and known kernel vulnerabilities that enable container escapes. It also fingerprints the container environment, identifies the container runtime (Docker, Podman, LXC), checks network configuration, and enumerates neighboring containers. Its zero-dependency design makes it ideal for quick assessments during penetration tests where you land inside a container and need to assess your options.

1.5kstars
119forks
8issues
Updated 3mo ago

Installation

Quick run

$ curl -sL https://github.com/stealthcopter/deepce/raw/main/deepce.sh | sh

from source

$ git clone https://github.com/stealthcopter/deepce.git && chmod +x deepce/deepce.sh

Use Cases

  • Enumerating the container environment after gaining initial access
  • Checking for dangerous Linux capabilities that enable container escape
  • Detecting mounted Docker sockets and writable host filesystem mounts
  • Identifying neighboring containers and network topology from within a container
  • Quick zero-dependency security assessment of Docker container configurations

Tags

dockerenumerationprivilege-escalationcontainer-escapeshell-scriptdeepcedocker-enumerationexploitsprivilege-escalation-exploits

More in Container Security