tetragon
loxilb-ebpf
tetragon | loxilb-ebpf | |
---|---|---|
11 | 1 | |
3,290 | 16 | |
2.5% | - | |
9.9 | 9.0 | |
4 days ago | 3 days ago | |
Go | C | |
Apache License 2.0 | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tetragon
- Linux runtime security agent powered by eBPF
-
Use Tetragon to Limit Network Usage for a set of Binary
Many interesting software are coming from the community, many are distributed through the package manager of the operating system. But for the others, you can download them from Github release pages, use snap or homebrew to cite a few. But this last installation method bypasses the security team that tries to improve the security of your operating system. By doing so, you are implicitly trusting the author he is not distributing malware or implementing backdoors. How many tools did you install by hand? Do you really trust all of them? Confidence is very important, yet it would be nice to limit capabilities for a set of binary that you don't fully trust. In this blog post, we will use Tetragon to forbid network usage for tools that don't need to.
-
Implement DevSecOps to Secure your CI/CD pipeline
Falco is a cloud native Kubernetes threat detection tool. It can detect unexpected behavior, intrusions, and data theft in real time. In the backend, it uses Linux eBPF technology to trace your system and applications at runtime. For example, it can detect if someone tries to read a secret file inside a container, access a pod as a root user, etc, and trigger a webhook or send logs to the monitoring system. There are similar tools like Tetragon, KubeArmor, and Tracee which also provide Kubernetes runtime security.
- Tetragon - Ebpf-based security observability and runtime enforcement
- Tetragon
- cilium/tetragon: eBPF-based Security Observability and Runtime Enforcement
- Tetragon: eBPF-Based Security Observability and Runtime Enforcement
loxilb-ebpf
-
Is there a way to debug running eBPF programs?
Have some per-cpu maps for debugging and update values of whatever you want to debug/check in these maps. Finally monitor these maps using bpftool while your custom load-balancer processes packets. Send only a few packets at a time to have a better grasp of what is happening. Meanwhile if you want to explore a more complicated ebpf load-balancer visit this repo.
What are some alternatives?
KubeArmor - Runtime Security Enforcement System. Workload hardening/sandboxing and implementing least-permissive policies made easy leveraging LSMs (BPF-LSM, AppArmor).
lb-from-scratch - A very basic eBPF Load Balancer in a few lines of C
ebpf-tproxy-splicer - This is a project to develop an ebpf program that uses ebpf tc to redirect ingress ipv4 udp/tcp flows toward specific dynamically created sockets and acts as a stateful firewall.
bmc-cache - In-kernel cache based on eBPF.
conduit - Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
ebpfkit - ebpfkit is a rootkit powered by eBPF
tracee - Linux Runtime Security and Forensics using eBPF
bpfmon-example - proof-of-concept example of using eBPF to Monitor for eBPF Map tampering
pulsar - A modular and blazing fast runtime security tool for the IoT, powered by eBPF.
TripleCross - A Linux eBPF rootkit with a backdoor, C2, library injection, execution hijacking, persistence and stealth capabilities.
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
pwru - Packet, where are you? -- eBPF-based Linux kernel networking debugger