Contents
On servers and containers, you need a way to notice when something unusual happens. Falco watches the events the Linux kernel handles and raises an alert when one matches a rule you have written. For example, it can tell you that “a program you don’t recognize read /etc/shadow, a file normally left alone.”
This review is for people who want to put a watcher on their own Linux servers or containers. You try it only on a disposable Linux virtual machine you set up yourself. After reading it, you can do the following:
- Explain what Falco watches and where it sends alerts
- Install Falco on a test Linux VM and trigger one alert on purpose
- List what to check before installing: admin rights, a listening port that stays up, and the traffic used for rule updates
What Falco is for
The official documentation describes Falco as a cloud native security tool that provides runtime security across hosts, containers, Kubernetes, and cloud environments. At its core is a resident program that observes events and raises alerts according to rules. Sysdig created it, and it is now a graduated project of the CNCF (Cloud Native Computing Foundation). The license of the main program is Apache-2.0. The source of the driver that runs on the kernel side carries the notice “GPL-2.0-only OR MIT.”
Falco mostly watches Linux system calls. A system call is the entry point a program uses to ask the OS to do things such as open a file or start a process. Falco adds information from the container runtime and Kubernetes, so you can tell which container an event came from. With plugins, it can also watch sources other than system calls, such as cloud audit logs.
According to the official description, the default rules look for activity like this:
- Privilege escalation through privileged containers
- Reads and writes to well-known directories such as
/etcand/usr/bin - Creating symbolic links, and changes of ownership or mode
- Unexpected network connections
- Process starts through
execve, and runs of shell or SSH-related programs
Falco runs on Linux, on x86_64 and aarch64. The official download page lists no builds for Windows or macOS. Container images are published on Docker Hub.
How it works
Read it as text (full explanation)
Falco checks each event that arrives from the kernel against its rules, and raises an alert when one matches.
The part that collects events is called a “driver.” There are two. The default is the modern eBPF probe, and the other is a kernel module. The modern eBPF probe is built into the Falco binary, so there is nothing else to install. According to the official explanation, kernel 5.8 or later is a rough guide, and the conditions are BPF ring buffer support and a kernel that exposes BTF (kernel type information). The kernel module works from 3.10, and installing it can require build tools such as DKMS.
You write rules in YAML. A rule states a condition for when to alert, and adds an output message, a priority, and tags. The default rules live in falcosecurity/rules, and some carry MITRE ATT&CK IDs in their tags. For example, the rule “Read sensitive file untrusted” alerts when a program that is not trusted reads a sensitive file such as /etc/shadow. Its tag is T1555 (Credentials from Password Stores). A rule’s tag is a guide to the technique the rule has in mind. Activity that matches no rule produces no alert.
Two points matter to the defender. The first is that the content of the rules decides the result. The README of the default rules says that every adopter’s monitoring needs differ, so it is best to treat the rules as examples. Tune them to your environment. The second is that the driver can drop events. The official documentation describes a feature that detects dropped events and responds, for example by alerting or exiting.
Network traffic
Falco’s detection itself happens inside the machine. Traffic goes out in these cases:
- Getting the program and drivers. Packages come from
download.falco.org(DEB, RPM, tarball), and container images from Docker Hub. If you install from the tarball,falcoctl driver installfirst looks for a prebuilt kernel module in the official download location by default, and builds one locally if it finds none. The modern eBPF probe is part of the binary, so no driver download is needed - Automatic rule updates. If you answer “Yes” to the choice shown during package installation,
falcoctlperiodically checks for rule updates and pulls them in. In the default configuration template, the check interval is 168 hours (one week) and the artifact isfalco-rules:5. The list of sources is atfalcosecurity.github.io, and it namesghcr.ioas where the rules are stored. If you answer “No”, or install with the environment variableFALCOCTL_ENABLED=no, this update is not used - Where alerts go. Standard output and syslog are enabled in the default configuration. A file, an external program, and an HTTP/HTTPS destination are disabled by default and are used only when you set them up
In its default configuration, Falco starts an embedded web server for health checks. It listens on 0.0.0.0:8765 (/healthz), and you can change this under webserver in the configuration file. If the host is reachable from outside, close the port with a firewall or narrow the listen address.
Within the official README and documentation, we found no description of any feature that sends usage data (we confirmed only that none is described, and did not measure the traffic).
Try it safely: trigger an alert on purpose in your own Linux test VM
Follow the official quickstart on a throwaway Linux virtual machine. Do not install it on a production server or on the PC you use every day. The example uses Ubuntu.
-
Prepare a test Ubuntu virtual machine. The official quickstart was tried on Ubuntu 24.04 with VirtualBox and with Lima (for Macs with Apple silicon). It says other clouds and virtualization platforms have not been tested. For how to build a test environment, see How to set up a safe test lab.
-
Add the official package key and repository, and install
dialog.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 -a /etc/apt/sources.list.d/falcosecurity.list sudo apt-get update -y sudo apt-get install -y dialog -
Install Falco. When the choice screen appears, pick “Modern eBPF” for the driver. If it asks about automatic rule updates, “No” is fine for a test (answering “Yes” starts the update traffic described in “Network traffic” above).
sudo apt-get install -y falco -
Check that it is running.
sudo systemctl status falco-modern-bpf.service -
Trigger, on purpose, an action that a default rule alerts on. You only read
/etc/shadow. The contents are discarded instead of shown.sudo cat /etc/shadow > /dev/null -
Look at the alert. Pull Falco’s log entries with priority warning or higher.
sudo journalctl _COMM=falco -p warningThe message reads “Sensitive file opened for reading by non-trusted program,” followed by the file that was read, the process name, the parent process, the command, and the user. The command arguments are part of the output too. If you ever put a password in an argument, it also stays in the alert log.
When you are done, delete the virtual machine. The official quickstart also ends by deleting the Vagrant or Lima virtual machine.
Common uses
| Goal | How |
|---|---|
| Check that a rules file is valid | falco -V <rules file> (--validate). It loads and validates the file, then exits |
| Check the configuration and rules without processing events | falco --dry-run |
| List the names and descriptions of the loaded rules | falco -L (-l <rule name> for a single rule) |
| See the available fields | falco --list |
| Override a configuration value for one run | -o <key>=<value>. For example, -o engine.kind=kmod selects the driver |
| Add output destinations | Enable file_output, program_output, or http_output in falco.yaml |
| See output right away | -U (turn off output buffering). CPU use goes up |
| Run it as a container | Use the official image (falcosecurity/falco). The documentation has a least-privilege example |
| Connect to an external analysis platform | Forwarders such as Falcosidekick can send to more than 50 systems (per the official documentation) |
When you run Falco in a container, the capabilities the modern eBPF probe needs are CAP_SYS_PTRACE, CAP_SYS_RESOURCE, CAP_BPF, and CAP_PERFMON. The official example uses CAP_SYS_ADMIN instead, because Docker does not yet support CAP_BPF and CAP_PERFMON. The kernel module needs full privileges and cannot run with reduced capabilities.
How Falco differs from osquery
osquery is a tool that queries the state of the OS, such as processes, ports, and users, with SQL. Falco checks the stream of events as they happen against rules, and alerts the moment one matches. Use osquery to inspect the current state, and Falco to be told when something suspicious happens. Both help you see your own environment.
Cautions
- Install it only on environments you manage yourself. Do not monitor someone else’s machines or servers without permission.
- Falco reads kernel events, so it runs with administrator privileges. The package runs it as a systemd service that stays resident and starts at every reboot. Try it in a test virtual machine, not in production.
- Alert output includes command lines and file paths. When you choose where alerts go (a file, syslog, or a remote destination), make sure that place is somewhere those contents may be seen.
- The default rules are meant to be adjusted to your environment. Add your own tuning to reduce false positives, and your own rules for the files that matter in your environment. The README of the official rules recommends keeping Falco on the latest release to avoid compatibility issues.
- Falco finds only the behavior you wrote rules for. Installing it does not stop an intrusion. Decide separately what to do after a detection.
Read next
- The driver collects eventsEvents that arrive from the kernel
- Check each event against the rules
- Raise an alert when one matchesActivity that matches no rule produces no alert
Drivers (two)
- Modern eBPF probe (default)Built into the Falco binary. Kernel 5.8 or later is a rough guide; needs BPF ring buffer support and a kernel that exposes BTF (kernel type information)
- Kernel moduleWorks from 3.10. Installing it can require build tools such as DKMS
What a rule (YAML) contains
- ConditionWhen to alert
- Output message
- Priority
- TagsSome carry MITRE ATT&CK IDs. A guide to the technique the rule has in mind
ATT&CK T1555Credentials from Password Stores
- Example
- The default rule "Read sensitive file untrusted" alerts when a program that is not trusted reads a sensitive file such as /etc/shadow. The default rules live in falcosecurity/rules
Two points for the defender
- Rules
- The content of the rules decides the result. The README of the default rules says every adopter's monitoring needs differ, so it is best to treat the rules as examples. Tune them to your environment
- Dropped events
- The driver can drop events. The official documentation describes a feature that detects dropped events and responds, for example by alerting or exiting
Sources
- Official docs: What is Falco (falco.org/docs)falco.org/docs/
- Official repository README (falcosecurity/falco)github.com/falcosecurity/falco/blob/master/README.md
- License (Apache License 2.0)github.com/falcosecurity/falco/blob/master/LICENSE
- Official docs: Kernel events and drivers (modern eBPF, kernel module)falco.org/docs/concepts/event-sources/kernel/
- Official docs: Install on a host (DEB, RPM)falco.org/docs/setup/packages/
- Official docs: Install on a host (tarball)falco.org/docs/setup/tarball/
- Official docs: Deploy as a containerfalco.org/docs/setup/container/
- Official docs: Try Falco on Linux (quickstart)falco.org/docs/getting-started/falco-linux-quickstart/
- Official docs: Output Channelsfalco.org/docs/concepts/outputs/channels/
- Official docs: CLI argumentsfalco.org/docs/reference/daemon/cli-arguments/
- Default configuration file (falco.yaml, 0.45.2)github.com/falcosecurity/falco/blob/0.45.2/falco.yaml
- falcoctl configuration template (scripts/falcoctl/falcoctl.yaml.in, 0.45.2)github.com/falcosecurity/falco/blob/0.45.2/scripts/falcoctl/falcoctl.yaml.in
- Official rules (falco_rules.yaml in falcosecurity/rules)github.com/falcosecurity/rules/blob/main/rules/falco_rules.yaml
- Driver license notice (driver/main.c in falcosecurity/libs)github.com/falcosecurity/libs/blob/master/driver/main.c
- Release 0.45.2 (2026-10-29)github.com/falcosecurity/falco/releases/tag/0.45.2
- MITRE ATT&CK T1555 Credentials from Password Storesattack.mitre.org/techniques/T1555/
Checked on 2026-11-10
Similar tools
osquery
Impact Local onlyA tool that lets you query the state of an operating system, such as running processes, listening ports, users, and startup items, with SQL.
- Purpose
- Defense
- Type
- Command line
- Difficulty
- Intermediate
- License
- Check termsApache-2.0 OR GPL-2.0-only
- Category
- Defense and hardening / Incident response
Wazuh
Impact Local onlyA free security platform (SIEM/XDR) that collects logs, configuration, and vulnerability data from agents on your endpoints and shows it all in one dashboard.
- Purpose
- Defense
- Type
- Self-hosted server
- Difficulty
- Advanced
- License
- CopyleftGPL-2.0(一部の構成要素は Apache-2.0)
- Category
- Vulnerability scanning / Forensics