Table of Contents

Falco

Falco - A runtime security tool designed for container security, monitoring the behavior of applications to detect anomalies. https://falco.org

Falco is an open-source, cloud-native runtime security tool focused on detecting anomalous and potentially malicious behavior within your applications and containers. It functions as a behavioral activity monitor, analyzing system calls, container actions, and other runtime data to identify suspicious activities that may indicate security breaches or compliance violations.

Key Features

Benefits

Code Examples

Falco's core functionality revolves around its rule definitions. Here's a simplified example of a Falco rule:

```yaml - rule: Unexpected outbound connection

 desc: Detect outbound connections from containers that shouldn't be making them
 condition: >
   spawned_process and 
   container and 
   not container.image.repository in (allowed_outbound_images) and 
   network and 
   network.direction="outbound"
 output: >
   Unexpected outbound connection detected (command=%proc.cmdline image=%container.image.repository)
 priority: WARNING
 tags: [network, mitre_execution]
```

This rule triggers a warning when a container attempts to establish an outbound network connection, but its image repository is not included in the `allowed_outbound_images` list.

Additional Resources