Home

Awesome

Container Security Workshop with Falco

This repository contains the necessary files required to go through the exercises in the Container Security Workshop offered by the Falco team. Typically this workshop is offered as an instructor led course.

Exercises

Container Security Workshop - Google Slides

Each exercise contains a commands file with the commands to complete the exercise. In addition, the slides contain the commands to run and the expected output.

Exercise 1

This exercise walks you through the Falco basics. It teaches you about Falco rules, and how to use Sysdig to profile an application to create custom rules. At the end of this exercise, you'll understand how to write your own Falco rules.

Exercise 2

This exercise walks you through deploying Falco on Kubernetes and how to integrate Falco with Kubernetes Audit Logging. At the end of this exercise you'll understand how Kubernetes audit logging works and how Falco can detect abnormal behavior through Kubernetes audit logs.

Exercise 3

This exercise walks you through implementing a Response Engine with Security Playbooks. The playbooks are implemented as Serverless functions and allow you to take action based on Falco alerts. As part of this, you'll deploy Falco via Helm, as well as deploy NATS and Kubeless. At the end of this exercise, you'll understand how to take automated action on Falco alerts.

Exercise 4

This exercise walks you through setting up an EFK (Elasticsearch, Fluentd, and Kibana) stack and collecting Falco alerts for storage and analysis. You'll deploy Falco and the EFK stack via Helm, and create visualizations and dashboards in Kibana. At the end of the exercise, you'll understand how to collect and store Falco alerts, as well as how to visualize the alerts.

Required Workstation

AWS

For simplicity we've provided an AWS AMI (ami-0893c0781761fa458, us-east-1) that provides a workstation with all the required software.

Roll Your Own

If you wish to build your own workstation image, you can reference the Packer template provided in this repo. Anything installed in the image is done primarily by a Chef Cookbook. Additional software is installed by the setup-falco.sh script in order to pull the latest versions.

License

Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

You are free to:

Under the following terms:

For the full text of the license, see COPYING.