Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save saiyam1814/0a2c041c50507163a70f24e1ae95f259 to your computer and use it in GitHub Desktop.
Save saiyam1814/0a2c041c50507163a70f24e1ae95f259 to your computer and use it in GitHub Desktop.
Falco demo
Ubuntu scenario
curl -s https://falco.org/repo/falcosecurity-packages.asc | apt-key add -
echo "deb https://download.falco.org/packages/deb stable main" | tee -a /etc/apt/sources.list.d/falcosecurity.list
apt-get update -y
apt-get -y install linux-headers-$(uname -r)
apt-get install -y falco
systemctl mask falcoctl-artifact-follow.service
falco-driver-loader bpf
systemctl start falco-bpf.service
cat /var/log/syslog | grep falco
docker run --name ubuntu_bash --rm -i -t ubuntu bash
cat /var/log/syslog | grep falco | grep ubuntu
vi /etc/falco/falco_rules.yaml
"%evt.time %container.id %container.name"
docker run --name ubuntu_bash2 --rm -i -t ubuntu bash
cat /var/log/syslog | grep falco | grep ubuntu
@saiyam1814
Copy link
Author

Screenshot 2023-03-02 at 10 45 59 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment