[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7326EVNFHH0H4DB24RYAYWC":3,"skill-same:01M7326EVNFHH0H4DB24RYAYWC":113},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M7326EVNFHH0H4DB24RYAYWC","detecting-container-escape-attempts",null,"Container escape is a critical attack technique where an adversary breaks out of container isolation to access the host system or other containers. Detection involves monitoring for escape indicators","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdetecting-container-escape-attempts\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdetecting-container-escape-attempts\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: detecting-container-escape-attempts\ndescription: Container escape is a critical attack technique where an adversary breaks\n  out of container isolation to access the host system or other containers. Detection\n  involves monitoring for escape indicators\ndomain: cybersecurity\nsubdomain: container-security\ntags:\n- containers\n- kubernetes\n- docker\n- security\n- runtime-security\n- escape-detection\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nd3fend_techniques:\n- Platform Monitoring\n- Process Code Segment Verification\n- Stack Frame Canary Validation\n- Segment Address Offset Randomization\n- Process Analysis\nnist_csf:\n- PR.PS-01\n- PR.IR-01\n- ID.AM-08\n- DE.CM-01\nmitre_attack:\n- T1610\n- T1611\n- T1609\n- T1525\nsource: https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\nsource_commit: 04450304b12645cb2b974ab96d28c0664758a88d\nnote: \"Vendored verbatim from an external Apache-2.0 security-skill library, pinned by commit. Exceeds the internal 300-line skill guideline (agent-code-constraints.md) -- kept as-is because this is vendored reference material (forensics\u002Fthreat-intel procedure), not Yana AI-authored content, and trimming would damage technical accuracy.\"\n---\n# Detecting Container Escape Attempts\n\n## Overview\n\nContainer escape is a critical attack technique where an adversary breaks out of container isolation to access the host system or other containers. Detection involves monitoring for escape indicators such as namespace manipulation, capability abuse, kernel exploits, mounted sensitive paths, and anomalous syscall patterns using runtime security tools like Falco, Sysdig, and custom seccomp\u002Faudit rules.\n\n\n## When to Use\n\n- When investigating security incidents that require detecting container escape attempts\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Linux host with kernel 5.10+ (eBPF support)\n- Falco 0.37+ installed (kernel module or eBPF probe)\n- Docker Engine or containerd runtime\n- auditd configured\n- Root access for eBPF\u002Fkernel module loading\n\n## Core Concepts\n\n### Common Container Escape Vectors\n\n| Vector | Technique | MITRE ID |\n|--------|-----------|----------|\n| Privileged containers | Mount host filesystem, load kernel modules | T1611 |\n| Docker socket mount | Create privileged container from within | T1610 |\n| Kernel exploits | CVE-2022-0185 (fsconfig), Dirty Pipe, runc CVEs | T1068 |\n| Capability abuse | CAP_SYS_ADMIN, CAP_SYS_PTRACE, CAP_NET_ADMIN | T1548 |\n| Sensitive mounts | \u002Fproc\u002Fsysrq-trigger, \u002Fproc\u002Fkcore, cgroup release_agent | T1611 |\n| Namespace escape | nsenter, unshare to host namespaces | T1611 |\n| Symlink\u002Fbind mount | Escape through \u002Fproc\u002Fself\u002Froot | T1611 |\n\n### Detection Layers\n\n1. **Syscall monitoring** - eBPF\u002Fkernel module captures syscalls in real-time\n2. **File integrity** - Detect modification of escape-enabling paths\n3. **Process monitoring** - Track process creation, namespace changes\n4. **Network monitoring** - Detect container-to-host connections\n5. **Audit logging** - Linux auditd for capability and mount operations\n\n## Workflow\n\n### Step 1: Deploy Falco for Runtime Detection\n\n```yaml\n# falco-values.yaml for Helm deployment\nfalco:\n  driver:\n    kind: ebpf   # or modern_ebpf for kernel 5.8+\n  rules_files:\n    - \u002Fetc\u002Ffalco\u002Ffalco_rules.yaml\n    - \u002Fetc\u002Ffalco\u002Ffalco_rules.local.yaml\n    - \u002Fetc\u002Ffalco\u002Frules.d\n  json_output: true\n  json_include_output_property: true\n  http_output:\n    enabled: true\n    url: \"http:\u002F\u002Ffalcosidekick:2801\"\n  grpc:\n    enabled: true\n  priority: warning\n```\n\n```bash\n# Install Falco via Helm\nhelm repo add falcosecurity https:\u002F\u002Ffalcosecurity.github.io\u002Fcharts\nhelm install falco falcosecurity\u002Ffalco \\\n  --namespace falco-system --create-namespace \\\n  -f falco-values.yaml\n```\n\n### Step 2: Custom Falco Rules for Escape Detection\n\n```yaml\n# \u002Fetc\u002Ffalco\u002Frules.d\u002Fcontainer_escape.yaml\n\n# Detect container escape via privileged container\n- rule: Container Escape via Privileged Mode\n  desc: Detect attempts to escape container using privileged capabilities\n  condition: >\n    spawned_process and container and\n    (proc.name in (nsenter, unshare, mount, umount, modprobe, insmod) or\n     (proc.name = chroot and proc.args contains \"\u002Fhost\"))\n  output: >\n    Container escape attempt via privileged operation\n    (user=%user.name container=%container.name image=%container.image.repository\n     command=%proc.cmdline pid=%proc.pid %container.info)\n  priority: CRITICAL\n  tags: [container, escape, T1611]\n\n# Detect Docker socket access from container\n- rule: Container Access to Docker Socket\n  desc: Detect container reading\u002Fwriting to Docker socket\n  condition: >\n    (open_read or open_write) and container and\n    fd.name = \u002Fvar\u002Frun\u002Fdocker.sock\n  output: >\n    Docker socket accessed from container\n    (user=%user.name container=%container.name image=%container.image.repository\n     fd=%fd.name command=%proc.cmdline %container.info)\n  priority: CRITICAL\n  tags: [container, escape, docker_socket]\n\n# Detect sensitive proc filesystem access\n- rule: Container Access to Sensitive Proc Paths\n  desc: Detect container accessing host-sensitive proc paths\n  condition: >\n    open_read and container and\n    (fd.name startswith \u002Fproc\u002Fsysrq-trigger or\n     fd.name startswith \u002Fproc\u002Fkcore or\n     fd.name startswith \u002Fproc\u002Fkmsg or\n     fd.name startswith \u002Fproc\u002Fkallsyms or\n     fd.name startswith \u002Fsys\u002Fkernel)\n  output: >\n    Sensitive proc\u002Fsys access from container\n    (user=%user.name container=%container.name path=%fd.name\n     command=%proc.cmdline %container.info)\n  priority: CRITICAL\n  tags: [container, escape, proc_access]\n\n# Detect cgroup escape technique\n- rule: Container Cgroup Escape Attempt\n  desc: Detect writing to cgroup release_agent (escape technique)\n  condition: >\n    open_write and container and\n    (fd.name contains release_agent or\n     fd.name contains notify_on_release)\n  output: >\n    Cgroup escape attempt detected\n    (user=%user.name container=%container.name path=%fd.name\n     command=%proc.cmdline %container.info)\n  priority: CRITICAL\n  tags: [container, escape, cgroup]\n\n# Detect kernel module loading from container\n- rule: Container Loading Kernel Module\n  desc: Detect container attempting to load kernel modules\n  condition: >\n    spawned_process and container and\n    (proc.name in (modprobe, insmod, rmmod) or\n     (evt.type = init_module or evt.type = finit_module))\n  output: >\n    Kernel module load attempt from container\n    (user=%user.name container=%container.name command=%proc.cmdline\n     %container.info)\n  priority: CRITICAL\n  tags: [container, escape, kernel_module]\n\n# Detect namespace manipulation\n- rule: Container Namespace Manipulation\n  desc: Detect setns\u002Funshare syscalls from container\n  condition: >\n    container and (evt.type = setns or evt.type = unshare) and\n    not proc.name in (containerd-shim, runc)\n  output: >\n    Namespace manipulation from container\n    (user=%user.name container=%container.name syscall=%evt.type\n     command=%proc.cmdline %container.info)\n  priority: CRITICAL\n  tags: [container, escape, namespace]\n\n# Detect mount operations from container\n- rule: Container Mount Sensitive Filesystem\n  desc: Detect container mounting host filesystems\n  condition: >\n    spawned_process and container and proc.name = mount and\n    (proc.args contains \"\u002Fdev\u002F\" or proc.args contains \"proc\" or\n     proc.args contains \"sysfs\")\n  output: >\n    Sensitive mount operation from container\n    (user=%user.name container=%container.name command=%proc.cmdline\n     %container.info)\n  priority: HIGH\n  tags: [container, escape, mount]\n```\n\n### Step 3: Configure Seccomp Profile for Escape Prevention\n\n```json\n{\n  \"defaultAction\": \"SCMP_ACT_ERRNO\",\n  \"archMap\": [\n    { \"architecture\": \"SCMP_ARCH_X86_64\", \"subArchitectures\": [\"SCMP_ARCH_X86\", \"SCMP_ARCH_X32\"] }\n  ],\n  \"syscalls\": [\n    {\n      \"names\": [\n        \"read\", \"write\", \"open\", \"close\", \"stat\", \"fstat\", \"lstat\",\n        \"poll\", \"lseek\", \"mmap\", \"mprotect\", \"munmap\", \"brk\",\n        \"rt_sigaction\", \"rt_sigprocmask\", \"ioctl\", \"access\",\n        \"pipe\", \"select\", \"sched_yield\", \"dup\", \"dup2\",\n        \"nanosleep\", \"getpid\", \"socket\", \"connect\", \"accept\",\n        \"sendto\", \"recvfrom\", \"bind\", \"listen\", \"getsockname\",\n        \"getpeername\", \"socketpair\", \"setsockopt\", \"getsockopt\",\n        \"clone\", \"fork\", \"vfork\", \"execve\", \"exit\", \"wait4\",\n        \"kill\", \"getuid\", \"getgid\", \"geteuid\", \"getegid\",\n        \"epoll_create\", \"epoll_wait\", \"epoll_ctl\", \"epoll_create1\",\n        \"futex\", \"set_tid_address\", \"set_robust_list\",\n        \"openat\", \"newfstatat\", \"readlinkat\", \"fchownat\",\n        \"clock_gettime\", \"clock_getres\", \"clock_nanosleep\",\n        \"getrandom\", \"memfd_create\", \"statx\", \"rseq\"\n      ],\n      \"action\": \"SCMP_ACT_ALLOW\"\n    },\n    {\n      \"names\": [\"unshare\", \"setns\", \"mount\", \"umount2\", \"pivot_root\",\n                \"init_module\", \"finit_module\", \"delete_module\",\n                \"kexec_load\", \"kexec_file_load\", \"ptrace\",\n                \"reboot\", \"swapon\", \"swapoff\", \"sethostname\",\n                \"setdomainname\", \"keyctl\", \"bpf\"],\n      \"action\": \"SCMP_ACT_LOG\",\n      \"comment\": \"Log escape-relevant syscalls for detection\"\n    }\n  ]\n}\n```\n\n### Step 4: Audit Rules for Container Escape\n\n```bash\n# \u002Fetc\u002Faudit\u002Frules.d\u002Fcontainer-escape.rules\n\n# Monitor namespace operations\n-a always,exit -F arch=b64 -S setns -S unshare -k container_escape\n-a always,exit -F arch=b64 -S mount -S umount2 -k container_mount\n-a always,exit -F arch=b64 -S init_module -S finit_module -S delete_module -k kernel_module\n-a always,exit -F arch=b64 -S ptrace -k process_trace\n\n# Monitor sensitive paths\n-w \u002Fvar\u002Frun\u002Fdocker.sock -p rwxa -k docker_socket\n-w \u002Fproc\u002Fsysrq-trigger -p w -k sysrq\n-w \u002Fproc\u002Fkcore -p r -k kcore_read\n\n# Monitor container runtime\n-w \u002Fusr\u002Fbin\u002Frunc -p x -k container_runtime\n-w \u002Fusr\u002Fbin\u002Fcontainerd -p x -k container_runtime\n-w \u002Fusr\u002Fbin\u002Fdocker -p x -k container_runtime\n```\n\n### Step 5: Real-Time Alert Pipeline\n\n```yaml\n# Falcosidekick configuration for alert routing\nconfig:\n  slack:\n    webhookurl: \"https:\u002F\u002Fhooks.slack.com\u002Fservices\u002Fxxx\"\n    minimumpriority: \"critical\"\n    messageformat: |\n      *Container Escape Alert*\n      Rule: {{ .Rule }}\n      Priority: {{ .Priority }}\n      Output: {{ .Output }}\n\n  elasticsearch:\n    hostport: \"https:\u002F\u002Felasticsearch:9200\"\n    index: \"falco-alerts\"\n    minimumpriority: \"warning\"\n\n  pagerduty:\n    routingkey: \"xxxx\"\n    minimumpriority: \"critical\"\n```\n\n## Validation Commands\n\n```bash\n# Test Falco rules with event generator\nkubectl run falco-event-generator \\\n  --image=falcosecurity\u002Fevent-generator \\\n  --restart=Never \\\n  -- run syscall --action PtraceAttachContainer\n\n# Check Falco alerts\nkubectl logs -n falco-system -l app.kubernetes.io\u002Fname=falco --tail=50\n\n# Verify seccomp profile is loaded\ndocker inspect --format '{{.HostConfig.SecurityOpt}}' \u003Ccontainer-id>\n\n# Check audit logs for escape-related events\nausearch -k container_escape --interpret\n```\n\n## References\n\n- [Falco Runtime Security](https:\u002F\u002Ffalco.org\u002Fdocs\u002F)\n- [Container Escape Techniques - HackTricks](https:\u002F\u002Fbook.hacktricks.xyz\u002Flinux-hardening\u002Fprivilege-escalation\u002Fdocker-security\u002Fdocker-breakout-privilege-escalation)\n- [MITRE ATT&CK T1611 - Escape to Host](https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1611\u002F)\n- [Sysdig Container Security](https:\u002F\u002Fsysdig.com\u002Fproducts\u002Fsecure\u002F)\n","# Detecting Container Escape Attempts\n\n## Overview\n\nContainer escape is a critical attack technique where an adversary breaks out of container isolation to access the host system or other containers. Detection involves monitoring for escape indicators such as namespace manipulation, capability abuse, kernel exploits, mounted sensitive paths, and anomalous syscall patterns using runtime security tools like Falco, Sysdig, and custom seccomp\u002Faudit rules.\n\n\n## When to Use\n\n- When investigating security incidents that require detecting container escape attempts\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Linux host with kernel 5.10+ (eBPF support)\n- Falco 0.37+ installed (kernel module or eBPF probe)\n- Docker Engine or containerd runtime\n- auditd configured\n- Root access for eBPF\u002Fkernel module loading\n\n## Core Concepts\n\n### Common Container Escape Vectors\n\n| Vector | Technique | MITRE ID |\n|--------|-----------|----------|\n| Privileged containers | Mount host filesystem, load kernel modules | T1611 |\n| Docker socket mount | Create privileged container from within | T1610 |\n| Kernel exploits | CVE-2022-0185 (fsconfig), Dirty Pipe, runc CVEs | T1068 |\n| Capability abuse | CAP_SYS_ADMIN, CAP_SYS_PTRACE, CAP_NET_ADMIN | T1548 |\n| Sensitive mounts | \u002Fproc\u002Fsysrq-trigger, \u002Fproc\u002Fkcore, cgroup release_agent | T1611 |\n| Namespace escape | nsenter, unshare to host namespaces | T1611 |\n| Symlink\u002Fbind mount | Escape through \u002Fproc\u002Fself\u002Froot | T1611 |\n\n### Detection Layers\n\n1. **Syscall monitoring** - eBPF\u002Fkernel module captures syscalls in real-time\n2. **File integrity** - Detect modification of escape-enabling paths\n3. **Process monitoring** - Track process creation, namespace changes\n4. **Network monitoring** - Detect container-to-host connections\n5. **Audit logging** - Linux auditd for capability and mount operations\n\n## Workflow\n\n### Step 1: Deploy Falco for Runtime Detection\n\n```yaml\n# falco-values.yaml for Helm deployment\nfalco:\n  driver:\n    kind: ebpf   # or modern_ebpf for kernel 5.8+\n  rules_files:\n    - \u002Fetc\u002Ffalco\u002Ffalco_rules.yaml\n    - \u002Fetc\u002Ffalco\u002Ffalco_rules.local.yaml\n    - \u002Fetc\u002Ffalco\u002Frules.d\n  json_output: true\n  json_include_output_property: true\n  http_output:\n    enabled: true\n    url: \"http:\u002F\u002Ffalcosidekick:2801\"\n  grpc:\n    enabled: true\n  priority: warning\n```\n\n```bash\n# Install Falco via Helm\nhelm repo add falcosecurity https:\u002F\u002Ffalcosecurity.github.io\u002Fcharts\nhelm install falco falcosecurity\u002Ffalco \\\n  --namespace falco-system --create-namespace \\\n  -f falco-values.yaml\n```\n\n### Step 2: Custom Falco Rules for Escape Detection\n\n```yaml\n# \u002Fetc\u002Ffalco\u002Frules.d\u002Fcontainer_escape.yaml\n\n# Detect container escape via privileged container\n- rule: Container Escape via Privileged Mode\n  desc: Detect attempts to escape container using privileged capabilities\n  condition: >\n    spawned_process and container and\n    (proc.name in (nsenter, unshare, mount, umount, modprobe, insmod) or\n     (proc.name = chroot and proc.args contains \"\u002Fhost\"))\n  output: >\n    Container escape attempt via privileged operation\n    (user=%user.name container=%container.name image=%container.image.repository\n     command=%proc.cmdline pid=%proc.pid %container.info)\n  priority: CRITICAL\n  tags: [container, escape, T1611]\n\n# Detect Docker socket access from container\n- rule: Container Access to Docker Socket\n  desc: Detect container reading\u002Fwriting to Docker socket\n  condition: >\n    (open_read or open_write) and container and\n    fd.name = \u002Fvar\u002Frun\u002Fdocker.sock\n  output: >\n    Docker socket accessed from container\n    (user=%user.name container=%container.name image=%container.image.repository\n     fd=%fd.name command=%proc.cmdline %container.info)\n  priority: CRITICAL\n  tags: [container, escape, docker_socket]\n\n# Detect sensitive proc filesystem access\n- rule: Container Access to Sensitive Proc Paths\n  desc: Detect container accessing host-sensitive proc paths\n  condition: >\n    open_read and container and\n    (fd.name startswith \u002Fproc\u002Fsysrq-trigger or\n     fd.name startswith \u002Fproc\u002Fkcore or\n     fd.name startswith \u002Fproc\u002Fkmsg or\n     fd.name startswith \u002Fproc\u002Fkallsyms or\n     fd.name startswith \u002Fsys\u002Fkernel)\n  output: >\n    Sensitive proc\u002Fsys access from container\n    (user=%user.name container=%container.name path=%fd.name\n     command=%proc.cmdline %container.info)\n  priority: CRITICAL\n  tags: [container, escape, proc_access]\n\n# Detect cgroup escape technique\n- rule: Container Cgroup Escape Attempt\n  desc: Detect writing to cgroup release_agent (escape technique)\n  condition: >\n    open_write and container and\n    (fd.name contains release_agent or\n     fd.name contains notify_on_release)\n  output: >\n    Cgroup escape attempt detected\n    (user=%user.name container=%container.name path=%fd.name\n     command=%proc.cmdline %container.info)\n  priority: CRITICAL\n  tags: [container, escape, cgroup]\n\n# Detect kernel module loading from container\n- rule: Container Loading Kernel Module\n  desc: Detect container attempting to load kernel modules\n  condition: >\n    spawned_process and container and\n    (proc.name in (modprobe, insmod, rmmod) or\n     (evt.type = init_module or evt.type = finit_module))\n  output: >\n    Kernel module load attempt from container\n    (user=%user.name container=%container.name command=%proc.cmdline\n     %container.info)\n  priority: CRITICAL\n  tags: [container, escape, kernel_module]\n\n# Detect namespace manipulation\n- rule: Container Namespace Manipulation\n  desc: Detect setns\u002Funshare syscalls from container\n  condition: >\n    container and (evt.type = setns or evt.type = unshare) and\n    not proc.name in (containerd-shim, runc)\n  output: >\n    Namespace manipulation from container\n    (user=%user.name container=%container.name syscall=%evt.type\n     command=%proc.cmdline %container.info)\n  priority: CRITICAL\n  tags: [container, escape, namespace]\n\n# Detect mount operations from container\n- rule: Container Mount Sensitive Filesystem\n  desc: Detect container mounting host filesystems\n  condition: >\n    spawned_process and container and proc.name = mount and\n    (proc.args contains \"\u002Fdev\u002F\" or proc.args contains \"proc\" or\n     proc.args contains \"sysfs\")\n  output: >\n    Sensitive mount operation from container\n    (user=%user.name container=%container.name command=%proc.cmdline\n     %container.info)\n  priority: HIGH\n  tags: [container, escape, mount]\n```\n\n### Step 3: Configure Seccomp Profile for Escape Prevention\n\n```json\n{\n  \"defaultAction\": \"SCMP_ACT_ERRNO\",\n  \"archMap\": [\n    { \"architecture\": \"SCMP_ARCH_X86_64\", \"subArchitectures\": [\"SCMP_ARCH_X86\", \"SCMP_ARCH_X32\"] }\n  ],\n  \"syscalls\": [\n    {\n      \"names\": [\n        \"read\", \"write\", \"open\", \"close\", \"stat\", \"fstat\", \"lstat\",\n        \"poll\", \"lseek\", \"mmap\", \"mprotect\", \"munmap\", \"brk\",\n        \"rt_sigaction\", \"rt_sigprocmask\", \"ioctl\", \"access\",\n        \"pipe\", \"select\", \"sched_yield\", \"dup\", \"dup2\",\n        \"nanosleep\", \"getpid\", \"socket\", \"connect\", \"accept\",\n        \"sendto\", \"recvfrom\", \"bind\", \"listen\", \"getsockname\",\n        \"getpeername\", \"socketpair\", \"setsockopt\", \"getsockopt\",\n        \"clone\", \"fork\", \"vfork\", \"execve\", \"exit\", \"wait4\",\n        \"kill\", \"getuid\", \"getgid\", \"geteuid\", \"getegid\",\n        \"epoll_create\", \"epoll_wait\", \"epoll_ctl\", \"epoll_create1\",\n        \"futex\", \"set_tid_address\", \"set_robust_list\",\n        \"openat\", \"newfstatat\", \"readlinkat\", \"fchownat\",\n        \"clock_gettime\", \"clock_getres\", \"clock_nanosleep\",\n        \"getrandom\", \"memfd_create\", \"statx\", \"rseq\"\n      ],\n      \"action\": \"SCMP_ACT_ALLOW\"\n    },\n    {\n      \"names\": [\"unshare\", \"setns\", \"mount\", \"umount2\", \"pivot_root\",\n                \"init_module\", \"finit_module\", \"delete_module\",\n                \"kexec_load\", \"kexec_file_load\", \"ptrace\",\n                \"reboot\", \"swapon\", \"swapoff\", \"sethostname\",\n                \"setdomainname\", \"keyctl\", \"bpf\"],\n      \"action\": \"SCMP_ACT_LOG\",\n      \"comment\": \"Log escape-relevant syscalls for detection\"\n    }\n  ]\n}\n```\n\n### Step 4: Audit Rules for Container Escape\n\n```bash\n# \u002Fetc\u002Faudit\u002Frules.d\u002Fcontainer-escape.rules\n\n# Monitor namespace operations\n-a always,exit -F arch=b64 -S setns -S unshare -k container_escape\n-a always,exit -F arch=b64 -S mount -S umount2 -k container_mount\n-a always,exit -F arch=b64 -S init_module -S finit_module -S delete_module -k kernel_module\n-a always,exit -F arch=b64 -S ptrace -k process_trace\n\n# Monitor sensitive paths\n-w \u002Fvar\u002Frun\u002Fdocker.sock -p rwxa -k docker_socket\n-w \u002Fproc\u002Fsysrq-trigger -p w -k sysrq\n-w \u002Fproc\u002Fkcore -p r -k kcore_read\n\n# Monitor container runtime\n-w \u002Fusr\u002Fbin\u002Frunc -p x -k container_runtime\n-w \u002Fusr\u002Fbin\u002Fcontainerd -p x -k container_runtime\n-w \u002Fusr\u002Fbin\u002Fdocker -p x -k container_runtime\n```\n\n### Step 5: Real-Time Alert Pipeline\n\n```yaml\n# Falcosidekick configuration for alert routing\nconfig:\n  slack:\n    webhookurl: \"https:\u002F\u002Fhooks.slack.com\u002Fservices\u002Fxxx\"\n    minimumpriority: \"critical\"\n    messageformat: |\n      *Container Escape Alert*\n      Rule: {{ .Rule }}\n      Priority: {{ .Priority }}\n      Output: {{ .Output }}\n\n  elasticsearch:\n    hostport: \"https:\u002F\u002Felasticsearch:9200\"\n    index: \"falco-alerts\"\n    minimumpriority: \"warning\"\n\n  pagerduty:\n    routingkey: \"xxxx\"\n    minimumpriority: \"critical\"\n```\n\n## Validation Commands\n\n```bash\n# Test Falco rules with event generator\nkubectl run falco-event-generator \\\n  --image=falcosecurity\u002Fevent-generator \\\n  --restart=Never \\\n  -- run syscall --action PtraceAttachContainer\n\n# Check Falco alerts\nkubectl logs -n falco-system -l app.kubernetes.io\u002Fname=falco --tail=50\n\n# Verify seccomp profile is loaded\ndocker inspect --format '{{.HostConfig.SecurityOpt}}' \u003Ccontainer-id>\n\n# Check audit logs for escape-related events\nausearch -k container_escape --interpret\n```\n\n## References\n\n- [Falco Runtime Security](https:\u002F\u002Ffalco.org\u002Fdocs\u002F)\n- [Container Escape Techniques - HackTricks](https:\u002F\u002Fbook.hacktricks.xyz\u002Flinux-hardening\u002Fprivilege-escalation\u002Fdocker-security\u002Fdocker-breakout-privilege-escalation)\n- [MITRE ATT&CK T1611 - Escape to Host](https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1611\u002F)\n- [Sysdig Container Security](https:\u002F\u002Fsysdig.com\u002Fproducts\u002Fsecure\u002F)\n",{"name":5,"note":25,"tags":26,"author":33,"domain":34,"source":35,"license":15,"version":36,"nist_csf":37,"subdomain":42,"description":7,"mitre_attack":43,"source_commit":48,"d3fend_techniques":49},"Vendored verbatim from an external Apache-2.0 security-skill library, pinned by commit. Exceeds the internal 300-line skill guideline (agent-code-constraints.md) -- kept as-is because this is vendored reference material (forensics\u002Fthreat-intel procedure), not Yana AI-authored content, and trimming would damage technical accuracy.",[27,28,29,30,31,32],"containers","kubernetes","docker","security","runtime-security","escape-detection","mahipal","cybersecurity","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","1.0",[38,39,40,41],"PR.PS-01","PR.IR-01","ID.AM-08","DE.CM-01","container-security",[44,45,46,47],"T1610","T1611","T1609","T1525","04450304b12645cb2b974ab96d28c0664758a88d",[50,51,52,53,54],"Platform Monitoring","Process Code Segment Verification","Stack Frame Canary Validation","Segment Address Offset Randomization","Process Analysis","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa",".claude\u002Fskills\u002Fdetecting-container-escape-attempts",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill detecting-container-escape-attempts",{"tool":71,"command":72},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill detecting-container-escape-attempts",{"tool":74,"command":75},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill detecting-container-escape-attempts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdetecting-container-escape-attempts\u002FSKILL.md",true,[79,85,89,95,99,103,109],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"assets\u002Ftemplate.md","ASSET","资产文件",1356,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdetecting-container-escape-attempts\u002Fassets\u002Ftemplate.md",{"path":86,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fapi-reference.md","REFERENCE","参考文档",2261,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdetecting-container-escape-attempts\u002Freferences\u002Fapi-reference.md",{"path":96,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fstandards.md",2381,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdetecting-container-escape-attempts\u002Freferences\u002Fstandards.md",{"path":100,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fworkflows.md",3067,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdetecting-container-escape-attempts\u002Freferences\u002Fworkflows.md",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fagent.py","SCRIPT","脚本",6808,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdetecting-container-escape-attempts\u002Fscripts\u002Fagent.py",{"path":110,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Fprocess.py",12543,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdetecting-container-escape-attempts\u002Fscripts\u002Fprocess.py",[114,122,129,137,145,153],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":118,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":20},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":20},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":133,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":20},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":141,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":20},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":149,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":20},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":154,"name":155,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":20},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]