IEEE Internet of Things Journal · 2022 · 18 citations · 14 references
ComputingComputer EngineeringComputer ScienceComputer SecurityEmbedded SystemsOperating SystemsEmbedded SecurityEmbedded System SecurityMemory ManagementMemory Subsystem DesignMicroarchitectural SecurityOperating System SecurityAddress Space Layout RandomizationAddress Space ManagementCode Reuse AttacksJump-oriented ProgrammingMemory ProtectionResource-constrained DevicesReturn-oriented ProgrammingRuntime Security
The address space layout randomization (ASLR) has been widely deployed on modern operating systems against code reuse attacks (CRAs), such as return-oriented programming (ROP) and jump-oriented programming (JOP). However, porting ASLR to resource-constrained IoT devices is a great challenge due to the limited memory space for randomization. We propose a function-based ASLR scheme (fASLR) for IoT runtime security utilizing the ARM TrustZone-M technology and the memory protection unit (MPU) supported by ARM Cortex-M processors. fASLR loads a function from the flash and randomizes its base address in a randomization region in RAM when the function is being called. We design novel mechanisms on cleaning up finished functions from the RAM and memory addressing to tackle the complexity of function relocation and randomization. Optimizations are applied to effectively reduce overhead introduced by runtime memory management. We also formally prove that user applications will run correctly with fASLR enabled. Compared with the related work, a prominent advantage of fASLR is that fASLR can run an application even if the application code cannot be completely loaded into RAM for execution. We test fASLR with 21 applications. The experimental results show that fASLR achieves a high randomization entropy and incurs a runtime overhead of less than 10%.
14
SoK: Automated Software Diversity
Per Larsen, Andrei Homescu, Stefan Brunthaler et al. · 2014 · 324 citations · Full text
Richard Wartell, Kevin W. Hamlen, Zhiqiang Lin · 2012 · 320 citations
Jason D. Hiser, Anh Nguyen‐Tuong, Michele Co et al. · 2012 · 254 citations