container-forensics

Audit Docker, Kubernetes, and containerd environments for security issues.

175|26|Updated Aug 14, 2025
One-click install
npx skills add https://github.com/jmagly/aiwg --skill container-forensics-jmagly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: container-forensics
Source: https://github.com/jmagly/aiwg/tree/main/agentic/code/frameworks/forensics-complete/skills/container-forensics
Command: npx skills add https://github.com/jmagly/aiwg --skill container-forensics-jmagly

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the unique security challenges of containerized environments, providing a systematic approach to investigate potential compromises, misconfigurations, or container escapes that traditional host-based forensics might miss.

Core Features & Use Cases

  • Environment Detection: Automatically identifies Docker, Kubernetes, containerd, or CRI-O setups.
  • Comprehensive Auditing: Covers container inventory, privilege escalation checks, image integrity, layer analysis, escape indicators, eBPF runtime monitoring (Falco, Tetragon, Tracee), Kubernetes RBAC, etcd security, and API server audit logs.
  • Use Case: When a security alert indicates suspicious activity within a Kubernetes cluster, this Skill can be invoked to perform a deep dive into all running containers, their configurations, and network interactions to identify the root cause and scope of the incident.

Quick Start

Run container forensics on the current environment.

Frequently Asked Questions about container-forensics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I investigate a Kubernetes security incident and identify container escape indicators?

Kubernetes forensics analyzes API server audit logs, RBAC configurations, and etcd security alongside container inventory to identify escape indicators. This process systematically scopes compromises and detects misconfigurations that traditional host-based analysis might miss.

What is the best way to perform Docker container forensics during an incident response?

Docker container forensics audits container inventory, checks privilege escalation, and performs image integrity verification and layer analysis. This approach detects compromises and misconfigurations specific to containerized environments during incident response.

Can I use eBPF runtime monitoring for container forensics and detecting container escapes?

eBPF runtime monitoring supports container forensics by using tools like Falco, Tetragon, and Tracee to detect container escapes. It provides deep visibility into runtime behaviors and system calls within Docker, containerd, or CRI-O setups.

How do I audit Kubernetes RBAC and etcd security for potential misconfigurations?

Auditing Kubernetes RBAC and etcd security analyzes role-based access controls and cluster state data to detect privilege escalation paths. This identifies misconfigurations that could allow unauthorized access or container escapes.

Does this container forensics approach work with containerd and CRI-O environments?

Container forensics automatically identifies and works with Docker, Kubernetes, containerd, and CRI-O setups. It performs comprehensive auditing across these different container runtimes to detect compromises and misconfigurations.

Why does traditional host-based forensics miss container security incidents?

Traditional host-based forensics misses container security incidents because it lacks visibility into container-specific layers, image integrity, runtime eBPF monitoring, and Kubernetes RBAC. Container forensics addresses these unique challenges by analyzing the containerized environment directly.