Skip to main content
QUICK REVIEW

[Paper Review] MultiK: A Framework for Orchestrating Multiple Specialized Kernels

Hsuan-Chi Kuo, Akshith Gunasekaran|arXiv (Cornell University)|Mar 16, 2019
Security and Verification in ComputingComputer Science20 references8 citations
TL;DR

MultiK is a Linux-based framework that orchestrates multiple specialized kernels tailored to individual applications, reducing kernel attack surface with near-zero runtime overhead. It enables fine-grained code reduction (down to basic block level) using profiling tools like D-Kut and S-Kut, achieving 93.68% code reduction and 19/23 vulnerabilities eliminated with only 0.19% performance overhead.

ABSTRACT

We present, MultiK, a Linux-based framework 1 that reduces the attack surface for operating system kernels by reducing code bloat. MultiK "orchestrates" multiple kernels that are specialized for individual applications in a transparent manner. This framework is flexible to accommodate different kernel code reduction techniques and, most importantly, run the specialized kernels with near-zero additional runtime overheads. MultiK avoids the overheads of virtualization and runs natively on the system. For instance, an Apache instance is shown to run on a kernel that has (a) 93.68% of its code reduced, (b) 19 of 23 known kernel vulnerabilities eliminated and (c) with negligible performance overheads (0.19%). MultiK is a framework that can integrate with existing code reduction and OS security techniques. We demonstrate this by using D-KUT and S-KUT -- two methods to profile and eliminate unwanted kernel code. The whole process is transparent to the user applications because MultiK does not require a recompilation of the application.

Motivation & Objective

  • Address the growing attack surface in monolithic OS kernels due to unused, vulnerable code.
  • Overcome limitations of existing kernel specialization techniques that require manual configuration, recompilation, or introduce high runtime overhead.
  • Enable transparent, application-transparent kernel specialization at fine-grained (e.g., basic block) levels without virtualization.
  • Support coexistence of multiple specialized kernels and full kernels on the same system for heterogeneous workloads.
  • Integrate with existing code reduction and OS security techniques to enhance system-wide security with minimal performance cost.

Proposed method

  • Profile applications at runtime using tools like D-Kut (function/symbol- and basic block-granularity profiling) and S-Kut (syscall-based profiling) to identify necessary kernel code.
  • Use the profiling data to generate customized, minimal kernel binaries tailored to each application’s actual system call and code usage.
  • Orchestrate the launch of each application on its own specialized kernel at runtime, transparently to the application.
  • Run all specialized kernels natively on a base (vanilla) kernel, avoiding virtualization overheads.
  • Support multiple specialization techniques and granularities (page, function, basic block) without performance penalties.
  • Integrate with containerization systems like Docker to enable per-container specialized kernels without application changes.

Experimental results

Research questions

  • RQ1Can kernel attack surface be significantly reduced without sacrificing performance or requiring application recompilation?
  • RQ2Is it feasible to achieve fine-grained kernel specialization (e.g., at basic block level) with minimal runtime overhead?
  • RQ3Can multiple specialized kernels coexist and be orchestrated efficiently on a single system?
  • RQ4How does the performance of application-specific kernels compare to full kernels across different workloads and reduction granularities?
  • RQ5Can the framework be integrated with existing OS security and code reduction techniques without modification to applications?

Key findings

  • MultiK achieved a 93.68% reduction in kernel code size for an Apache instance, significantly shrinking the attack surface.
  • The framework eliminated 19 out of 23 known kernel vulnerabilities in the same Apache deployment, demonstrating strong security hardening.
  • Performance overhead was measured at only 0.19% for the Apache workload, confirming near-native performance with fine-grained specialization.
  • The framework supports multiple specialization techniques (D-Kut, S-Kut) and operates at various granularities, including basic block level, with no performance penalty.
  • MultiK enables transparent, application-transparent kernel specialization and integrates seamlessly with container-based deployment (e.g., Docker) without application changes.
  • The framework avoids virtualization overheads and runs natively, achieving less than 1% runtime overhead across all evaluated configurations and granularities.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.