arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.12904cs.CR
收藏

划分软件中接口漏洞的影响评估

Assessing the Impact of Interface Vulnerabilities in Compartmentalized Software

Hugo Lefeuvre, Vlad-Andrei Bădoiu, Yi Chien, Felipe Huici, Nathan Dautenhahn, Pierre Olivier

摘要:

最小特权分离将应用程序分解为仅限于访问它们所需的部分。当划分现有软件时,许多方法忽略了保护新的隔室间接口,尽管曾经是来自/去往可信组件的函数调用现在可能是来自恶意隔室的有针对性的攻击。这导致了一整类的安全漏洞:Combination Interface Vulnerabilities(CIV)。本文对CIV进行了深入的研究。我们对这些问题进行分类,并表明它们影响所有已知的划分方法。我们提出ConfFuzz,内存中的模糊专门检测CIV在可能的车厢边界。我们将ConfFuzz应用于一组25个流行应用程序和36个可能的隔间API,以发现629个漏洞的广泛数据集。我们系统地研究了这些问题,并提取了大量关于CIV的流行,其原因,影响以及解决它们的复杂性的见解。我们强调CIV在划分方法中的至关重要性,演示了在OpenSSL中提取隔离密钥的攻击,并发现了sudo中存在十年之久的漏洞。我们表明,除其他外,并不是所有的接口都以同样的方式受到影响,API的大小与CIV的流行程度无关,解决接口漏洞超越了编写简单的检查。我们总结了CIV感知车厢界面设计的指导方针,并呼吁更多的研究系统CIV检测和缓解。

英文摘要:

Least-privilege separation decomposes applications into compartments limited to accessing only what they need. When compartmentalizing existing software, many approaches neglect securing the new inter-compartment interfaces, although what used to be a function call from/to a trusted component is now potentially a targeted attack from a malicious compartment. This results in an entire class of security bugs: Compartment Interface Vulnerabilities (CIVs). This paper provides an in-depth study of CIVs. We taxonomize these issues and show that they affect all known compartmentalization approaches. We propose ConfFuzz, an in-memory fuzzer specialized to detect CIVs at possible compartment boundaries. We apply ConfFuzz to a set of 25 popular applications and 36 possible compartment APIs, to uncover a wide data-set of 629 vulnerabilities. We systematically study these issues, and extract numerous insights on the prevalence of CIVs, their causes, impact, and the complexity to address them. We stress the critical importance of CIVs in compartmentalization approaches, demonstrating an attack to extract isolated keys in OpenSSL and uncovering a decade-old vulnerability in sudo. We show, among others, that not all interfaces are affected in the same way, that API size is uncorrelated with CIV prevalence, and that addressing interface vulnerabilities goes beyond writing simple checks. We conclude the paper with guidelines for CIV-aware compartment interface design, and appeal for more research towards systematic CIV detection and mitigation.

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

↑