Skip to the road
Adminpatchlog

Microsoft 365 & SharePoint

Cisco and OpenAI’s Shirudo Uses eBPF AI Agents to Shield Linux Systems

Michael Brown 489 travellers

Shirudo applies temporary, signed eBPF mitigations while teams prepare patches, with a Java4Shell test showing a shield can block exploitation without stopping Elasticsearch.

Cisco and OpenAI’s Shirudo Uses eBPF AI Agents to Shield Linux Systems

Shirudo aims to close the gap between discovering a vulnerability and deploying its permanent fix. The open source project from Cisco and OpenAI uses AI agents to create temporary protections for running systems, giving security teams time to test and roll out patches. In a controlled test, a Shirudo shield blocked a Java4Shell exploit attempt against Elasticsearch while the service kept running.

That approach reflects a change in the pace of vulnerability response. Cisco president and chief product officer Jeetu Patel says AI agents are helping defenders find flaws, while attackers can act on disclosed vulnerabilities within hours. Permanent fixes still need to be developed, tested and deployed. Shirudo is designed to put a temporary control in place during that interval, with human teams retaining approval and deployment authority.

Temporary protections built into Linux

Shirudo is built on extended Berkeley Packet Filter (eBPF), which lets small, sandboxed programs run inside the Linux kernel without changing application source code or loading additional kernel modules. The project uses that capability to observe suspicious activity and apply targeted protections to running systems.

Its agents investigate vulnerabilities, generate a proposed shield and check whether that mitigation blocks an attack. The shield is cryptographically signed and verified before it can be loaded. Linux’s eBPF verifier checks programs against safety rules, while kernel security controls limit unauthorized changes. A Trusted Platform Module (TPM) supports a verifiable record of protections added to or removed from a system.

The design can operate even after an attacker has gained access to a system. That makes the integrity checks and restrictions on what can change central parts of the protection model. Shirudo’s agents can also monitor false positives, application performance and system health. Evidence for each control is carried across the system, and feedback, including red-team findings, can inform further changes.

These safeguards don’t remove the need for review. The project’s workflow lets human teams test an agent’s proposed code and approve or reject it before deployment. Teams can choose how much autonomy to allow. The practical question for operators will be how to set that boundary: an agent that can respond quickly may shorten exposure, but its proposed code still needs to fit the organization’s testing and change controls.

What the Java4Shell test showed

In a controlled environment, researchers supplied Shirudo with information about the Java4Shell vulnerability. The system generated a mitigation in Java bytecode, then injected it into a Java application. The shield added validation for base64 input to block the exploit attempt. In the reported test, Elasticsearch continued to run as usual while the mitigation stopped the attack.

That result demonstrates a specific use case: applying a narrowly targeted protection without waiting for a full application patch or interrupting the service. It doesn’t establish how Shirudo will perform across different workloads or production environments. Operators assessing the project will need to examine its behavior with their applications, including whether a proposed shield blocks legitimate traffic and how it affects performance.

Shirudo’s agent loops can start from a vulnerability disclosure or search for flaws independently. Agents can generate mitigation code, reproduce and validate an exploit, and assess possible protections. The loop continues until an agent identifies a working approach. After the shield is signed, it can be deployed to vulnerable nodes and removed when a permanent patch is installed.

Shirudo also tracks active exploitation attempts with a “hit” count, allowing teams to investigate observed activity on demand. Continuous monitoring can help operators assess whether a shield is still needed and whether the application remains healthy. The project describes this process as adjustable, so teams can decide how much of the investigation and response agents handle.

From Tetragon to an open source project

Shirudo builds on Tetragon, an eBPF-based security platform developed by Isovalent, which Cisco acquired in 2024. Tetragon is already part of Cisco’s Live Protect capability. Cisco and OpenAI say they rewrote the platform for agent-driven workflows.

In the earlier approach described by Isovalent co-founder Thomas Graf and chief open source officer Liz Rice, agents worked through human-oriented consoles, configuration files and policy languages. That required translating between the machine code an agent handled and formats people could review. Shirudo is designed to let agents work directly with code, an approach its developers say suits agents’ ability to generate code and process large volumes of technical context.

The project fits Cisco’s stated goal of making security part of the infrastructure itself. OpenAI has also described work on Linux foundations, including kernel and core-service hardening, limits on workload permissions, and safer updates and recovery. Those are broader aims; the Java4Shell exercise remains the concrete example described for Shirudo’s shielding workflow.

Shirudo is available under the BSD 2-Clause license. Its BPF programs are dual licensed under GPL and BSD. The project invites developers, security researchers and infrastructure operators to inspect the code, test its results and contribute.

For IT teams, the next useful step is to evaluate the project’s code and test the mitigation workflow against representative applications and workloads. Shirudo shows how a temporary kernel-level shield could help cover the patching window; whether it belongs in a production response plan depends on validation, operational controls and the level of autonomy a team is prepared to allow.

Source: Michael Brown · www.infoworld.com

On the same route