PREFENDER:作为伪装者抵御缓存侧信道攻击的预取防御机制
PREFENDER: A Prefetching Defender against Cache Side Channel Attacks as A Pretender
AI总结:
针对现有缓存侧信道攻击防御措施存在性能损耗或防护范围受限的问题,本文提出安全预取器Prefender,通过学习预测攻击相关访问并预取缓存行,在抵御多种缓存侧信道攻击的同时保持甚至提升了基准测试性能。
摘要:
随着Spectre和Meltdown攻击的新近出现,缓存侧信道攻击在现代处理器中的威胁日益严峻。典型攻击通过执行有意的缓存访问、操控缓存状态,再观察受害者的缓存访问模式来泄露机密。目前已有多种防御措施被提出,用于抵御通用攻击和基于瞬态执行的攻击。尽管这些措施具备有效性,但大多需要牺牲一定性能换取安全性,或是安全防护范围存在局限。本文旨在探索一种在保障性能的同时实现安全防护的方法。我们利用了攻击者必须访问缓存才能操控并观察缓存状态变化以泄露信息这一核心洞察。具体而言,我们提出了Prefender(一种安全预取器),它能学习并预测与攻击相关的访问,预取对应缓存行,从而同时提升安全性与性能。实验结果表明,Prefender可有效抵御多种缓存侧信道攻击,同时在SPEC CPU 2006和2017基准测试中保持甚至提升了性能。
英文摘要:
Cache side channel attacks are increasingly alarming in modern processors due to the recent emergence of Spectre and Meltdown attacks. A typical attack performs intentional cache access and manipulates cache states to leak secrets by observing the victim's cache access patterns. Different countermeasures have been proposed to defend against both general and transient execution based attacks. Despite their effectiveness, they mostly trade some level of performance for security, or have restricted security scope. In this paper, we seek an approach to enforcing security while maintaining performance. We leverage the insight that attackers need to access cache in order to manipulate and observe cache state changes for information leakage. Specifically, we propose Prefender, a secure prefetcher that learns and predicts attack-related accesses for prefetching the cachelines to simultaneously help security and performance. Our results show that Prefender is effective against several cache side channel attacks while maintaining or even improving performance for SPEC CPU 2006 and 2017 benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。