DEF CON 27 - Jeff Dileo - Evil eBPF In-Depth Practical Abuses of an In-Kernel Bytecode Runtime @HackersOnBoard
DEF CON 27 - Jeff Dileo - Evil eBPF In-Depth Practical Abuses of an In-Kernel Bytecode Runtime  @HackersOnBoard
Uploaded December 2019 | Updated September 2026, 1 day ago
eBPF (or "extended" Berkeley Packet Filter) is a bytecode instruction set and virtual machine used as a safe computing environment within the Linux kernel to perform arbitrary programmatic actions. It is a redesign of Linux's original in-kernel BPF bytecode VM used to power features like tcpdump filters. eBPF has an entirely different set of capabilities and instructions, with its primary goal being to serve as a JIT-able virtual machine instruction set that can be targeted by compilers of a memory-safe "restricted C" language. In the Linux kernel, it is actively being applied to anything and everything to provide performant programmatic capabilities to userland that extend traditionally kernel-based functionality.

In this exploit development focused talk, we will first introduce eBPF and discuss several nefarious techniques enabled by the technology. As we do so, we will cover the respective sets of APIs, file descriptor types, and other eBPF machinery that enable such techniques, building up from various forms of hidden IPC channels to full-fledged rootkits. Within this talk, we will walk through the implementations of the techniques we discuss so that attendees will walk away with the knowledge of how to implement their own variants. Along the way we will discuss novel container breakout techniques and interesting "dual-purpose" eBPF features that enable the development of mutative syscall hooks that work for processes that work for processes already attached by a debugger. Finally, we will provide insight on how defenders should begin to attempt to detect and recover from such abuses, when possible at all.

This presentation significantly extends on work we first presented at 35C3, which focused more heavily on the underlying aspects of general eBPF-based kernel tracing. In contrast, this talk will demo new techniques and include substantially improved versions of techniques presented previously as proofs-of-concept.
DEF CON 27 - Jeff Dileo - Evil eBPF In-Depth Practical Abuses of an In-Kernel Bytecode RuntimeDEF CON 27 - Matt Wixey - Sound Effects Exploring Acoustic Cyber-weaponsDEF CON 27 - Cult of the Dead Cow - Change the World, cDc Style Cow tips from the first 35 yearsDEF CON 27 - Panel - DEFCON Wants to Help Hackers Anonymously Submit Bugs to the GovernmentDEF CON 27 - Anish Athalye - Want Strong Isolation Just Reset Your ProcessorDEF CON 27 - Wenxiang Qian - Breaking Google Home: Exploit It with SQLite(Magellan)DEF CON 27 - Joe Grand - Behind the Scenes of the DEF CON 27 BadgeDEF CON 27 - Firmware Slap Automating Discovery of Exploitable Vulnerabilities in FirmwareBlack Hat USA 2018 - Threat Modeling in 2018 Attacks, Impacts and Other UpdatesDEF CON 27 - Bernhard Mueller - The Ether Wars Exploits counter-exploits and honeypots on EthereumDEF CON 27 - Omer Yair - Exploiting Windows Exploit Mitigation for ROP ExploitsDEF CON 27 - jiska - Vacuum Cleaning Security Pinky and the Brain Edition
HackersOnBoard |

DEF CON 27 - Jeff Dileo - Evil eBPF In-Depth Practical Abuses of an In-Kernel Bytecode Runtime

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER