Skip to main content
QUICK REVIEW

[论文解读] Cache Bypassing and Checkpointing to Circumvent Data Security Attacks on STTRAM

Nitin Rathi, Asmit De|arXiv (Cornell University)|Mar 20, 2016
Advanced Memory and Neural Computing参考文献 5被引用 3
一句话总结

本文提出了一种缓存绕过与检查点技术,以抵御针对自旋转移矩随机存取存储器(STTRAM)的数据安全攻击。由于STTRAM对温度和磁场敏感,易受环境篡改影响。通过在攻击期间动态绕过最后一级缓存(LLC)并从周期性检查点恢复,系统在50%攻击持续时间下仅造成8%的平均IPC下降,且在完整持续攻击下仅增加2%的能耗。

ABSTRACT

Spin-Transfer Torque RAM (STTRAM) is promising for cache applications. However, it brings new data security issues that were absent in volatile memory counterparts such as Static RAM (SRAM) and embedded Dynamic RAM (eDRAM). This is primarily due to the fundamental dependency of this memory technology on ambient parameters such as magnetic field and temperature that can be exploited to tamper with the stored data. In this paper we propose three techniques to enable error free computation without stalling the system, (a) stalling where the system is halted during attack; (b) cache bypass during gradually ramping attack where the last level cache (LLC) is bypassed and the upper level caches interact directly with the main memory; and, (c) checkpointing along with bypass during sudden attack where the processor states are saved periodically and the LLC is written back at regular intervals. During attack the system goes back to the last checkpoint and the computation continues with bypassed cache. We performed simulation for different duration and frequency of attack on SPLASH benchmark suite and the results show an average of 8% degradation in IPC for a one-time attack lasting for 50% of the execution time. The energy overhead is 2% for an attack lasting for the entire duration of execution.

研究动机与目标

  • 解决STTRAM中独有的数据安全漏洞,这些漏洞在SRAM和eDRAM等易失性存储器中并不存在。
  • 缓解温度和磁场等环境因素带来的风险,这些因素可能改变STTRAM中存储的数据。
  • 在数据安全攻击期间及之后实现持续、无错误的计算,且系统不发生停顿。
  • 在确保系统对渐进式和突发式攻击均具备鲁棒性的同时,最小化性能与能耗开销。

提出的方法

  • 实施一种停顿机制,在攻击活跃期间暂停系统运行,以防止数据损坏。
  • 在渐进式攻击期间引入缓存绕过机制,即最后一级缓存(LLC)被绕过,上层缓存直接访问主内存。
  • 采用周期性检查点机制,定期保存处理器状态,以便在攻击后实现恢复。
  • 在突发式攻击期间,回滚至最近一次检查点,并在LLC被绕过的情况下继续执行,以维持系统完整性。
  • 结合硬件与软件机制,检测攻击开始时间,并触发相应的防御策略。
  • 在SPLASH基准测试套件上,对不同攻击持续时间与频率下的所提技术进行仿真,以评估性能与能耗的权衡。

实验结果

研究问题

  • RQ1STTRAM系统如何在利用温度与磁场依赖性的环境攻击下维持数据完整性?
  • RQ2哪些机制可确保在数据安全攻击期间系统持续运行,且不发生执行停顿?
  • RQ3在不同攻击场景下,检查点与缓存绕过等防御机制的性能开销(IPC与能耗)是多少?
  • RQ4所提技术在渐进式与突发式攻击模型下的有效性如何比较?
  • RQ5周期性检查点与动态缓存绕过能否在STTRAM系统中实现安全、性能与能效之间的可行权衡?

主要发现

  • 对于持续时间为执行时间50%的一次性攻击,系统平均造成8%的每周期指令数(IPC)下降。
  • 当攻击持续整个执行周期时,由于检查点与绕过机制,能耗开销为2%。
  • 所提出的机制——缓存绕过与检查点——可在攻击期间无需系统停顿的情况下实现无错误计算。
  • 在渐进式攻击中采用动态缓存绕过,在突发式攻击中采用基于检查点的恢复,可确保系统韧性。
  • 在SPLASH基准测试套件上的仿真结果表明,所提防御机制在多种工作负载与攻击特征下均有效。
  • 该方法在现实环境威胁模型下维持了系统可用性与数据完整性,为STTRAM的实用部署提供了切实可行的解决方案。

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。