Artica Wiki

Docker: Runtime detection with Falco

Alerts when a container behaves suspiciously, from the Falco runtime security engine installed on the appliance.

Back to Artica for Docker Edition

The image analysis tells you what could go wrong in a container.
Runtime detection tells you what a container is doing right now.
Artica raises an alert when a container behaves like an intruder: a shell opened in a web server, a password file read, an unexpected program started.
You see it within seconds.

The Runtime detection page

What it does

Artica installs Falco, the open source runtime security engine, as a service of the appliance.
Falco reads system events from the kernel and matches them against a set of rules.
Artica's own rules keep only the activity of containers.
The host itself is out of scope.

Artica Docker Manager reads each alert, links it to its container and its stack, masks the secrets, and stores it for 30 days.
Falco only watches and never changes a container.

Benefits

Use cases

Requirements

The page checks these prerequisites and says which one is missing.

Install Falco

  1. Open Docker > Runtime detection.
  2. Click Install.
  3. Wait until the state shows Watching.

Runtime detection before Falco is installed

The Docker status page also shows Falco, in the Runtime detection (Falco) card.
From there you can stop, start or remove it.

Read the alerts

The page shows:

Filter the list by period, severity, stack, container or text.
Click a severity to show only that severity and the higher ones.

Click an alert to open its details:

The details of an alert

Each container window also has a Runtime tab with its own alerts.
The containers table shows the number of alerts of the last 24 hours.

Manage the rules

Open Docker > Status and click Rules at the bottom of the Runtime detection (Falco) card.
Untick a rule to turn it off, or tick it to turn it back on.
Falco restarts with the new rule set within a few seconds.

Alert storage

Setting Value
Retention 30 days
Maximum storage 256 MB
Daily quota per container 1,000 alerts
Merge window 60 seconds

Past its daily quota, a container's alerts are only counted.
Alerts of priority Error and above are always stored.
When the storage is full, the oldest days go first.

Permissions

Action Permission
Read the alerts View the runtime detection alerts
Delete alerts Full control (Docker administrator)
Install, start, stop, remove Falco and change the rules Full control (Docker administrator)

Troubleshooting

Symptom What to do
Falco stays not installed after a click on Install The Falco package may not be published yet for your Artica version.
Update Artica and try again.
State Events lost The kernel dropped events under heavy load.
Some activity was not analysed.
No alert after a test Use a command that matches a rule, such as cat /etc/shadow in a container.
Wait up to 30 seconds.
An alert you expect every day is missing The container may have reached its daily quota.
The page tells how many alerts were only counted.