shirudo-dev/shirudo
概要
eBPFベースのセキュリティプラットフォーム
セキュリティ計測したスター増加
- 24時間
- +236
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
shirudo is a BPF-based security platform for Linux. After boot-time initialization, it restricts BPF program loads from userspace to signed loaders. Operators ship signed micropatches, called upatches, and verify a target's measured upatch state with TPM-signed evidence.
shirudo (Japanese シールド, pronounced “shee-roo-doh”) means “shield”.
Read the announcements of shirudo on the blogs of OpenAI and Cisco.
Quickstart
- Try shirudo in a local VM. The VM uses a software TPM.
- Read the documentation.
shirudo is pre-release. Production targets require a Linux kernel with the signed-loader ABI and shirudo's kernel patches, plus a TPM 2.0. See the system requirements.
CI runs all test tiers on x86-64 and host tests on arm64. The test VM also boots locally on arm64. Target validation for riscv64 is pending. The operator and target may use different architectures. See architecture support.
Use cases
- Runtime security and observability. Observe process executions,
network activity, and privilege changes with the included
kernel-obspackage. - Live mitigations. Use BPF upatches to block vulnerable paths at kernel hooks or Java upatches to guard application code.
- System hardening. Use BPF upatches to enforce policies for containers, Kubernetes Pods, and LLM agents.
- Embedded and edge devices. Deliver signed mitigations to devices with long update cycles.
Properties
- Boot-time enforcement. On production targets, enforcement starts
when
shirudo initattaches its guards from the initrd. The guards protect shirudo's runtime and state from root on the target without the operator's signing key. - Signed and sealed BPF. BPF upatch loads and unloads go through
loaders that the kernel verifies against the sealed
.bpfkeyring. - Signed Java agents. shirudo verifies Java upatches in userspace. Configured JVMs load the agents at startup. See Java agent upatches.
- TPM measurement. Changes to the loaded upatch set extend a
per-boot TPM register.
shirudo attestreturns evidence that operators can verify offline. - Upatches are small logically contained programs that engineers and agents can read, generate and maintain. Commands take and produce structured data.
- Pull-based delivery. Targets use one-shot commands to pull packages from OCI registries and export telemetry to configured OpenTelemetry collectors.
The threat model states where each of these mechanisms stops.
How it works
BPF upatch lifecycle, from signing through offline verification. Follow the numbered steps.
By role
- New to shirudo: FAQ
- Operators, who deploy and run targets: Deployment checklist, then Read shirudo status
- upatch authors: Your first upatch, then From a kernel fix to a upatch
- Security reviewers: Security model, then Threat model
- Contributors: Develop locally
Specifications
- Beefile: the Beefile that describes a package
- .upatch format: the little-endian container with an architecture-neutral signature
- upatch tree: the operations, segments and publication document of a upatch tree
- Keepalive: the record a target sends its collector, its body and its TPM quote
Releases
main is the development branch. Development packages are available as run artifacts from the Build packages workflow. Release tags publish their packages on GitHub Releases.
For upgrades of shirudo and the kernel on a target, consult Upgrade shirudo and the kernel.
Software Bill of Materials
Every package comes with a Software Bill of Materials (SBOM) in SPDX format.
Project status
License
shirudo is licensed under the BSD-2-Clause License. BPF programs are dual-licensed BSD/GPL. Each source file holds an SPDX license identifier. The tree vendors a few source files from third-party projects under different but compatible licenses; those files retain their original SPDX identifier and copyright notices.
関連プロジェクトを探す
読み込み中…