arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1912.04726cs.CR
收藏

NVM中安全元数据的写友好快速恢复方案

A Write-Friendly and Fast-Recovery Scheme for Security Metadata in NVM

Jianming Huang, Yu Hua

摘要:

非易失性存储器(Non-Volatile Memory,NVMs)已引起学术界和工业界的广泛关注,有望成为下一代存储器。然而,由于非易失性属性,NVM变得容易受到攻击并且需要安全机制,例如,计数器模式加密和完整性树,引入了安全元数据。NVM承诺在系统崩溃后恢复这些安全元数据,包括计数器和完整性树。然而,与从用户数据重建的merkle树不同,恢复SGX完整性树(SIT)必须解决来自独特的自上而下的分层依赖性的挑战。此外,由于NVM写入和IT停机的高成本,写入开销和恢复时间是用于评估持久存储器系统的重要度量。如何恢复安全元数据,即,具有低写入开销和短恢复时间的计数器块和完整性树节点变得非常重要。为了提供一个快速的恢复方案,低写开销,我们提出了STAR,一个具有成本效益的计划,用于恢复计数器块和SGX完整性树节点崩溃后。为了快速恢复和验证,STAR将MAC和正确数据结合起来,在ADR中使用位图线来指示失效节点的位置,并构造缓存Merkle树来验证恢复过程的正确性。此外,STAR使用多层索引来加快恢复过程。STAR还允许不同的配置,以满足写入开销和恢复时间的自适应要求。我们的评估结果表明,拟议的STAR减少了高达87%的内存写入的数量相比,最先进的工作,Anubis,这需要额外的1x内存写入。对于4 MB的安全元数据缓存,STAR在三种不同的配置中需要0.039 s/0.023 s/0.004 s来恢复元数据缓存,而Anubis需要0.020 s。

英文摘要:

Non-Volatile Memories (NVMs) have attracted the attentions of academia and industry, which is expected to become the next-generation memory. However, due to the nonvolatile property, NVMs become vulnerable to attacks and require security mechanisms, e.g., counter mode encryption and integrity tree, which introduce the security metadata. NVMs promise to recover these security metadata after a system crash, including the counter and integrity tree. However, unlike merkle tree reconstructed from user data, recovering SGX integrity tree (SIT) has to address the challenges from unique top-down hierarchical dependency. Moreover, writing overhead and recovery time are important metrics for evaluating persistent memory system due to the high costs of NVM writes and IT downtime. How to recover the security metadata, i.e., counter blocks and integrity tree nodes, with low write overhead and short recovery time, becomes much important. To provide a fast recovery scheme with low write overhead, we propose STAR, a cost-efficient scheme for recovering counter blocks and SGX integrity tree nodes after crashes. For fast recovery and verification, STAR synergizes the MAC and correct data, uses bitmap lines in ADR to indicate the location of stale node and constructs a cached merkle tree to verify the correctness of the recovery process. Moreover, STAR uses a multi-layer index to speed up the recovery process. STAR also allows different configurations to meet adaptive requirements for write overhead and recovery time. Our evaluation results show that the proposed STAR reduces the number of memory writes by up to 87\% compared with state-of-the-art work, Anubis, which needs extra 1x memory writes. For a 4MB security metadata cache, STAR needs 0.039s/0.023s/0.004s in three different configurations to recover the metadata cache while Anubis needs 0.020s.

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

↑