journal article·2022-05-18Open access

H-KPP: Hypervisor-Assisted Kernel Patch Protection

Michael Kiperberg, Nezer Jacob Zaidenberg

Applied Sciences· Volume 12· Issue 10

Abstract

We present H-KPP, hypervisor-based protection for kernel code and data structures. H-KPP prevents the execution of unauthorized code in kernel mode. In addition, H-KPP protects certain object fields from malicious modifications. H-KPP can protect modern kernels equipped with BPF facilities and loadable kernel modules. H-KPP does not require modifying or recompiling the kernel. Unlike many other systems, H-KPP is based on a thin hypervisor and includes a novel SLAT switching mechanism, which allows H-KPP to achieve very low (≈6%) performance overhead compared to baseline Linux.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Security and Verification in Computing · Advanced Malware Detection Techniques · Parallel Computing and Optimization Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Software Engineering, Shamoon College of Engineering, Beer-Sheva 8410802, Israel

Holon Institute of Technology, Faculty of Sciences, Holon 5810201, Isreal

Faculty of Information Technology, University of Jyväskylä, FI-40014 Jyväskylä, Finland

References (37)

Show source-provided references
1. (2022, March 27). Microsoft. Available online: https://docs.microsoft.com/en-us/windows/win32/memory/data-execution-prevention.
2. (2022, March 27). Microsoft. Available online: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/driver-signing.
3. Stojanovski, N., Gusev, M., Gligoroski, D., and Knapskog, S.J. (2007, January 10–13). Bypassing Data Execution Prevention on Microsoft Windows XP SP2. Proceedings of the Second International Conference on Availability, Reliability and Security (ARES’07), Vienna, Austria.10.1109/ARES.2007.54 ↗
4. Kleissner, P. (2009, January 25–30). Stoned Bootkit. Proceedings of the Black Hat, Las Vegas, NV, USA.
5. Ermolov, M., and Shishkin, A. (2022, May 14). Microsoft Windows 8.1 Kernel Patch Protection Analysis. Available online: https://www.ptsecurity.com/upload/corporate/ru-ru/analytics/Windows_81_Kernel_Patch_Protection_Analysis.pdf.
6. Chen, H., Mao, Y., Wang, X., Zhou, D., Zeldovich, N., and Kaashoek, M.F. (2011, January 11–12). Linux kernel vulnerabilities: State-of-the-art defenses and open problems. Proceedings of the Second Asia-Pacific Workshop on Systems, Shanghai China.10.1145/2103799.2103805 ↗
7. (2022, March 27). CVE Details. Available online: https://www.cvedetails.com/product/47/Linux-Linux-Kernel.html?vendor_id=33.
8. (2022, March 27). The Volatility Foundation. Available online: https://www.volatilityfoundation.org/.
9. Shinagawa, T., Eiraku, H., Tanimoto, K., Omote, K., Hasegawa, S., Horie, T., Hirano, M., Kourai, K., Oyama, Y., and Kawai, E. (2009, January 11–13). Bitvisor: A thin hypervisor for enforcing i/o device security. Proceedings of the 2009 ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, Washington, DC, USA.10.1145/1508293.1508311 ↗
10. Rhee, J., Riley, R., Xu, D., and Jiang, X. (2009, January 16–19). Defeating dynamic data kernel rootkit attacks via vmm-based guest-transparent monitoring. Proceedings of the 2009 International Conference on Availability, Reliability and Security, Fukuoka, Japan.10.1109/ARES.2009.116 ↗
11. (2022, March 27). KernelNewbies. Available online: https://kernelnewbies.org/Linux_2_6_8.
12. (2022, May 14). The Kernel Development Community. Available online: https://www.kernel.org/doc/html/v4.13/admin-guide/module-signing.html.
13. Butler, J. (2004, January 27–28). DKOM (direct kernel object manipulation). Proceedings of the Black Hat Windows Security, Seattle, WA, USA.
14. Kasspersky Lab (2022, March 27). Overview of the Latest Windows OS Kernel Exploits Found in the Wild. CanSecWest/BlueHat. Available online: https://github.com/oct0xor/presentations/blob/master/2019-02-Overview%20of%20the%20latest%20Windows%20OS%20kernel%20exploits%20found%20in%20the%20wild.pdf.
15. Preventing malicious communication using virtualization
16. EFI Forum, Inc. (2021). Unified Extensible Firmware Interface (UEFI) Specification, UEFI Forum, Inc.
17. Marco-Gisbert, H., and Ripoll, I. (2014, January 18–21). On the Effectiveness of Full-ASLR on 64-bit Linux. Proceedings of the In-Depth Security Conference, Vienna, Austria.
18. Goldshtein, S. (2016). The Next Linux Superpower: eBPF Primer, USENIX Association.
19. Automated containment of rootkits attacks10.1016/j.cose.2008.06.003 ↗
20. Kiperberg, M., Amit, G., Yeshooroon, A., and Zaidenberg, N.J. (2021, January 10–13). Efficient DLP-visor: An efficient hypervisor-based DLP. Proceedings of the 2021 IEEE/ACM 21st International Symposium on Cluster, Cloud and Internet Computing (CCGrid), Melbourne, Australia.10.1109/CCGrid51090.2021.00044 ↗
21. (2022, March 27). Oracle, VirtualBox. Available online: http://https://www.virtualbox.org/.
22. (2022, March 27). VMware, Workstation Pro. Available online: https://www.vmware.com/products/workstation-pro.html.
23. Xen and the art of virtualization10.1145/1165389.945462 ↗
24. Pfoh, J., Schneider, C., and Eckert, C. (2011). Nitro: Hardware-based system call tracing for virtual machines. International Workshop on Security, Springer.10.1007/978-3-642-25141-2_7 ↗
25. Lengyel, T.K., Maresca, S., Payne, B.D., Webster, G.D., Vogl, S., and Kiayias, A. (2014, January 8–12). Scalability, fidelity and stealth in the DRAKVUF dynamic malware analysis system. Proceedings of the 30th Annual Computer Security Applications Conference, New Orleans, LA, USA.10.1145/2664243.2664252 ↗
26. Petroni, N.L., and Hicks, M. (November, January 31). Automated detection of persistent kernel control-flow attacks. Proceedings of the 14th ACM Conference on Computer and Communications Security, Alexandria, VR, USA.
27. Seshadri, A., Luk, M., Qu, N., and Perrig, A. (2007, January 14–17). SecVisor: A tiny hypervisor to provide lifetime kernel code integrity for commodity OSes. Proceedings of the Twenty-First ACM SIGOPS Symposium on Operating Systems Principles, Washington, DC, USA.10.1145/1294261.1294294 ↗
28. Hypervisor-Based White Listing of Executables10.1109/MSEC.2019.2910218 ↗
29. Preventing execution of unauthorized native-code software
30. PrivGuard: Protecting sensitive kernel data from privilege escalation attacks10.1109/ACCESS.2018.2866498 ↗
31. ForenVisor: A tool for acquiring and preserving reliable data in cloud live forensics10.1109/TCC.2016.2535295 ↗
32. Martignoni, L., Fattori, A., Paleari, R., and Cavallaro, L. (2000, January 2–4). Live and trustworthy forensic analysis of commodity production systems. Proceedings of the International Workshop on Recent Advances in Intrusion Detection, Toulouse, France.
33. Kiperberg, M., Leon, R., Resh, A., Algawi, A., and Zaidenberg, N. (2019, January 23–25). Hypervisor-assisted atomic memory acquisition in modern systems. Proceedings of the International Conference on Information Systems Security and Privacy, Prague, Czech Republic.10.5220/0007566101550162 ↗
34. Li, W., Wu, D., and Liu, P. (2016, January 1–3). iCruiser: Protecting Kernel Link-Based Data Structures with Secure Canary. Proceedings of the 2016 IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C), Vienna, Austria.10.1109/QRS-C.2016.9 ↗
35. Srivastava, A., Erete, I., and Giffin, J. (2009). Kernel Data Integrity Protection via Memory Access Control, Georgia Institute of Technology.
36. Graziano, M., Flore, L., Lanzi, A., and Balzarotti, D. (2016, January 7–8). Subverting operating system properties through evolutionary DKOM attacks. Proceedings of the International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment, Sebastián, Spain.10.1007/978-3-319-40667-1_1 ↗
37. Xiong, X., Tian, D., and Liu, P. (2011, January 6–9). Practical Protection of Kernel Integrity for Commodity OS from Untrusted Extensions. Proceedings of the NDSS, San Diego, CA, USA.