falco
БесплатноБез исполняемых скриптовНе проверенFalco is the CNCF runtime security tool that watches Linux system calls and Kubernetes audit events and alerts on suspicious behavior in containers and hosts…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Falco — Runtime Threat Detection
Overview
Falco taps the kernel (system calls through the modern_ebpf probe or a kernel module) and evaluates every event against YAML rules; a match becomes an alert on stdout, a file, HTTP or through Falcosidekick. It needs no change to the applications. This skill was checked against Falco 0.45.1 (October 2026), Helm chart falcosecurity/falco 9.2.x and Falcosidekick chart 0.14.x; rule files below were validated with falco --validate from the 0.45.1 image.
Instructions
Deployment on Kubernetes (Helm)
helm repo add falcosecurity https://falcosecurity.github.io/charts
helm repo update
helm install falco falcosecurity/falco \
--namespace falco --create-namespace \
--set driver.kind=modern_ebpf \
--set tty=true \
--set falcosidekick.enabled=true \
--set falcosidekick.config.slack.webhookurl="${SLACK_WEBHOOK_URL}"
kubectl -n falco get pods -w
kubectl -n falco logs -l app.kubernetes.io/name=falco -c falco --tail=20
The chart runs Falco as a DaemonSet. driver.kind defaults to auto, which picks a driver for the node; modern_ebpf needs no kernel headers or compilation. Values are case-sensitive, and the Falcosidekick keys are all lower case (webhookurl, routingkey, hostport). The chart sets json_output for you when Falcosidekick is enabled.
Docker (single host)
docker run --rm -it \
--cap-drop all --cap-add sys_admin --cap-add sys_resource --cap-add sys_ptrace \
-v /sys/kernel/tracing:/sys/kernel/tracing:ro \
-v /var/run/docker.sock:/host/var/run/docker.sock \
-v /proc:/host/proc:ro \
-v /etc:/host/etc:ro \
falcosecurity/falco:0.45.1
This is the least-privilege form from the Falco docs (modern eBPF). On hosts where tracefs lives at /sys/kernel/debug/tracing, change the source of the first mount. Pin the tag; latest changes under you. Official images are signed with cosign.
Host package (Debian/Ubuntu)
curl -fsSL https://falco.org/repo/falcosecurity-packages.asc | \
sudo gpg --dearmor -o /usr/share/keyrings/falco-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/falco-archive-keyring.gpg] https://download.falco.org/packages/deb stable main" | \
sudo tee /etc/apt/sources.list.d/falcosecurity.list
sudo apt-get update -y
sudo FALCO_FRONTEND=noninteractive FALCO_DRIVER_CHOICE=modern_ebpf apt-get install -y falco
sudo systemctl status falco-modern-bpf
FALCO_DRIVER_CHOICE is kmod or modern_ebpf; with modern_ebpf no dkms or headers are needed. Config lives in /etc/falco/falco.yaml; put your overrides in /etc/falco/config.d/. Falco reloads rule and config files on change.
Custom rules
Keep your rules in falco_rules.local.yaml (loaded after the shipped falco_rules.yaml, which falcoctl keeps updated). With Helm put them under customRules: in values. Macros such as spawned_process, container, open_read and outbound come from the default rules file, so a custom file only validates together with it.
# falco_rules.local.yaml — Custom detection rules
# Detect shell spawned inside a container
- rule: Shell Spawned in Container
desc: A shell (bash, sh, zsh) was started inside a container
condition: >
spawned_process and container and
proc.name in (bash, sh, zsh, ash, dash) and
not proc.pname in (cron, supervisord, entrypoint.sh)
output: >
Shell spawned in container
(user=%user.name container=%container.name image=%container.image.repository
shell=%proc.name parent=%proc.pname cmdline=%proc.cmdline)
priority: WARNING
tags: [container, shell, mitre_execution]
# Detect sensitive file access
- rule: Read Sensitive File
desc: A process read a sensitive file (passwords, keys, tokens)
condition: >
open_read and container and
fd.name in (/etc/shadow, /root/.ssh/id_rsa,
/var/run/secrets/kubernetes.io/serviceaccount/token)
output: >
Sensitive file read (user=%user.name file=%fd.name container=%container.name
image=%container.image.repository command=%proc.cmdline)
priority: ERROR
tags: [filesystem, mitre_credential_access]
# Detect outbound connection to unexpected destinations
- rule: Unexpected Outbound Connection
desc: Container making outbound connection to non-allowlisted IP
condition: >
outbound and container and
not fd.snet in (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and
not fd.sport in (53, 443, 80) and
not container.image.repository in (allowed_outbound_images)
output: >
Unexpected outbound connection
(container=%container.name image=%container.image.repository
connection=%fd.name user=%user.name command=%proc.cmdline)
priority: WARNING
tags: [network, mitre_exfiltration]
# Detect crypto mining
- rule: Crypto Mining Detected
desc: Process connecting to known mining pool or running mining binary
condition: >
spawned_process and container and
(proc.name in (xmrig, minerd, cpuminer, ethminer) or
p
Установить falco в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл falco?
Falco is the CNCF runtime security tool that watches Linux system calls and Kubernetes audit events and alerts on suspicious behavior in containers and hosts. Use when installing Falco with Helm, Docker or apt, writing or tuning custom detection rules (shell in container, sensitive file read, unexpected outbound connection, crypto miner), routing alerts to Slack or a SIEM with Falcosidekick, or fixing rule load errors.
Как установить скилл falco?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл falco запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic