offensive-techniques/container-technique/SKILL.md
Container methodology: Identifying containerization limits, Docker/K8s misconfigurations, and executing escapes to the host node.
npx skillsauth add aeondave/malskill container-techniqueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Goal: Exploit container environments (Docker, Kubernetes, LXC) to achieve host-level code execution, horizontal pod movement, or cluster takeover.
.dockerenv, kubepods in cgroups, or specific mount patterns.Determine the isolation boundaries.
ls -la /.dockerenv ; cat /proc/1/cgroupcapsh --print (look for CAP_SYS_ADMIN, CAP_SYS_MODULE, CAP_SYS_PTRACE).kube-dns or metadata endpoints (e.g. 169.254.169.254 or GCP/Azure equivalents).ls -la /var/run/docker.sock. If writable, attach the host root filesystem to a new container.fdisk -l lists host drives or capsh shows CAP_SYS_ADMIN, mount the host filesystem (e.g., mount /dev/sda1 /mnt) or load a malicious kernel module.CAP_SYS_ADMIN is present, leverage the release_agent feature to spawn host processes./var/run/secrets/kubernetes.io/serviceaccount/.curl -skH "Authorization: Bearer $TOKEN" https://$KUBERNETES_SERVICE_HOST/api/v1/namespaces/default/pods/10250 (kubelet), 10255 (kubelet readonly), or 2379 (etcd) are exposed internally without authentication.cat /etc/shadow from the host mount) rather than deploying destructive backdoors.--privileged or CAP_SYS_ADMIN.development
White-box auditing methodology for AI-generated ('vibe-coded') applications. Focuses on modern stack misconfigurations (Supabase, Next.js, Vercel).
development
Hybrid AI/Deterministic SAST methodology for discovering zero-day vulnerabilities in source code. Orchestrates structural search with AI-driven data flow and sink validation.
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.
development
CI/CD supply chain methodology: identifying poisoned pipelines, unsafe GitHub Actions, and extracting build secrets.