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

定时边信道的定量缓解

Quantitative Mitigation of Timing Side Channels

University of Colorado Boulder(科罗拉多大学博尔德分校)

Saeid Tizpaz-Niari, Pavol Cerny, Ashutosh Trivedi

摘要:

定时侧信道对软件应用程序的安全性和隐私性构成重大威胁。我们提出了一种方法来减轻这个问题,通过降低侧通道的强度,如基于熵的目标,如最小猜测熵测量。我们的目标是最大限度地减少信息泄漏,同时保证用户指定的最大可接受的性能开销。我们把这个问题的决定版本香农缓解,并考虑两个变量,确定性和随机。首先,我们证明了确定性变量是NP难的。然而,我们给出了一个多项式算法,找到一个最佳的解决方案,从一个限制集。其次,对于随机变量,我们开发了一种算法,该算法使用特定于所使用的基于熵的目标的优化技术。例如,对于最小猜测熵,我们使用混合整数线性规划。我们将该算法应用到一个威胁模型中,攻击者可以进行功能性观察,也就是说,她观察程序的运行时间与不同的公共输入值相结合的相同的秘密值。现有的缓解方法不提供这种威胁模型的机密性或性能保证。我们评估我们的工具SCHMIT上的一些微基准和现实世界中的应用程序与不同的基于熵的目标。与现有的缓解方法相比,我们表明,在功能观察威胁模型,SCHMIT是可扩展的,能够最大限度地提高保密性的性能开销约束下。

英文摘要:

Timing side channels pose a significant threat to the security and privacy of software applications. We propose an approach for mitigating this problem by decreasing the strength of the side channels as measured by entropy-based objectives, such as min-guess entropy. Our goal is to minimize the information leaks while guaranteeing a user-specified maximal acceptable performance overhead. We dub the decision version of this problem Shannon mitigation, and consider two variants, deterministic and stochastic. First, we show the deterministic variant is NP-hard. However, we give a polynomial algorithm that finds an optimal solution from a restricted set. Second, for the stochastic variant, we develop an algorithm that uses optimization techniques specific to the entropy-based objective used. For instance, for min-guess entropy, we used mixed integer-linear programming. We apply the algorithm to a threat model where the attacker gets to make functional observations, that is, where she observes the running time of the program for the same secret value combined with different public input values. Existing mitigation approaches do not give confidentiality or performance guarantees for this threat model. We evaluate our tool SCHMIT on a number of micro-benchmarks and real-world applications with different entropy-based objectives. In contrast to the existing mitigation approaches, we show that in the functional-observation threat model, SCHMIT is scalable and able to maximize confidentiality under the performance overhead bound.

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

↑