arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.06691cs.CR
收藏

基于海绵的IoT设备控制流保护

Sponge-Based Control-Flow Protection for IoT Devices

Mario Werner, Thomas Unterluggauer, David Schaffenrath, Stefan Mangard

摘要:

物联网(IoT)中的嵌入式设备面临着各种各样的安全挑战。例如,软件攻击者在其远程接口上执行代码注入和代码重用攻击,对物联网设备的物理访问允许篡改内存中的代码,窃取机密知识产权(IP)或安装故障攻击以操纵CPU的控制流。在这项工作中,我们提出了基于海绵的控制流保护(SCFP)。SCFP是一种有状态的、基于海绵的方案,用于确保软件IP的机密性及其在物联网设备上的真实执行。在编译时,SCFP以防御级别的粒度对软件进行加密和认证。在执行期间,CPU的提取和解码阶段之间的SCFP硬件扩展连续地解密和认证指令。SCFP中基于海绵的认证加密产生细粒度的控制流完整性,从而防止代码重用,代码注入和对代码和控制流的错误攻击。此外,SCFP还能承受内存中软件的任何修改。为了进行评估,我们使用SCFP扩展了RISC-V内核,并制作了一个真正的片上系统(SoC)。在此设计上,SCFP的代码大小和执行时间的平均开销分别为19.8%和9.1%,因此符合嵌入式物联网设备的要求。

英文摘要:

Embedded devices in the Internet of Things (IoT) face a wide variety of security challenges. For example, software attackers perform code injection and code-reuse attacks on their remote interfaces, and physical access to IoT devices allows to tamper with code in memory, steal confidential Intellectual Property (IP), or mount fault attacks to manipulate a CPU's control flow. In this work, we present Sponge-based Control Flow Protection (SCFP). SCFP is a stateful, sponge-based scheme to ensure the confidentiality of software IP and its authentic execution on IoT devices. At compile time, SCFP encrypts and authenticates software with instruction-level granularity. During execution, an SCFP hardware extension between the CPU's fetch and decode stage continuously decrypts and authenticates instructions. Sponge-based authenticated encryption in SCFP yields fine-grained control-flow integrity and thus prevents code-reuse, code-injection, and fault attacks on the code and the control flow. In addition, SCFP withstands any modification of software in memory. For evaluation, we extended a RISC-V core with SCFP and fabricated a real System on Chip (SoC). The average overhead in code size and execution time of SCFP on this design is 19.8% and 9.1%, respectively, and thus meets the requirements of embedded IoT devices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑