arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.06435cs.CRcs.AR
收藏

DASICS白皮书:通过动态隔离增强内存保护

DASICS White Paper: Enhancing Memory Protection with Dynamic Compartmentalization

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)

Yue Jin, Yibin Xu, Chengyuan Yang, Han Wang, Tianyi Huang, Tianyue Lu, Mingyu Chen

AI总结:

本文提出DASICS安全处理器设计,通过同一地址空间内的代码段动态隔离,在多特权级别下保护数据流、控制流和系统调用,并以FPGA与QEMU原型验证其有效性。

摘要:

在现有软件开发生态中,第三方代码引入的安全问题不容忽视。在这些安全隐患中,内存访问漏洞尤为突出,会导致敏感数据被盗或被篡改等风险。为解决这一问题,人们已在编程语言、编译器和操作系统层面建立了基于软件的防御机制。然而,作为代价,这些机制会显著降低软件执行效率。软硬件协同设计方法要么试图构建完全隔离的可信执行环境,要么尝试在同一地址空间内划分安全域。这类方法虽相比纯软件方法提升了效率,但也面临保护粒度、性能开销和可移植性方面的挑战。针对这些挑战,我们提出DASICS(Dynamic in-Address-Space Isolation by Code Segments,基于代码段的地址空间内动态隔离)安全处理器设计,可跨多个特权级别提供动态、灵活的安全保护,解决数据流保护、控制流保护和安全系统调用问题。我们基于DASICS实现了硬件FPGA原型和软件QEMU模拟器原型,并对系统软件进行了必要的适配修改。我们通过两个实际示例说明DASICS的保护机制与有效性,并给出DASICS可应用的潜在真实用例。

英文摘要:

In the existing software development ecosystem, security issues introduced by third-party code cannot be overlooked. Among these security concerns, memory access vulnerabilities stand out prominently, leading to risks such as the theft or tampering of sensitive data. To address this issue, software-based defense mechanisms have been established at the programming language, compiler, and operating system levels. However, as a trade-off, these mechanisms significantly reduce software execution efficiency. Hardware-software co-design approaches have sought to either construct entirely isolated trusted execution environments or attempt to partition security domains within the same address space. While such approaches enhance efficiency compared to pure software methods, they also encounter challenges related to granularity of protection, performance overhead, and portability. In response to these challenges, we present the DASICS (Dynamic in-Address-Space Isolation by Code Segments) secure processor design, which offers dynamic and flexible security protection across multiple privilege levels, addressing data flow protection, control flow protection, and secure system calls. We have implemented hardware FPGA prototypes and software QEMU simulator prototypes based on DASICS, along with necessary modifications to system software for adaptability. We illustrate the protective mechanisms and effectiveness of DASICS with two practical examples and provide potential real-world use cases where DASICS could be applied.

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

↑