2020 · 15 citations · 46 references
ComputingComputer ScienceComputer SystemsApplication SecurityComputer SecurityOperating SystemsKernel DesignKernel ProgrammingOperating System SecurityOperating System Support For HardwareOperating System VulnerabilitiesSoftware Fault ToleranceDowntimeKernel PatchingKernel SecurityKernel VulnerabilitiesOperating System PatchingPatchingPatching TechniquesTrusted Execution Environments
Live kernel patching is an increasingly common trend in operating system distributions, enabling dynamic updates to include new features or to fix vulnerabilities without having to reboot the system. Patching the kernel at runtime lowers downtime and reduces the loss of useful state from running applications. However, existing kernel live patching techniques (1) rely on specific support from the target operating system, and (2) admit patch failures resulting from kernel faults. We present KSHOT, a kernel live patching mechanism based on x86 SMM and Intel SGX that focuses on patching Linux kernel security vulnerabilities. Our patching processes are protected by hardware-assisted Trusted Execution Environments. We demonstrate that our technique can successfully patch vulnerable kernel functions at the binary-level without support from the underlying OS and regardless of whether the kernel patching mechanism is compromised. We demonstrate the applicability of KSHOT by successfully patching 30 critical indicative kernel vulnerabilities.
46
Innovative instructions and software model for isolated execution
Frank Mckeen, Ilya Alexandrovich, Alex Berenzon et al. · 2013 · 1.1K citations
Susan L. Graham, Peter B. Kessler, Marshall Kirk McKusick · 1982 · 978 citations
Victor Costan, Srinivas Devadas · IACR Cryptology ePrint Archive · 2016 · 753 citations
Meltdown: reading kernel memory from user space
Moritz Lipp, Michael Schwarz, Daniel Gruss et al. · USENIX Security Symposium · 2018 · 645 citations
VC3: Trustworthy Data Analytics in the Cloud Using SGX
Félix Schuster, Manuel Costa, Cédric Fournet et al. · 2015 · 598 citations · Full text