Unleashing Unprivileged eBPF Potential with Dynamic Sandboxing
Unleashing Unprivileged eBPF Potential with Dynamic Sandboxing
复制标题
DOI:
10.1145/3609021.3609301
复制
发表时间:
2023-08
期刊:
影响因子:
--
通讯作者:
S. Lim;Xueyuan Han;Thomas Pasquier
中科院分区:
文献类型:
--
作者:
S. Lim;Xueyuan Han;Thomas Pasquier
For safety reasons, unprivileged users today have only limited ways to customize the kernel through the extended Berkeley Packet Filter (eBPF). This is unfortunate, especially since the eBPF framework itself has seen an increase in scope over the years. We propose SandBPF, a software-based kernel isolation technique that dynamically sandboxes eBPF programs to allow unprivileged users to safely extend the kernel, unleashing eBPF's full potential. Our early proof-of-concept shows that SandBPF can effectively prevent exploits missed by eBPF's native safety mechanism (i.e., static verification) while incurring 0%-10% overhead on web server benchmarks.