Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Investigates compromised Docker containers and hosts by analyzing images, layers, filesystems, logs and configs for forensic evidence.
5% 14%+9 ptsof test cases passed
Passed 3 of 22 test cases with the skill, and 1 of 22 without it.
3 of 3 safety checks passed
Not used yet
# List all containers (including stopped)
docker ps -a --no-trunc > /cases/case-2024-001/docker/container_list.txt
# Inspect the compromised container
CONTAINER_ID="abc123def456"
docker inspect $CONTAINER_ID > /cases/case-2024-001/docker/container_inspect.json
# Export container filesystem as tarball (preserves current state)
docker export $CONTAINER_ID > /cases/case-2024-001/docker/container_export.tar
# Create an image from the container's current state
docker commit $CONTAINER_ID forensic-evidence:case-2024-001
docker save forensic-evidence:case-2024-001 > /cases/case-2024-001/docker/container_image.tar
# Capture container logs
docker logs $CONTAINER_ID --timestamps > /cases/case-2024-001/docker/container_logs.txt 2>&1
# Capture running processes (if container is still running)
Next to this one in the catalogue, plus more from the same author.