具有 compartmentalization 意识的自动化程序修复
Compartmentalization-Aware Automated Program Repair
AI总结:
本文提出了一种专门针对 compartment 接口安全的 APR 框架,通过整合 fuzzer、补丁生成和验证组件,自动化修复 cross-compartment 接口漏洞。
摘要:
软件 compartmentalization 将应用程序分解为彼此隔离的 compartment:攻击者控制一个 compartment 时将被限制在其内部,从而限制其对应用程序其余部分造成的损害。尽管这种方法有安全保证,但最近的研究表明,大多数现有的 compartmentalized 软件在 cross-compartment 接口处存在漏洞,允许攻击者突破其限制,从而否定 compartmentalization 所预期的安全保证。在此背景下,确保 cross-compartment 接口的安全性被认为极其困难且工程化。在最近自动化程序修复(APR)的进展背景下,特别是通过使用大型语言模型(LLMs)的进展,本文提出了一项正在进行的工作,研究 LLM 基础的 APR 在尽可能自动化地确保 cross-compartment 接口安全方面的适用性。我们观察到现有 APR 方法和一般用途/代码中心 LLMs 作为是的不适用于此任务,并提出了一个专门针对 compartment 接口安全的新的 APR 框架的设计、实现和初步结果。该框架整合到一个反馈循环中:1)一个专门的 fuzzer 发现 cross-compartment 接口漏洞;2)一个补丁生成组件弥补现有 LLMs 缺乏 compartmentalization 意识的不足,并与一系列分析技术相结合;3)一个补丁验证组件评估生成漏洞修复的有效性。我们通过一个样本接口漏洞验证了我们的框架,将其与一般用途 LLMs 的简单使用进行比较,并讨论了未来的研究方向。
英文摘要:
Software compartmentalization breaks down an application into compartments isolated from each other: an attacker taking over a compartment will be confined to it, limiting the damage they can cause to the rest of the application. Despite the security promises of this approach, recent studies have shown that most existing compartmentalized software is plagued by vulnerabilities at cross-compartment interfaces, allowing an attacker taking over a compartment to escape its confinement and negate the security guarantees expected from compartmentalization. In that context, securing cross-compartment interfaces is notoriously difficult and engineering-intensive. In light of recent advances in Automated Program Repair (APR), notably through the use of Large Language Models (LLMs), this paper presents a work in progress investigating the suitability of LLM-based APR at securing cross-compartment interfaces as automatically as possible. We observe that existing APR approaches and general purpose/code-centric LLMs used as is are unfit for this task, and present the design, implementation, and early results of a new APR framework dedicated to compartment interface safety. The framework integrates into a feedback loop 1) a specialized fuzzer uncovering cross-compartment interface vulnerabilities; 2) a patch generation component bridging the lack of compartmentalization awareness of existing LLMs with a series of analysis techniques; and 3) a patch validation component assessing the effectiveness of generated vulnerability fixes. We validate our framework over a sample interface vulnerability, comparing it to a naive use of general-purpose LLMs, and discuss future research avenues.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。