Connect with us

    Hi, what are you looking for?

    Tech

    Shirudo Under the Hood: Upatches, TPM and the Java4Shell Test

    OpenAI and Cisco call Shirudo an AI eBPF shield. The docs describe signed upatches, an untrusted registry, TPM evidence, and a Java bytecode test.”

    Shirudo Under the Hood: Upatches, TPM and the Java4Shell Test
    Shirudo Under the Hood: Upatches, TPM and the Java4Shell Test

    The Java4Shell demonstration that anchors the Cisco and OpenAI launch is not an eBPF program. While the headlines around Shirudo call it an “eBPF shield”, Isovalent’s 23 November 2026 engineering post notes that the mitigation was actually written as Java bytecode. It was injected into a running Elasticsearch 9.5.5 process and added validation on the base64 input, with the reproduced log line reading "Base64 guard installed on java.util.Base64$Decoder.decode0 (classfile)" at 2026-11-18T12:14:43.334Z. That distinction lives in the engineering write-up rather than the first wave of coverage, making it the right place to start.

    OpenAI’s announcement and Cisco’s executive post appeared on 23 November 2026, alongside a Cisco newsroom release carrying the same date and secondary coverage the following day. OpenAI frames the project as a way to extend what it calls the defender’s window while a patch is rolled out. Checking those claims against the operators’ own text and the project’s documentation clarifies where the headline narrative ends and the actual architecture begins.

    What the delivery unit actually is

    The Shirudo project page does not call the deliverable a shield; it calls it an upatch, a BPF program delivered to a running machine without a reboot. The build path starts with BPF C source and compiles it with clang. It signs a loader of type BPF_PROG_TYPE_SYSCALL with an ML-DSA-87 key instead of signing the object itself, because libbpf rewrites the object during loading — filling map descriptors, applying relocations and resolving kernel symbols — meaning the bytes the kernel checks are not the bytes the operator built. shirudo bpm build packs the signed upatch and its unload directive into a .bee package, and shirudo bpm push uploads it with a signed index to an OCI registry that the design explicitly does not trust. The registry can withhold or replay bytes, but it cannot manufacture an artifact that passes the target’s signature checks.

    On the target, timers run bpm repo update and bpm upgrade about a minute after the previous run. The kernel admits a userspace BPF load only while two BPF LSM programs bracket a signature check against the sealed .bpf keyring, ensuring — as the what-is-shirudo page notes — that root without the operator’s signing key cannot run BPF the operator did not ship. Every load extends a per-boot TPM measurement register, and shirudo attest --nonce=<hex> produces a TPM quote and certification that the operator verifies offline by replaying the eventlog. The guarantee is about who may load code and whether the change can be proven later — not about whether the code is an effective mitigation, as no accuracy rate or benchmark test is published.

    This is not a drop-in agent for an ordinary Linux fleet. The same page lists a bpf-next development kernel with the signed BPF loader interface and the BPF LSM, alongside carried kernel patches and TPM 2.0 on x86-64, arm64 and riscv64 — strict prerequisites rather than deployment advice. The source repository is BSD-2-Clause with BPF programs dual-licensed BSD and GPL, as OpenAI’s announcement also states.

    What the launch posts don’t measure

    The documentation’s comparison page is the clearest statement of where Shirudo fits, and that fit is mostly complementary. Kernel live patching can replace a function body with native code built for one kernel build and not measured into the TPM. An upatch cannot replace a function body, but it is verifier-checked, CO-RE portable and measured. IMA and IPE cover files the kernel executes, not a BPF program arriving through bpf(). Signed BPF alone records a verdict without requiring anything, while measured boot stops at boot and leaves later BPF state unrecorded. For BPF delivery, Shirudo takes the place of a daemon-based agent, while inventory, rollout orchestration and remote response stay with the infrastructure a fleet already runs.

    The same docs say what the system does not do, which the launch posts leave out. A signature proves authorship and integrity, not that an upatch is a correct mitigation. Shirudo does not replace kernel updates and has no daemon, listening socket, push channel, SSH integration or fleet inventory. It does not defend against a compromised kernel, BPF verifier, TPM or hardware, and it does not retain logs. Enforcement begins only after shirudo init, and if init fails in the initrd the boot continues without enforcement, with status and attestation as the only signals. Meanwhile, the Java4Shell log excerpt ends with "Base64 guard rejected candidate: length=65, padding=1, remainder=1, alphabet=standard". Isovalent calls the result "appears to be effective", a qualitative judgement rather than a measured detection rate — setting a boundary rather than a benchmark, with no false-positive count or third-party reproduction appearing in the published sources.

    One number in Cisco’s post also warrants scrutiny: the PHP flaw is said to have "reportedly affected an estimated 70% of global websites and web infrastructure". With no source attached to that estimate in the post, the figure remains unverified. In a broader context, the site’s earlier automated-exploitation analysis and its OpenAI model-escape report approach the same shrinking window from different angles, while the safety-pace analysis discusses disclosure timing without naming this runtime; readers looking for broader coverage can also browse the AI-cybersecurity tag and zero-day tag archives.

    Taken together, the gaps are clear: there are no measured false-positive or performance figures, no independent reproduction of the Elasticsearch test, no production fleet data, and no source-dated changelog beyond the documentation’s 18 November 2026 last-change stamp. Each of those details remains unknown rather than estimated.

    You May Also Like

    Blog

    In response to SpaceX’s own public stance, Virginia Attorney General Jay Jones filed a complaint in the Circuit Court for the City of Richmond...

    Cars AI Tech

    AI Assistant says it supported 89 Pinkstones sales worth 2m. The case study gives no baseline, control or attribution rule. What that number does...

    AI Tools Directory

    Free-AI income claims checked at the operator source in 2026: what Claude, Gemini, ChatGPT and ElevenLabs publish, and what a first-1000 story cannot prove."

    Tech

    Best Free Live Score Apps in 2026: The Ultimate Guide for Sports Fans