arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.11340cs.CR
收藏

面向密码认证的内存中数据结构

Towards cryptographically-authenticated in-memory data structures

Setareh Ghorshi, Lachlan J. Gunn, Hans Liljestrand, N. Asokan

摘要:

现代处理器包括高性能的加密功能,如英特尔的AES-NI和ARM的指针验证,允许程序有效地验证程序持有的数据。指针认证已经用于保护最近Apple设备中的返回地址,但到目前为止,这些结构几乎没有用于保护一般程序数据。在本文中,我们将展示如何加密认证的数据结构可以用来防止基于内存损坏的攻击,并展示如何使用广泛可用的硬件辅助加密机制,它们可以有效地实现。我们以最小的整体性能开销(OpenCV核心性能测试的3.4%-6.4%的减速)实现了安全堆栈和队列,并提供了正确性证明。

英文摘要:

Modern processors include high-performance cryptographic functionalities such as Intel's AES-NI and ARM's Pointer Authentication that allow programs to efficiently authenticate data held by the program. Pointer Authentication is already used to protect return addresses in recent Apple devices, but as yet these structures have seen little use for the protection of general program data. In this paper, we show how cryptographically-authenticated data structures can be used to protect against attacks based on memory corruption, and show how they can be efficiently realized using widely available hardware-assisted cryptographic mechanisms. We present realizations of secure stacks and queues with minimal overall performance overhead (3.4%-6.4% slowdown of the OpenCV core performance tests), and provide proofs of correctness.

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

↑