{"resourceId":"masoko-shirudo-stock-ubuntu-kernel-no-enforcement-systemd-bpf-controls-silently-off-20261126","versions":[{"version":"external-49cd00f6d5d2428d0e7a0b6f5216c6e9989d398a4bce307ce30d9d5ad7592688","resource":{"id":"masoko-shirudo-stock-ubuntu-kernel-no-enforcement-systemd-bpf-controls-silently-off-20261126","title":"Independent requirements check of Shirudo on a stock Ubuntu 26.10 kernel finds three required kernel hooks missing, so enforcement never starts, and highlights that systemd BPF hardening silently stops applying on enforcing hosts","organization":"Masoko (Hristo Jelev, personal technical blog)","sector":"Cross-sector Linux operations relevant to state/local government, higher-education IT and research computing","geography":"Global","publishedAt":"2026-11-26 (post date)","publicationDate":"2026-11-26","eventDate":null,"sourceName":"blog.masoko.net","sourceLabel":"Independent practitioner analysis","sourceUrl":"https://blog.masoko.net/shirudo-ebpf-shields-openai-cisco/","evidenceClass":"independent-research","outcomeClass":"cautionary","topics":["infrastructure","data-security","operating-model"],"finding":"The author probed a stock Ubuntu 26.10 desktop (kernel 7.3.0-11-generic, real TPM) for the kernel pieces Shirudo needs: bpf LSM, TPM 2.0, keyring_serial and excl_prog_sha were present, but bpf_inode_init_xattr, bpf_lsm_tpm_command and bpf_lsm_mm_read_access were missing, so per the project's kernel-patches page init stops before loading anything and the host runs without enforcement. Shirudo needs a bpf-next kernel plus five carried patches not yet in bpf-next, TPM 2.0 and ML-DSA-87 keys. From the interoperability docs, an enforcing host breaks bpftrace/libbpf tools, the Cilium datapath, Tetragon and Falco eBPF drivers, XDP/tc and sched_ext, and systemd settings such as IPAddressDeny= and DeviceAllow= start but silently do not apply.","sledRelevance":"Interpretation: for state and campus Linux fleets on distribution kernels, Shirudo cannot enforce today without adopting a custom kernel, which undercuts the 'shield while you patch' pitch for typical SLED environments. The systemd point matters most: services hardened with systemd BPF directives would look locked down while protections are off, a compliance and audit risk for CJIS or HIPAA-scoped hosts.","evidence":"Practitioner analysis by one author: a rough BTF symbol probe on one desktop plus a reading of project documentation. The breakage list restates the project's own interoperability page; the author did not test workloads or systemd behavior. No measured performance. Complements archived TechRepublic coverage (Cilium/Tetragon/Falco) by adding the stock-kernel check and the systemd and container device-rule effects.","architectureImplications":"Adopting Shirudo means running a vendor-built patched kernel with signed UKI boot and systemd 256+, which shifts kernel supply-chain dependency and may conflict with distribution support contracts.","governanceImplications":"Interpretation: hardening baselines that rely on systemd BPF directives or container device rules would need re-verification on any enforcing host, and audit evidence must check effective controls, not just configuration.","securityPrivacyImplications":"Silent loss of systemd network, device and filesystem restrictions and of container device isolation could widen attack surface while operators believe controls are active; Falco's kernel-module driver still works, the eBPF driver does not.","caveats":"Homelab framing; single machine; symbol probe is not the project's own check; breakage claims come from project docs, not testing; pre-release software that may change.","streamIds":["cisco"],"roles":{"sales":"Sales framing: use this analysis to set honest expectations with state and campus infrastructure leaders: Shirudo cannot enforce on a standard distribution kernel today, and turning it on silently disables some systemd and container protections. That makes it a watch-and-lab item, not a budget line. Offer a readiness assessment that inventories kernels, eBPF tooling and systemd hardening on candidate hosts. Do not suggest near-term production use or imply that Cisco support covers the patched kernel.","engineering":"Engineering framing: run the project's own init --check-only on representative hosts rather than relying on the author's symbol probe, and inventory every eBPF consumer, including Cilium, Falco's eBPF driver, bpftrace and container runtimes on cgroup v2. Audit systemd units that use IPAddressDeny=, DeviceAllow=, RestrictFileSystems= or SocketBindDeny=, because those restrictions stop applying on an enforcing host with one log line, sometimes only at debug level. Any lab target needs the patched bpf-next kernel and TPM 2.0.","delivery":"Delivery framing: deliver a short readiness assessment for one agency or campus fleet that records kernel versions, TPM availability, eBPF dependencies and systemd hardening directives, and flags hosts where enabling Shirudo would remove controls. Pair it with a monitoring change that alerts on refused BPF loads. The output is a list of lab candidates and blockers, owned by the Linux platform team, with the CISO signing off before any host is considered for enforcement."},"roleDetails":{"sales":{"customerProblem":"SLED Linux teams hear 'shield before patch' but run distribution kernels and eBPF-based tooling that Shirudo cannot coexist with today.","stakeholders":["Linux platform lead","CISO / compliance officer","Kubernetes platform owner","Research computing director"],"discoveryQuestions":["Which hosts run distribution kernels versus custom kernels?","Which hosts use Cilium, Falco eBPF or bpftrace?","Do hardening baselines rely on systemd BPF directives?","Would a vendor-built kernel break support contracts?"],"valueHypothesis":"Bounded: a readiness assessment prevents a misguided pilot and identifies the few hosts where a lab is feasible.","potentialEngagement":"A one-to-two-week readiness assessment of kernels, eBPF dependencies and systemd hardening across a candidate fleet.","unsupportedClaims":["That Shirudo works on stock distribution kernels","That enabling it is free of side effects","That the author tested systemd or workload behavior","Any performance figures"]},"engineering":{"fit":"Limited today: only hosts that can run a bpf-next kernel with carried patches and TPM 2.0.","architectureIntegration":"Requires patched kernel, signed UKI boot, systemd 256+ and dracut systemd initrd; conflicts with eBPF networking and monitoring stacks.","prerequisites":["bpf-next kernel with five carried patches","TPM 2.0 at /dev/tpmrm0","systemd 256+ booted through systemd-stub","Inventory of eBPF consumers"],"constraints":["No compatibility mode for older kernels","Breaks Cilium datapath and eBPF security agents","Container device rules on cgroup v2 refused","Pre-release"],"security":"Main risk is silent loss of systemd and container restrictions; verify effective controls, not configuration.","proofOfValue":["Run init --check-only on candidate hosts","Test each systemd hardening directive on an enforcing lab host","Confirm container runtime behavior on cgroup v2","Confirm alerting on refused BPF loads"]},"delivery":{"work":"Inventory kernels, TPMs, eBPF consumers and systemd hardening; produce a candidate and blocker list; add monitoring for refused BPF loads.","dependencies":["Access to host inventories and configuration management","Linux platform team time","Security sign-off"],"ownership":"Linux platform team, with the CISO accountable for control baselines.","skillsAdoption":"Kernel and systemd hardening knowledge; brief SOC on new BPF refusal signals.","governanceCheckpoints":["Approve assessment scope","Review hosts where controls would be lost","CISO sign-off before any enforcement lab"],"acceptanceCriteria":["Proposed: 100% of candidate hosts inventoried for eBPF consumers","Proposed: every systemd BPF directive on lab hosts verified effective or flagged","Proposed: refused-BPF alert fires in test"],"risks":["False sense of security from silently disabled controls","Kernel support conflicts","Docs may change before release"]}},"retrievedAt":"2026-11-27T04:18:06Z","enrichedAt":"2026-11-27T04:23:18Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Teams would need kernel-build, secure-boot and BPF skills that most SLED Linux operations groups do not staff today.","procurementImplications":"Interpretation: any evaluation should confirm whether a patched kernel voids distribution or appliance support, and whether existing eBPF-based security tools (Cilium, Tetragon, Falco) are under contract on candidate hosts.","operatingModelImplications":"Adds a kernel-supply decision and a control-verification step to patch management; monitoring must alert on refused BPF loads rather than rely on debug-level logs.","sourceVerification":{"openedUrl":"https://blog.masoko.net/shirudo-ebpf-shields-openai-cisco/","referenceExcerpt":"So on a normal distro kernel Shirudo does nothing, even if you get it installed.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}