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

使用 MicroGuards 在应用程序中实现轻量级权限隔离

Enabling Lightweight Privilege Separation in Applications with MicroGuards

Zahra Tarkhani, Anil Madhavapeddy

AI总结:

提出 MicroGuards,一种轻量级内核修改方案与安全原语,利用硬件支持在多线程应用中实现细粒度的进程内内存保护与权限隔离,运行开销低于 3.5%。

摘要:

应用隔离与权限隔离是我们应对联网设备上日益增加的安全威胁和隐私问题的主要武器。尽管取得了重大进展,但在应用地址空间内以及多线程环境中进行权限隔离仍然具有挑战性,特别是在资源受限和移动设备上。我们提出了 MicroGuards,这是一种轻量级的内核修改方案以及一套安全原语和 API,旨在为多线程应用提供灵活且细粒度的进程内内存保护与权限隔离。MicroGuards 利用现代 CPU 的硬件支持,并具备足够的抽象层级以适应各种架构。本文重点在运行 Linux 内核的嵌入式和移动设备上启用 MicroGuards,并利用标记内存支持以实现良好的性能。我们的评估表明,MicroGuards 增加的运行时开销极小(低于 3.5%),内存占用极低,并且能够与现有应用集成以实现细粒度的权限隔离。

英文摘要:

Application compartmentalization and privilege separation are our primary weapons against ever-increasing security threats and privacy concerns on connected devices. Despite significant progress, it is still challenging to privilege separate inside an application address space and in multithreaded environments, particularly on resource-constrained and mobile devices. We propose MicroGuards, a lightweight kernel modification and set of security primitives and APIs aimed at flexible and fine-grained in-process memory protection and privilege separation in multithreaded applications. MicroGuards take advantage of hardware support in modern CPUs and are high-level enough to be adaptable to various architectures. This paper focuses on enabling MicroGuards on embedded and mobile devices running Linux kernel and utilizes tagged memory support to achieve good performance. Our evaluation show that MicroGuards add small runtime overhead (less than 3.5\%), minimal memory footprint, and are practical to get integrated with existing applications to enable fine-grained privilege separation.

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

↑