Runtime Security with Falco on Kubernetes
Advanced · 60 minutes · 100 points
In this advanced hands-on lab, you will install and configure Falco, the open-source runtime security tool, to detect and alert on suspicious behavior in a Kubernetes-like environment. You will write custom Falco rules, simulate real-world attack scenarios such as privilege escalation and sensitive file access, analyze Falco alerts, and tune rules to reduce false positives. By the end of this lab, you will have practical experience implementing runtime threat detection as part of a defense-in-depth security strategy.
What you’ll learn
- Install and configure Falco in userspace (eBPF-lite) mode inside a privileged container
- Write and load custom Falco rules to detect sensitive file access, shell spawning, and privilege escalation attempts
- Simulate attack scenarios and analyze Falco alert output to validate detection coverage
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 3 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- At least 4GB of RAM available
- Linux host recommended for full Falco kernel module support
Topics: falco, runtime-security, kubernetes, threat-detection, eBPF, MITRE-ATT&CK, syscall-monitoring, security-rules, incident-response, cloud-native-security
Create a free account to start this lab.
Keep going
- Cloud Security Posture Management (CSPM) with Prowler
- Advanced Threat Modeling with STRIDE & Attack Trees
- Supply Chain Security: Sigstore, cosign & SBOM
- Penetration Testing Methodology & Toolchain
- Zero Trust Architecture Implementation
- CloudTrail Forensics: Tracing a Leaked AWS Access Key with jq and DuckDB