Case Study: Securing MMU-less Linux Using CHERI
dc.contributor.author | Almatary, Hesham | |
dc.contributor.author | Mazzinghi, Alfredo | |
dc.contributor.author | Watson, Robert N. M. | |
dc.contributor.editor | Dhungana, Deepak | |
dc.contributor.editor | Lambers, Leen | |
dc.contributor.editor | Bonorden, Leif | |
dc.contributor.editor | Henning, Sören | |
dc.date.accessioned | 2024-02-14T05:22:30Z | |
dc.date.available | 2024-02-14T05:22:30Z | |
dc.date.issued | 2024 | |
dc.description.abstract | MMU-less Linux variant lacks security because it does not have protection or isolation mechanisms. It also does not use MPUs as they do not fit with its software model because of the design drawbacks of MPUs (i. e. coarse-grained protection with fixed number of protected regions). We secure the existing MMU-less Linux version of the RISC-V port using CHERI. CHERI is a hardware-software capability-based system that extends the ISA, toolchain, programming languages, operating systems, and applications in order to provide complete pointer and memory safety. We believe that CHERI could provide significant security guarantees for high-end dynamic MMU-less embedded systems at lower costs, compared to MMUs and MPUs, by: 1) building the entire software stack in pure-capability CHERI C mode which provides complete spatial memory safety at the kernel and user-level, 2) isolating user programs as separate ELFs, each with its own CHERI-based capability table; this provides spatial memory safety similar to what the MMU offers (i. e. user programs cannot access each other’s memory), 3) isolating user programs from the kernel as the kernel has its own capability table from the users and vice versa, and 4) compartmentalising kernel modules using CompartOS’ linkage-based compartmentalisation. This offers a new security front that is not possible using the current MMU-based Linux, where vulnerable/malicious kernel modules (e. g. device drivers) executing in the kernel space would not compromise or take down the entire system. These are the four main contributions of this paper, presenting novel CHERI-based mechanisms to secure MMU-less embedded Linux. | en |
dc.identifier.doi | 10.18420/sw2024-ws_06 | |
dc.identifier.uri | https://dl.gi.de/handle/20.500.12116/43521 | |
dc.language.iso | en | |
dc.pubPlace | Bonn | |
dc.publisher | Gesellschaft für Informatik e.V. | |
dc.relation.ispartof | SE 2024 - Companion | |
dc.subject | Linux | |
dc.subject | CHERI | |
dc.subject | security | |
dc.subject | memory safety | |
dc.subject | compartmentalization | |
dc.subject | embedded systems | |
dc.subject | operating systems | |
dc.title | Case Study: Securing MMU-less Linux Using CHERI | en |
dc.type | Text/Conference Paper | |
gi.citation.endPage | 92 | |
gi.citation.startPage | 69 | |
gi.conference.date | 26.- 27. Februar | |
gi.conference.location | Linz | |
gi.conference.sessiontitle | AVIOSE |
Dateien
Originalbündel
1 - 1 von 1