runtime-detection-falco
Skill0 starsChanged 11 days agoMITView on GitHub
Detect malicious behaviour in running containers and Kubernetes nodes with Falco (or Tetragon/Tracee) — shells in containers, unexpected processes, sensitive file reads, crypto-miner activity, container escape attempts — write and tune Falco rules, and route alerts. Use when deploying container runtime security, writing runtime detections, or triaging Falco alerts.
In this repository273 other files it gives its agents.
- ad-attack-path-analysisSkill
- adcs-security-reviewSkill
- ad-privileged-access-reviewSkill
- dcsync-detectionSkill
- gpo-security-reviewSkill
- kerberos-attack-detectionSkill
- agent-tool-permission-reviewSkill
- ai-incident-responseSkill
- llm-gateway-controlsSkill
- llm-security-evaluationSkill
- mcp-server-security-reviewSkill
- model-artifact-securitySkill
- prompt-injection-reviewSkill
- rag-security-reviewSkill
- api-abuse-detectionSkill
- api-authorization-testingSkill
- api-inventorySkill
- api-schema-securitySkill
- dast-baselineSkill
- sast-triageSkill
- sca-dependency-riskSkill
- secure-code-reviewSkill
- security-requirementsSkill
- threat-modelingSkill
- asset-criticality-tieringSkill
- asset-inventory-reconciliationSkill
- external-attack-surface-reviewSkill
- shadow-it-discoverySkill
- aws-credential-compromiseSkill
- aws-iam-reviewSkill
- aws-org-guardrailsSkill
- cloudtrail-investigationSkill
- guardduty-triageSkill
- s3-exposure-reviewSkill
- azure-activity-investigationSkill
- azure-rbac-reviewSkill
- conditional-access-reviewSkill
- entra-audit-investigationSkill
- entra-signin-investigationSkill
- backup-assuranceSkill
- critical-service-mappingSkill
- ransomware-recoverySkill
- recovery-exerciseSkill
- cloud-exposure-reviewSkill
- cloud-incident-responseSkill
- cloud-logging-baselineSkill
- cloud-posture-assessmentSkill
- audit-evidence-packageSkill
- continuous-control-monitoringSkill
- control-mappingSkill
- control-testing-samplingSkill
- container-incidentSkill
- dockerfile-hardeningSkill
- image-scanningSkill
- db-audit-loggingSkill
- db-exfiltration-investigationSkill
- db-hardeningSkill
- db-privilege-reviewSkill
- data-classificationSkill
- data-discoverySkill
- The first 60 shown.
The file
Files
Container Runtime Detection (Falco)
Deploy
Helm: helm install falco falcosecurity/falco -n falco --create-namespace --set driver.kind=modern_ebpf --set falcosidekick.enabled=true (falcosidekick forwards to Slack/SIEM/webhooks). Confirm the driver loaded and events flow (kubectl logs -n falco ds/falco).
Custom rule example
- list: web_server_procs
items: [nginx, httpd, apache2, node, java, php-fpm, gunicorn, uwsgi]
- rule: Shell Spawned by Web Server in Container
desc: A web server process inside a container spawned an interactive shell or downloader (possible RCE / web shell).
condition: >
spawned_process and container and
proc.pname in (web_server_procs) and
proc.name in (sh, bash, dash, ash, zsh, curl, wget, nc, ncat, python, python3, perl)
output: >
Web server spawned %proc.name in container (cmd=%proc.cmdline parent=%proc.pname user=%user.name
container=%container.name image=%container.image.repository:%container.image.tag k8s.ns=%k8s.ns.name k8s.pod=%k8s.pod.name)
priority: WARNING
tags: [container, mitre_execution, T1059]Load as an additional rules file (customRules in Helm values); override default rules with append/override keys rather than editing upstream files.
High-value default rules
Terminal shell in container, read sensitive file untrusted (/etc/shadow), write below binary dir, contact K8s API server from container, launch privileged container, mount of host filesystem, unexpected outbound connection to mining pools, ptrace attach, kernel module load from container, drift detection (executing binaries not in the image — Drop and execute new binary in container).
Tuning
Exceptions by image repository + process + args (rule exceptions: field), not by namespace wholesale; separate CI/build namespaces (shells are normal) from production.
Triage
Map alert → pod/image/deployment owner; check image provenance (artifact-signing); inspect process tree and network; if malicious, follow container-incident.
Related skills
container-incident, k8s-audit-log-analysis, k8s-incident-response, image-scanning
References
- Falco documentation: https://falco.org/docs/
- Falco rules reference (fields, macros): https://falco.org/docs/reference/rules/
- Cilium Tetragon: https://tetragon.io/docs/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

