Comparing Security in eBPF and WebAssembly

8Citations
Citations of this article
14Readers
Mendeley users who have this article in their library.

Abstract

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.

References Powered by Scopus

Bringing the web up to speed with WebAssembly

294Citations
N/AReaders
Get full text

The eXpress data path: Fast programmable packet processing in the operating system kernel

267Citations
N/AReaders
Get full text

Spectre attacks: Exploiting Speculative Execution

155Citations
N/AReaders
Get full text

Cited by Powered by Scopus

An Overview of WebAssembly for IoT: Background, Tools, State-of-the-Art, Challenges, and Future Directions

14Citations
N/AReaders
Get full text

WebAssembly and security: A review

0Citations
N/AReaders
Get full text

Towards Flexible Anonymous Networks

0Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Dejaeghere, J., Gbadamosi, B., Pulls, T., & Rochet, F. (2023). Comparing Security in eBPF and WebAssembly. In eBPF 2023 - Proceedings of the ACM SIGCOMM 2023 Workshop on eBPF and Kernel Extensions (pp. 35–41). Association for Computing Machinery, Inc. https://doi.org/10.1145/3609021.3609306

Readers' Seniority

Tooltip

Lecturer / Post doc 2

40%

PhD / Post grad / Masters / Doc 2

40%

Professor / Associate Prof. 1

20%

Readers' Discipline

Tooltip

Computer Science 4

80%

Pharmacology, Toxicology and Pharmaceut... 1

20%

Save time finding and organizing research with Mendeley

Sign up for free