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

StackVault:防止不受信任的功能

StackVault: Protection from Untrusted Functions

Qi Zhang, Zehra Sura, Ashish Kundu, Gong Su, Arun Iyengar, Ling Liu

摘要:

数据泄露攻击导致了巨大的数据泄露。最近,Equifax攻击影响了1.47亿用户,第三方库Apache Struts被指控对此负责。这些攻击通常利用敏感数据存储在未加密的进程内存中,并且可以被同一进程内执行的任何函数访问,包括不受信任的第三方库函数。本文介绍了StackVault,一个基于内核的系统,以防止敏感的堆栈为基础的数据被访问在未经授权的方式由进程内的功能。基于堆栈的数据包括堆栈上的数据以及堆栈上的指针变量所指向的数据。StackVault由三个组件组成:(1)一组编程API,允许用户指定哪些数据需要保护,(2)一个内核模块,使用不可伪造的函数标识来可靠地执行敏感数据保护,以及(3)一个LLVM编译器扩展,支持堆栈保护操作的透明放置。StackVault系统通过对敏感堆栈数据和不受信任功能的空间和时间访问监控和控制,自动实施堆栈保护。我们实现了StackVault,并使用许多流行的实际应用程序(包括gRPC)对其进行了评估。结果表明,StackVault是有效和高效的,只产生高达2.4%的运行时开销。

英文摘要:

Data exfiltration attacks have led to huge data breaches. Recently, the Equifax attack affected 147M users and a third-party library - Apache Struts - was alleged to be responsible for it. These attacks often exploit the fact that sensitive data are stored unencrypted in process memory and can be accessed by any function executing within the same process, including untrusted third-party library functions. This paper presents StackVault, a kernel-based system to prevent sensitive stack-based data from being accessed in an unauthorized manner by intra-process functions. Stack-based data includes data on stack as well as data pointed to by pointer variables on stack. StackVault consists of three components: (1) a set of programming APIs to allow users to specify which data needs to be protected, (2) a kernel module which uses unforgeable function identities to reliably carry out the sensitive data protection, and (3) an LLVM compiler extension that enables transparent placement of stack protection operations. The StackVault system automatically enforces stack protection through spatial and temporal access monitoring and control over both sensitive stack data and untrusted functions. We implemented StackVault and evaluated it using a number of popular real-world applications, including gRPC. The results show that StackVault is effective and efficient, incurring only up to 2.4% runtime overhead.

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

↑