detecting-container-drift-at-runtime

Featured

Detect unauthorized modifications to running containers by monitoring for binary execution drift, file system changes, and configuration deviations from the original container image.

AI & Automation 12,642 stars 1468 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Detecting Container Drift at Runtime ## Overview Container drift occurs when running containers deviate from their original image state through unauthorized file modifications, unexpected binary execution, configuration changes, or package installations. Since containers should be treated as immutable infrastructure, any drift is a potential indicator of compromise. Detection techniques leverage the DIE (Detect, Isolate, Evict) model -- an immutable workload should not change during runtime, so any observed change is potentially evidence of malicious activity. ## When to Use - When investigating security incidents that require detecting container drift at runtime - When building detection rules or threat hunting queries for this domain - When SOC analysts need structured procedures for this analysis type - When validating security monitoring coverage for related attack techniques ## Prerequisites - Kubernetes cluster v1.24+ with runtime security tooling - Falco or Sysdig for runtime drift detection - Container image registry with image manifests available - Familiarity with Linux filesystem layers and OverlayFS ## Core Concepts ### Types of Container Drift 1. **Binary drift**: Execution of binaries not present in the original image (downloaded malware, compiled tools) 2. **File drift**: Creation, modification, or deletion of files in the container filesystem 3. **Configuration drift**: Changes to environment variables, mounted secrets, or runtime parameters 4. **P...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
3 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category