Skip to main navigation Skip to search Skip to main content

KASR: A reliable and practical approach to attack surface reduction of commodity OS kernels

  • Z. Zhang
  • , Y. Cheng
  • , S. Nepal
  • , D. Liu
  • , Q. Shen
  • , F. Rabhi

Research output: Chapter in Book/Conference paper › Conference paper › peer-review

Abstract

Commodity OS kernels have broad attack surfaces due to the large code base and the numerous features such as device drivers. For a real-world use case (e.g., an Apache Server), many kernel services are unused and only a small amount of kernel code is used. Within the used code, a certain part is invoked only at runtime while the rest are executed at startup and/or shutdown phases in the kernel’s lifetime run. In this paper, we propose a reliable and practical system, named KASR, which transparently reduces attack surfaces of commodity OS kernels at runtime without requiring their source code. The KASR system, residing in a trusted hypervisor, achieves the attack surface reduction through a two-step approach: (1) reliably depriving unused code of executable permissions, and (2) transparently segmenting used code and selectively activating them. We implement a prototype of KASR on Xen-4.8.2 hypervisor and evaluate its security effectiveness on Linux kernel-4.4.0-87-generic. Our evaluation shows that KASR reduces the kernel attack surface by 64% and trims off 40% of CVE vulnerabilities. Besides, KASR successfully detects and blocks all 6 real-world kernel rootkits. We measure its performance overhead with three benchmark tools (i.e., SPECINT, httperf and bonnie++). The experimental results indicate that KASR imposes less than 1% performance overhead (compared to an unmodified Xen hypervisor) on all the benchmarks.
Original languageEnglish
Title of host publicationRAID 2018
Subtitle of host publicationResearch in Attacks, Intrusions, and Defenses
EditorsMichael Bailey, Thorsten Holz, Manolis Stamatogiannakis, Sotiris Ioannidis
Place of PublicationCham
PublisherSpringerLink
Pages691–710
Number of pages20
ISBN (Electronic)978-3-030-00470-5
ISBN (Print)978-3-030-00469-9
DOIs
Publication statusPublished - 7 Sept 2018
Externally publishedYes
EventResearch in Attacks, Intrusions, and Defenses - Heraklion, Greece
Duration: 10 Sept 2018 → 12 Sept 2018
Conference number: 21
https://www.raid2018.org/

Publication series

NameLecture Notes in Computer Science
Volume11050 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferenceResearch in Attacks, Intrusions, and Defenses
Abbreviated titleRAID 2018
Country/TerritoryGreece
CityHeraklion
Period10/09/18 → 12/09/18
Internet address

Fingerprint

Dive into the research topics of 'KASR: A reliable and practical approach to attack surface reduction of commodity OS kernels'. Together they form a unique fingerprint.

Cite this