$μ$瓦片:高效的内存区域进程内强制执行
$μ$Tiles: Efficient Intra-Process Privilege Enforcement of Memory Regions
摘要:
随着互联设备上安全问题和隐私问题的惊人增长,迫切需要在资源受限的设备中提供强大的隔离保证,这些设备需要非常轻量级的解决方案。然而,现状是类Unix操作系统不提供进程内部的特权分离。在共享地址空间内缺乏实际的细粒度划分会导致私有数据通过应用程序的不可信依赖项和受损线程泄漏。为此,我们提出了$μ$瓦片,一个轻量级的内核抽象和一套基于相互不信任的安全原语,用于进程内特权分离,内存保护和安全多线程。$μ$瓦片利用对虚拟内存标记的硬件支持(例如,ARM内存域),以实现显着的性能增益,同时消除各种硬件限制。我们的结果(基于OpenSSL,Apache HTTP服务器和LevelDB)表明,$μ$ Tiles对于物联网用例来说非常轻量级(将$\approx 10KB$添加到内核映像)。它增加了可忽略的运行时开销($\approx 0.5\%-3.5\%$),并且易于与现有应用程序集成,以提供强大的权限分离。
英文摘要:
With the alarming rate of security advisories and privacy concerns on connected devices, there is an urgent need for strong isolation guarantees in resource-constrained devices that demand very lightweight solutions. However, the status quo is that Unix-like operating systems do not offer privilege separation inside a process. Lack of practical fine-grained compartmentalization inside a shared address space leads to private data leakage through applications' untrusted dependencies and compromised threads. To this end, we propose $μ$Tiles, a lightweight kernel abstraction and set of security primitives based on mutual distrust for intra-process privilege separation, memory protection, and secure multithreading. $μ$Tiles takes advantage of hardware support for virtual memory tagging (e.g., ARM memory domains) to achieve significant performance gain while eliminating various hardware limitations. Our results (based on OpenSSL, the Apache HTTP server, and LevelDB) show that $μ$Tiles is extremely lightweight (adds $\approx 10KB$ to kernel image) for IoT use cases. It adds negligible runtime overhead ($\approx 0.5\%-3.5\%$) and is easy to integrate with existing applications for providing strong privilege separation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。