The companies Cisco and OpenAI presented the Shirudo platform, which allows you to quickly block vulnerabilities in the Linux kernel and in user space components without rebooting the kernel and without stopping applications. Shirudo can be used when it is impossible to immediately update vulnerable components, for example, when patches are not yet ready, unscheduled service interruption is unacceptable, additional time is required to test patches, or the infrastructure needs to adapt to changes in new versions. To block vulnerabilities, the Linux kernel subsystem eBPF is used, which allows you to connect handlers on the fly to interfere with the operation of the system. The toolkit code is written in C and distributed under a BSD license, BPF handlers are supplied under a dual BSD+GPL license. Work on x86-64, arm64 and riscv64 systems is supported.
Micropatches (upatches) for blocking vulnerabilities are drawn up in the form BPF programs loaded from user space and digitally signed. Micropatches are downloaded from an external OCI directory and verified, which allows you to separate the processes of creating and applying micropatches and ensuring their secure delivery. Components
Shirudo are initialized from the initrd at an early stage of boot and are verified with involvement of the TPM chip using digital signatures and controlled boot, which does not allow bypassing or disabling protection even if you gain root access to the system.
Unlike live patches, which allow you to make changes to the kernel without it reboots implemented through eBPF micropatches can be prepared and delivered faster, allow work in monitoring mode for verification before applying protection, and also make it possible to block problems not only in the kernel, but also in user space. Demonstrated using Shirudo to block an attack on Elasticsearch by exploiting a Java4Shell vulnerability, as well as to protect against several vulnerabilities in the kernel.
In addition to protection against specific vulnerabilities, the platform can also be used to implement additional measures to protect the kernel and system, strengthening container isolation