CFI CaRE:商用微控制器硬件支持的调用和返回执行
CFI CaRE: Hardware-supported Call and Return Enforcement for Commercial Microcontrollers
摘要:
随着物联网(IoT)部署规模的不断扩大,对IoT安全的关注变得更加迫切。特别是,内存损坏攻击发挥了主导作用,因为它们允许远程危害物联网设备。控制流完整性(CFI)是一种很有前途的通用防御技术。然而,鉴于物联网部署的性质,传统计算环境(包括CFI)的现有保护机制需要适应物联网设置。在本文中,我们描述了在基于微控制器(MCU)的物联网设备上启用CFI的挑战。然后,我们提出了CaRE,第一个中断感知CFI方案的低端MCU。CaRE通过利用ARMv 8-M架构中引入的TrustZone-M安全扩展,使用一种新颖的方式来保护CFI元数据。其二进制插装方法保留了目标MCU软件的内存布局,允许预构建的裸金属二进制代码受到CaRE的保护。我们描述了我们的Cortex-M原型系统上的实现,并证明了CaRE是安全的,同时施加可接受的性能和内存的影响。
英文摘要:
With the increasing scale of deployment of Internet of Things (IoT), concerns about IoT security have become more urgent. In particular, memory corruption attacks play a predominant role as they allow remote compromise of IoT devices. Control-flow integrity (CFI) is a promising and generic defense technique against these attacks. However, given the nature of IoT deployments, existing protection mechanisms for traditional computing environments (including CFI) need to be adapted to the IoT setting. In this paper, we describe the challenges of enabling CFI on microcontroller (MCU) based IoT devices. We then present CaRE, the first interrupt-aware CFI scheme for low-end MCUs. CaRE uses a novel way of protecting the CFI metadata by leveraging TrustZone-M security extensions introduced in the ARMv8-M architecture. Its binary instrumentation approach preserves the memory layout of the target MCU software, allowing pre-built bare-metal binary code to be protected by CaRE. We describe our implementation on a Cortex-M Prototyping System and demonstrate that CaRE is secure while imposing acceptable performance and memory impact.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。