Data integrity is important for non-volatile memory (NVM) systems that maintain data even without power. The data integrity in NVM is possibly compromised by integrity attacks, which can be defended against by integrity verification via integrity trees. After NVM system failures and reboots, the integrity tree root is responsible for providing a trusted execution environment. However, the root often becomes a performance bottleneck, since updating the root requires high latency on the write critical path to propagate the modifications from leaf nodes to the root. The root and leaf nodes have to ensure the crash consistency between each other to avoid any update failures that potentially result in misreporting the attacks after system reboots. In this paper, we propose an efficient and low-latency scheme, called SCUE, to directly update the root on the SGX integrity tree (SIT) by overlooking the updates upon the intermediate tree nodes. The idea behind SCUE explores and exploits the observation that only the persistent leaf nodes and root are useful to ensure the integrity after system failures and reboots, due to the loss of the cached intermediate tree nodes. To achieve the crash consistency between root and leaf nodes, we accurately predict the updates upon the root and pre-update the root before the leaf nodes are modified. Moreover, the SIT root is difficult to be reconstructed from the leaf nodes since updating one tree node needs its parent node as input. We use a counter-summing approach to reconstructing the SIT from leaf nodes. Our evaluation results show that compared with the state-of-the-art integrity tree update schemes, our SCUE scheme delivers high performance while ensuring the system integrity.
翻译:数据完整性对于即使没有动力也能维持数据的非挥发性记忆系统( NVM) 数据完整性非常重要。 NVM 中的数据完整性可能受到完整性攻击的破坏,而这种攻击可以通过完整性树的完整核查加以保护。 在 NVM 系统故障和重新启用后, 完整性树根负责提供一个值得信任的执行环境。 但是, 树根通常会变成一个性能瓶颈, 因为更新根部需要在写关键路径上保持高度的悬浮性, 以传播从叶节点到根部的修改。 根部和叶节点必须确保彼此的崩溃性一致性, 以避免任何更新性失灵, 从而可能导致系统重啟后的攻击发生误报。 在本文中, 我们提议一个高效且低延缓性的系统, 呼叫SCUE, 直接更新SGX 完整性树根部根部的根部根部根部根部根部根部根部根部。 SCUE背后的理念探索并利用这样的观察,只有持久性叶节和根部方法才有助于确保系统在系统故障和重新启用后的完整性, 的正确性评估结果,,因为系统会丢失的直系会丢失的直系更新, 。 树本部的树本部更新需要更新,我们的一个根部的树根部, 直至根部的树根部的根部, 直至根部的树根部的根部, 直至根部的根部的根部的根部的根部的根部,我们根部的根部的根部的根部的根部的根部的根部的根部, 直到根部的直至根部的根部的根部的根部的根部的根部的根部的直至根部的直至根部的根部的根部的根部的根部的根部的根部的根部, 直至根部的根部的根部的直至根部的直至根部的根部的根部的根部的根部的根部的根部的根部的根部的根部的根部的根部的根部的根部, 直部的根部, 直部, 直部的根部的根部的直部的直部的直部的直部的直部的