Description
shirudo is a BPF-based security platform that enhances the security posture of Linux systems by enforcing strict controls over executable code. Its core principle is to ensure that Linux targets execute only BPF (Berkeley Packet Filter) programs that have been explicitly signed by their operator. This mechanism provides a robust defense against unauthorized code execution and tampering.
Read More
The platform integrates deeply with the system's trusted computing base, starting from the initrd in early boot to ensure continuous protection. Every modification or operation involving upatches is meticulously measured into a Trusted Platform Module (TPM)-backed register. This register records all changes, and the TPM signs these records, enabling remote verification of the system's integrity. Functionality is delivered through "upatches," which are signed packages pulled by targets from OCI (Open Container Initiative) registries.
shirudo offers several key capabilities, including live patching for both kernel and userspace, which complements traditional kernel live patching with faster rollouts and bridges deployment cycles. It provides system hardening through sandboxes for containers, Kubernetes Pods, and LLM agents, along with kernel hardening implemented as upatches. The platform also delivers runtime security and observability for kernel and userspace applications, including LLM agents, by collecting and aggregating data in BPF maps and pushing it via OpenTelemetry to collectors.
Designed for versatility, shirudo supports embedded and edge devices, allowing them to receive upatches in the same manner as servers. It runs on x86-64, arm64, and riscv64 architectures, adding minimal overhead to the trusted computing base beyond the kernel itself. The platform's security model is built on several properties: it's always on, signed and sealed (BPF is admitted only through signed loaders against a sealed BPF keyring), features an in-kernel control plane where every load and unload is a kernel-verified signed loader, and is measured via a TPM-backed register. Its lightweight core focuses on protecting its own assets, with all other functionality shipping as upatches. upatches are written in plain BPF C, making them readable and maintainable. Targets pull upatches and push telemetry, with no listening connections on the target.
To operate shirudo, specific system requirements must be met, including kernel versions with particular commits and configurations, TPM 2.0 support, and systemd 256 or newer. The operator host requires OpenSSL 3.5+, libcurl 7.75+, tss2-esys 4.0+, and clang/LLVM 23 with the BPF target. The platform does not depend on outside services or accounts for its core operation and does not send data anywhere unless configured to push telemetry to OpenTelemetry collectors. It is designed for production environments, offering a robust defense layer, though it emphasizes that it is one part of a defense-in-depth strategy, trusting the underlying kernel for everything else.
- CategoryAI Cybersecurity Tools
- Pricing ModelOpen source
- DeploymentOn-Premise
- PlatformsLinux
shirudo's Core Features
BPF-based security platform for Linux targets
Execution of only operator-signed BPF programs
Every change measured into a TPM-backed register
Functionality delivered as signed upatches from OCI registries
Live patching for kernel and userspace applications
Security mitigations blocking vulnerable code paths
System hardening with sandboxes for containers, Kubernetes Pods, and LLM agents
Runtime security and observability for kernel and userspace applications
Data collection and aggregation in BPF maps
OpenTelemetry integration for pushing data to collectors
Support for embedded and edge devices
Runs on x86-64, arm64, and riscv64 architectures
Always on, part of the trusted computing base from early boot
In-kernel control plane for load and unload operations
Plain BPF C for upatch development
How to use shirudo?
Build and Sign upatches: Compile BPF C source with clang, generate a signed loader using shirudo-build, and create a .upatch file.
Package and Publish: Use shirudo bpm build to create .bee packages from upatches and shirudo bpm push to upload them to an OCI registry.
Pull and Load upatches: Targets automatically fetch and install packages from OCI registries via shirudo bpm repo update and upgrade, or manually with shirudo bpm install.
Verify and Measure: The kernel verifies the signed loader, shirudo loads the upatch, and extends a TPM measurement register with the payload digest.
Attest System Integrity: Operators use shirudo attest to generate TPM quotes and eventlogs for remote verification of the target's state.
shirudo's Use Cases
- Kernel Live Patching
- System Hardening
- Runtime Security
- Observability
- Embedded Device Security
- Supply Chain Security
- Integrity Attestation
- Vulnerable Code Path Blocking







