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

强化OSv单内核的高效地址随机化:设计与性能评估

Hardening the OSv Unikernel with Efficient Address Randomization: Design and Performance Evaluation

The Beacom College of Computer and Cyber Sciences Dakota State University(达科他州立大学博科姆计算机与网络科学学院)

Alex Wollman, John Hastings

AI总结:

针对OSv单内核缺乏地址空间布局随机化(ASLR)的问题,通过修改核心内存管理和加载例程,随机化应用基址和线程栈区域,以最小的复杂度引入ASLR风格的多样性,并评估其对启动时间、运行时间和内存使用的影响。

摘要:

单内核是单一用途的库操作系统,将内核和应用程序运行在同一个地址空间中,但通常省略了诸如地址空间布局随机化(ASLR)等安全缓解措施。在OSv中,引导、程序加载和线程创建选择大致确定的地址,导致实例间布局几乎相同,从而使得利用更加可重复。为了降低布局的可预测性,本研究通过有针对性地修改核心内存管理和加载例程,随机化应用基址和线程栈区域,将ASLR风格的多样性引入OSv。该实现增加了最小的复杂性,同时保留了OSv的轻量级设计目标。与未修改的基线相比,评估发现启动时间、应用程序运行时间和内存使用相当。分析表明生成的地址呈现均匀分布。这些结果表明,布局随机化防御可以高效且有效地集成到OSv单内核中,提高了对可靠利用的抵抗力。

英文摘要:

Unikernels are single-purpose library operating systems that run the kernel and application in one address space, but often omit security mitigations such as address space layout randomization (ASLR). In OSv, boot, program loading, and thread creation select largely deterministic addresses, leading to near-identical layouts across instances and more repeatable exploitation. To reduce layout predictability, this research introduces ASLR-style diversity into OSv by randomizing the application base and thread stack regions through targeted changes to core memory-management and loading routines. The implementation adds minimal complexity while preserving OSv's lightweight design goals. Evaluation against an unmodified baseline finds comparable boot time, application runtime, and memory usage. Analysis indicates that the generated addresses exhibit a uniform distribution. These results show that layout-randomization defenses can be efficiently and effectively integrated into OSv unikernels, improving resistance to reliable exploitation.

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

↑