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

石榴:一种使用虚拟化扩展的轻量级隔离架构

Pomegranate: A Lightweight Compartmentalization Architecture using Virtualization Extensions

Boston University(波士顿大学)

Shriram Raja, Zhiyuan Ruan, Richard West

AI总结:

本文提出Pomegranate框架,利用硬件辅助虚拟化技术对现有系统进行安全隔离,无需修改源代码。通过访问控制策略和扩展页面表实现严格隔离,并利用特殊哨兵函数检查跨隔离区转换,实验显示其在MTU大小数据包下的开销可忽略。

摘要:

本文提出Pomegranate框架,利用硬件辅助虚拟化技术对现有系统进行安全隔离,无需修改源代码。通过访问控制策略和扩展页面表实现严格隔离,并利用特殊哨兵函数检查跨隔离区转换,实验显示其在MTU大小数据包下的开销可忽略。

英文摘要:

The monolithic nature of widely used commodity operating systems means that vulnerabilities in one software component potentially compromise the entire kernel. Formally verifying these systems, or redesigning them altogether as microkernels, according to the principle of least privilege, requires significant effort. Researchers have therefore considered compartmentalization techniques that minimize or totally avoid changes to existing systems. However, current approaches use techniques such as Memory Protection Keys (MPKs), necessitating extensive code analysis to ensure security, or use virtualization by instrumenting the kernel with calls to the glue code that switches compartments. In this work, we present Pomegranate, a framework that uses hardware-assisted virtualization to securely compartmentalize an existing system with minimal to no modifications to its source code. Allowed interactions between compartments are defined using an access-control policy and strictly enforced using Extended Page Tables. Using special sentry functions, Pomegranate is able to check all cross-compartment transitions without trapping into the hypervisor. We demonstrate the efficacy of Pomegranate on a compartmentalized Linux network stack using the igc NIC driver. Experiments show the overheads of our approach are negligible at MTU-sized packets when compartment boundaries are carefully established to avoid excessive inter-compartment communication.

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

↑