
falco v0.45.0-rc1
Real-time cloud-native runtime security agent for Linux that monitors syscalls and container/Kubernetes metadata to detect anomalous behavior and threats.
Falco
Falco is a cloud native runtime security tool for Linux operating systems. It is designed to detect and alert on abnormal behavior and potential security threats in real-time.
At its core, Falco is a kernel monitoring and detection agent that observes events, such as syscalls, based on custom rules. Falco can enhance these events by integrating metadata from the container runtime and Kubernetes. The collected events can be analyzed off-host in SIEM or data lake systems.
Falco, originally created by Sysdig, is a graduated project under the Cloud Native Computing Foundation (CNCF) used in production by various organisations.
For detailed technical information and insights into the cyber threats that Falco can detect, visit the official Falco website.
For comprehensive information on the latest updates and changes to the project, please refer to the Change Log.
The Falco Project
The Falco Project codebase is maintained under the falcosecurity GitHub organization. The primary repository, falcosecurity/falco, holds the source code for the Falco binary, while other sub-projects are hosted in dedicated repositories. This approach of isolating components into specialized repositories enhances modularity and focused development. Notable core repositories include:
- falcosecurity/libs: This repository hosts Falco's core libraries, which constitute the majority of the binary’s source code and provide essential features, such as kernel drivers.
- falcosecurity/rules: It contains the official ruleset for Falco, offering pre-defined detection rules for various security threats and abnormal behaviors.
- falcosecurity/plugins: This repository supports integration with external services through plugins that extend Falco's capabilities beyond syscalls and container events, with plans for evolving specialized functionalities in future releases.
- falcosecurity/falcoctl: A command-line utility designed for managing and interacting with Falco.
- falcosecurity/charts: This repository publishes Helm charts for deploying Falco and its ecosystem. The Falco chart source lives in
chart/falco.
For further insights into our repositories and additional details about our governance model, please visit the official hub of The Falco Project: falcosecurity/evolution.
Getting Started with Falco
If you're new to Falco, begin your journey with our Getting Started guide. For production deployments, please refer to our comprehensive Setup documentation.
As final recommendations before deploying Falco, verify environment compatibility, define your detection goals, optimize performance, choose the appropriate build, and plan for SIEM or data lake integration to ensure effective incident response.
Demo Environment
A demo environment is provided via a docker-compose file that can be started on a docker host which includes falco, falcosidekick, falcosidekick-ui and its required redis database. For more information see the docker-compose section
Join the Community
To get involved with the Falco Project please visit the Community repository to find more information and ways to get involved.
If you have any questions about Falco or contributing, do not hesitate to file an issue or contact the Falco maintainers and community members for assistance.
How to reach out?
- Join the #falco channel on the Kubernetes Slack.
- Join the Falco mailing list.
- File an issue or make feature requests.
Commitment to Falco's Own Security
Full reports of various security audits can be found here.
In addition, you can refer to the falco and libs security sections for detailed updates on security advisories and policies.
To report security vulnerabilities, please follow the community process outlined in the documentation found here.
Building
For comprehensive, step-by-step instructions on building Falco from source, please refer to the official documentation.
Testing
Expand Testing Instructions
Falco's Build Falco from source is the go-to resource to understand how to build Falco from source. In addition, the falcosecurity/libs repository offers additional valuable information about tests and debugging of Falco's underlying libraries and kernel drivers.
Here's an example of a cmake command that will enable everything you need for all unit tests of this repository:
cmake \
-DUSE_BUNDLED_DEPS=ON \
-DBUILD_DRIVER=ON \
-DBUILD_FALCO_MODERN_BPF=ON \
-DCREATE_TEST_TARGETS=ON \
-DBUILD_FALCO_UNIT_TESTS=ON ..;
Build and run the unit test suite:
nproc=$(grep processor /proc/cpuinfo | tail -n 1 | awk '{print $3}');
make -j$(($nproc-1)) falco_unit_tests;
# Run the tests
sudo ./unit_tests/falco_unit_tests;
Optionally, build the driver of your choice and test run the Falco binary to perform manual tests.
Lastly, The Falco Project has moved its Falco regression tests to falcosecurity/testing.