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

KeyDrown:消除击键计时侧信道攻击

KeyDrown: Eliminating Keystroke Timing Side-Channel Attacks

Michael Schwarz, Moritz Lipp, Daniel Gruss, Samuel Weiser, Clémentine Maurice, Raphael Spreitzer, Stefan Mangard

摘要:

除了加密秘密,侧信道攻击还泄漏敏感的用户输入。最精确的攻击利用缓存计时或中断信息来监视缓存计时,并随后推断键入的单词和句子。先前提出的对策未能防止恶意定时攻击,因为它们不能保护整个软件栈中的恶意处理。我们使用KeyDrown来缩小这一差距,这是一种针对定时攻击的新防御机制。KeyDrown在内核中注入了大量的伪伪内核,以防止对内核的基于中断的攻击和Prime+Probe攻击。所有缓存(包括假缓存)都通过共享库小心地传播,以隐藏任何缓存活动,从而防止Flush+ Rackad攻击。最后,我们为用户空间程序中的密码输入提供了针对Prime+Probe的额外保护。我们表明,攻击者无法区分假的黑客攻击从真正的黑客攻击了,我们评估KeyDrown的商品笔记本电脑以及两个Android智能手机。我们表明,KeyDrown消除了任何优势,攻击者可以从使用中断或缓存侧通道信息。

英文摘要:

Besides cryptographic secrets, side-channel attacks also leak sensitive user input. The most accurate attacks exploit cache timings or interrupt information to monitor keystroke timings and subsequently infer typed words and sentences. Previously proposed countermeasures fail to prevent keystroke timing attacks as they do not protect keystroke processing among the entire software stack. We close this gap with KeyDrown, a new defense mechanism against keystroke timing attacks. KeyDrown injects a large number of fake keystrokes in the kernel to prevent interrupt-based attacks and Prime+Probe attacks on the kernel. All keystrokes, including fake keystrokes, are carefully propagated through the shared library in order to hide any cache activity and thus to prevent Flush+Reload attacks. Finally, we provide additional protection against Prime+Probe for password input in user space programs. We show that attackers cannot distinguish fake keystrokes from real keystrokes anymore and we evaluate KeyDrown on a commodity notebook as well as on two Android smartphones. We show that KeyDrown eliminates any advantage an attacker can gain from using interrupt or cache side-channel information.

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

↑