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

KLEESPECTRE:通过符号执行检测推测缓存攻击的信息泄漏

KLEESPECTRE: Detecting Information Leakage through Speculative Cache Attacks via Symbolic Execution

Guanhua Wang, Sudipta Chattopadhyay, Arnab Kumar Biswas, Tulika Mitra, Abhik Roychoudhury

摘要:

2018年初披露的Spectre攻击通过缓存侧通道暴露了数据泄漏场景。具体地,由于分支误预测而推测地执行的路径可能将秘密数据带入高速缓存中,然后即使在推测执行被压制之后,这些秘密数据也经由高速缓存侧通道被暴露。符号执行是一种众所周知的测试生成方法,用于覆盖应用软件级别的程序路径。在本文中,我们扩展了符号执行与建模的缓存和推测执行。我们的工具KLEESPECTRE,建立在KLEE符号执行引擎之上,因此可以提供一个测试引擎来检查通过缓存侧通道的数据泄漏,如通过Spectre攻击所示。我们的符号缓存模型可以验证是否敏感的数据泄漏,由于投机执行可以观察到攻击者在一个给定的程序点。实验结果表明,KLEESPECTREE可以有效地检测沿推测执行路径的数据泄漏,我们的缓存模型可以进一步使泄漏检测更精确。

英文摘要:

Spectre attacks disclosed in early 2018 expose data leakage scenarios via cache side channels. Specifically, speculatively executed paths due to branch mis-prediction may bring secret data into the cache which are then exposed via cache side channels even after the speculative execution is squashed. Symbolic execution is a well-known test generation method to cover program paths at the level of the application software. In this paper, we extend symbolic execution with modelingof cache and speculative execution. Our tool KLEESPECTRE, built on top of the KLEE symbolic execution engine, can thus provide a testing engine to check for the data leakage through cache side-channel as shown via Spectre attacks. Our symbolic cache model can verify whether the sensitive data leakage due to speculative execution can be observed by an attacker at a given program point. Our experiments show that KLEESPECTREcan effectively detect data leakage along speculatively executed paths and our cache model can further make the leakage detection much more precise.

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

↑