• English
  • Deutsch
  • Log In
    Password Login
    Research Outputs
    Fundings & Projects
    Researchers
    Institutes
    Statistics
Repository logo
Fraunhofer-Gesellschaft
  1. Home
  2. Fraunhofer-Gesellschaft
  3. Scopus
  4. From Browser to Kernel: Exploring a Lightweight Sandboxed Approach for Unikernel Extensions
 
  • Details
  • Full
Options
2025
Conference Paper
Title

From Browser to Kernel: Exploring a Lightweight Sandboxed Approach for Unikernel Extensions

Abstract
Library Operating Systems (libOS) are highly efficient because the entire software stack, from the kernel to the application, is compiled, optimized, and linked together. However, in certain scenarios, such as code injection for network packet analysis or adding custom drivers, it is necessary to extend the kernel as needed. The traditional approach of modifying and recompiling the kernel source code can be time-consuming and error-prone. This paper analyzes the possibility of using WebAssembly (Wasm) to extend an operating system kernel at runtime. Wasm is a portable bytecode format that enables fast execution of language-independent code while prioritizing security and portability. Its type system and bounded memory regions effectively prevent unauthorized data access. A prototype module for analyzing network traffic demonstrates the potential, while performance is determined by using standard benchmarks. The performance of the kernel sandbox proved to be about 20 % slower than running the Wasm code in state-of-the-art runtimes on Linux, which is acceptable for a first proof-of-concept.
Author(s)
Kröning, Martin
Rheinisch-Westfälische Technische Hochschule Aachen
Klimt, Jonathan
Rheinisch-Westfälische Technische Hochschule Aachen
Lankes, Stefan
Rheinisch-Westfälische Technische Hochschule Aachen
Monti, Antonello  
Fraunhofer-Institut für Angewandte Informationstechnik FIT  
Mainwork
Plos 2025 Proceedings of the 13th Workshop on Programming Languages and Operating Systems
Conference
13th Workshop on Programming Languages and Operating Systems, PLOS 2025
Open Access
DOI
10.1145/3764860.3768334
Additional link
Full text
Language
English
Fraunhofer-Institut für Angewandte Informationstechnik FIT  
Keyword(s)
  • eBPF

  • kernel modules

  • operating systems

  • Rust

  • sandbox

  • systems programming

  • WebAssembly

  • Cookie settings
  • Imprint
  • Privacy policy
  • Api
  • Contact
© 2024