Comparing Security in eBPF and WebAssembly


연구 분야: Infrastructure



학회: eBPF '23: Proceedings of the 1st Workshop on eBPF and Kernel Extensions


초록

This paper examines the security of eBPF and WebAssembly (Wasm), two technologies that have gained widespread adoption in recent years, despite being designed for very different use cases and environments. While eBPF is a technology primarily used within operating system kernels such as Linux, Wasm is a binary instruction format designed for a stack-based virtual machine with use cases extending beyond the web. Recognizing the growth and expanding ambitions of eBPF, Wasm may provide instructive insights, given its design around securely executing arbitrary untrusted programs in complex and hostile environments such as web browsers and clouds. We analyze the security goals, community evolution, memory models, and execution models of both technologies, and conduct a comparative security assessment, exploring memory safety, control flow integrity, API access, and side-channels. Our results show that eBPF has a history of focusing on performance first and security second, while Wasm puts more emphasis on security at the cost of some runtime overheads. Considering language-based restrictions for eBPF and a security model for API access are fruitful directions for future work.


Author Profile
Jules Dejaeghere

University of Namur Namur Belgium

Belgium
Author Profile
Bolaji Gbadamosi

Karlstad University Karlstad Sweden

Sweden
Author Profile
Tobias Pulls

Karlstad University Karlstad Sweden

Sweden

📄 논문 정보

발행 연도 2023년
인용수 12
출판 국가 Sweden, Belgium
사이트 ACM
좋아요 수 0

연관 논문 목록 (94건)