Mitigation of Kernel Memory Corruption Using Multiple Kernel Memory Mechanism
Open Access
- 30 July 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 9, 111651-111665
Abstract
Operating systems adopt kernel protection methods (e.g., mandatory access control, kernel address space layout randomization, control flow integrity, and kernel page table isolation) as essential countermeasures to reduce the likelihood of kernel vulnerability attacks. However, kernel memory corruption can still occur via the execution of malicious kernel code at the kernel layer. This is because the vulnerable kernel code and the attack target kernel code or kernel data are located in the same kernel address space. To gain complete control of a host, adversaries focus on kernel code invocations, such as function pointers that rely on the starting points of the kernel protection methods. To mitigate such subversion attacks, this paper presents multiple kernel memory (MKM), which employs an alternative design for kernel address space separation. The MKM mechanism focuses on the isolation granularity of the kernel address space during each execution of the kernel code. MKM provides two kernel address spaces, namely, i) the trampoline kernel address space, which acts as the gateway feature between user and kernel modes and ii) the security kernel address space, which utilizes the localization of the kernel protection methods (i.e., kernel observation). Additionally, MKM achieves the encapsulation of the vulnerable kernel code to prevent access to the kernel code invocations of the separated kernel address space. The evaluation results demonstrated that MKM can protect the kernel code and kernel data from a proof-of-concept kernel vulnerability that could lead to kernel memory corruption. In addition, the performance results of MKM indicate that the system call overhead latency ranges from 0.020 μs to 0.5445 μs, while the web application benchmark ranges from 196.27 μs to 6, 685.73 μs for each download access of 100,000 Hypertext Transfer Protocol sessions. MKM attained a 97.65% system benchmark score and a 99.76% kernel compilation time.Keywords
Funding Information
- Japan Society for the Promotion of Science (JSPS) Kakenhi (JP19H04109)
This publication has 25 references indexed in Scilit:
- kR^X2017
- Dancing with Wolves2017
- GRIM: Leveraging GPUs for Kernel Integrity Monitoring2016
- Nested Kernel2015
- Quantifiable Run-Time Kernel Attack Surface ReductionLecture Notes in Computer Science, 2014
- Practical Timing Side Channel Attacks against Kernel Space ASLR2013
- Linux kernel vulnerabilities2011
- SecVisor2007
- Operating System Structures to Support Security and Reliable SoftwareACM Computing Surveys, 1976
- ProtectionACM SIGOPS Operating Systems Review, 1974