Falco and Tetragon Container Escape Syscall Alert
Matches Falco and Tetragon kernel runtime alerts for container namespace escapes, privileged mount attempts, and unexpected host binary execution.
- Kind
- Signature
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:6738bf5a
Contract facts
- Sources
- 3
- tetragon, loki, kubernetes
- Log patterns
- 3
- RE2, replayed in CI
- Kubernetes matchers
- 0
- CEL on live objects
- Samples
- 3 and 2
- must match and must not
Inspect it
Inspect the contract and RBAC delta
$ faberctl catalog inspect signatures/falco-container-escape-syscall \ --source oci://ghcr.io/faberops/catalog:v2How it works
Sources
tetragon, loki, kubernetes
What it matches
Must match
- Warning Falco: Launch Privileged Container pod=debug-shell namespace=payments
- Alert: nsenter --target 1 --mount invoked inside container api
- Falco rule Read sensitive file untrusted matched /etc/shadow in pod worker-1
Must not match
- Container api started cleanly with readOnlyRootFilesystem=true
- Tetragon tracing policy pod-monitor loaded on node worker-01
Signature source
signature.yamlFailureSignature26 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
name: falco-container-escape-syscall
spec:
description: Matches Falco and Tetragon kernel runtime alerts for container namespace escapes, privileged mount attempts,
and unexpected host binary execution.
sources:
- tetragon
- loki
- kubernetes
logPatterns:
- Launch Privileged Container|Container escape detected
- Mount Launched in Privileged Container|nsenter.*--target 1
- Read sensitive file untrusted.*(/etc/shadow|/proc/1/root)
samples:
match:
- 'Warning Falco: Launch Privileged Container pod=debug-shell namespace=payments'
- 'Alert: nsenter --target 1 --mount invoked inside container api'
- Falco rule Read sensitive file untrusted matched /etc/shadow in pod worker-1
noMatch:
- Container api started cleanly with readOnlyRootFilesystem=true
- Tetragon tracing policy pod-monitor loaded on node worker-01
queries:
loki: '{app=~"falco|tetragon"} |= "Privileged" or |= "nsenter" or |= "sensitive file"'
tetragon: process_exec.process.binary in ["/usr/bin/nsenter", "/bin/mount"] && process_exec.process.pod.namespace != "kube-system"
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/falco-container-escape-syscall. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: falco-container-escape-syscall
category: signatures
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:6738bf5a782bbdc1624129589925bddfd97ed60541f8c4952af6ae9c9a0ec007
Signatures are catalog data. A Playbook references one by name in a connector trigger. It is never applied on its own.
Related packs
All 176 packsFalco and Tetragon eBPF Runtime Security Triage
playbooks/falco-tetragon-runtime-triageRead-only eBPF runtime security triage that correlates Falco and Tetragon unexpected shell spawns, sensitive file reads, and privilege escalations with pod metadata and recent deployments.Default ObserveCeiling AutoTetragon Runtime Security Signature
signatures/tetragon-runtimeMatches Tetragon process and kprobe events for shells in containers, sensitive file reads and privilege changes that warrant a read-only runtime brief.Log patterns 5Sources 1Cilium Tetragon
connectors/tetragonStreams kernel runtime security events from Tetragon over gRPC for read-only runtime triage.Can read, trigger