Phoenix:实现持久安全、可恢复和NVM友好的计数器树
Phoenix: Towards Persistently Secure, Recoverable, and NVM Friendly Tree of Counters
摘要:
新兴的非易失性存储器(NVM)给安全社区带来了独特的挑战,即持久安全。由于基于NVM的存储器预计在恢复后恢复其数据,因此也必须恢复安全元数据。但是,在每次内存写入时持久化所有受影响的安全元数据将显著降低性能并加剧写入耐久性问题。此外,当不严格更新安全元数据时,恢复时间可能会显著增加(对于实际内存大小,可达数小时)。计数器树用于现有技术的商业安全处理器中,例如,英特尔安全防护扩展(SGX)。计数器树有一个独特的挑战,由于无法恢复整个树的叶子。因此,为了确保可恢复性,对树的所有更新都必须持久化,这可能是每次写入时的数十次额外写入。最先进的方案Anubis实现了可恢复性,但每次缓存回收都会导致额外的写入,即,寿命缩短了一半左右。此外,Anubis在许多情况下会显着降低性能。在本文中,我们提出凤凰,一个实用的新计划,它依赖于优雅地再现崩溃前的缓存内容,但以最小的开销。我们的评估结果表明,与没有恢复的加密系统相比,Phoenix将持久性安全元数据开销写入从87%的额外写入(对于Anubis)减少到少于回写,从而将NVM生命周期提高了2倍。Phoenix的总体性能优于基准,不像Anubis增加了7.9\%(最大35\%)的性能开销。
英文摘要:
Emerging Non-Volatile Memories (NVMs) bring a unique challenge to the security community, namely persistent security. As NVM-based memories are expected to restore their data after recovery, the security metadata must be recovered as well. However, persisting all affected security metadata on each memory write would significantly degrade performance and exacerbate the write endurance problem. Moreover, recovery time can increase significantly (up to hours for practical memory sizes) when security metadata are not updated strictly. Counter trees are used in state-of-the-art commercial secure processors, e.g., Intel's Safe Guard Extension (SGX). Counter trees have a unique challenge due to the inability to recover the whole tree from leaves. Thus, to ensure recoverability, all updates to the tree must be persisted, which can be tens of additional writes on each write. The state-of-art scheme, Anubis, enables recoverability but incurs an additional write per cache eviction, i.e., reduces lifetime to approximately half. Additionally, Anubis degrades performance significantly in many cases. In this paper, we propose Phoenix, a practical novel scheme which relies on elegantly reproducing the cache content before a crash, however with minimal overheads. Our evaluation results show that Phoenix reduces persisting security metadata overhead writes from 87\% extra writes (for Anubis) to less than write-back compared to an encrypted system without recovery, thus improving the NVM lifetime by 2x. Overall Phoenix performance is better than the baseline, unlike Anubis which adds 7.9\% (max of 35\%) performance overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。