2023 · 15 citations · 12 references
ComputingComputer EngineeringComputer ScienceComputer SecurityOperating SystemsSecurity ArchitectureApi SecurityMemory ManagementMemory SafetyMemory Safety VulnerabilitiesOperating System SecurityVirtual MemoryApplication Programming Interface SecurityControl Flow Integrity AnalysisControl-flow IntegrityKernel-based Virtual MachineMemory Management ModelsMemory Protection MechanismsStack-based Virtual MachinesWebassembly Security
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.
12
Bringing the web up to speed with WebAssembly
Andreas Haas, Andreas Rossberg, Derek L. Schuff et al. · 2017 · 510 citations · Full text
Toke Høiland-Jørgensen, Jesper Dangaard Brouer, Daniel Borkmann et al. · 2018 · 297 citations · Full text
Paul Kocher, Jann Horn, Anders Fogh et al. · Communications of the ACM · 2020 · 242 citations
Proceedings of the GCC Developers' Summit
Grigori Fursin, Cupertino Miranda, Olivier Temam et al. · 2008 · 123 citations
Phani Kishore Gadepalli, Sean McBride, Gregor Peach et al. · 2020 · 97 citations