Skip to main content
QUICK REVIEW

[Paper Review] Triad-NVM: Persistent-Security for Integrity-Protected and Encrypted Non-Volatile Memories (NVMs)

Amro Awad, Laurent Njilla|arXiv (Cornell University)|Oct 20, 2018
Advanced Data Storage TechnologiesComputer Science25 references3 citations
TL;DR

Triad-NVM introduces a novel persistent-security model for non-volatile memories (NVMs) that ensures integrity and confidentiality by persisting both Merkle Tree metadata and encryption counters across crashes. It achieves up to 2x higher throughput and sub-4-second recovery times (even for 64TB systems) by using hierarchical, relaxed persistence schemes with minimal performance overhead.

ABSTRACT

Emerging Non-Volatile Memories (NVMs) are promising contenders for building future memory systems. On the other side, unlike DRAM systems, NVMs can retain data even after power loss and thus enlarge the attack surface. While data encryption and integrity verification have been proposed earlier for DRAM systems, protecting and recovering secure memories becomes more challenging with persistent memory. Specifically, security metadata, e.g., encryption counters and Merkle Tree data, should be securely persisted and recovered across system reboots and during recovery from crashes. Not persisting updates to security metadata can lead to data inconsistency, in addition to serious security vulnerabilities. In this paper, we pioneer a new direction that explores persistency of both Merkle Tree and encryption counters to enable secure recovery of data-verifiable and encrypted memory systems. To this end, we coin a new concept that we call Persistent-Security. We discuss the requirements for such persistently secure systems, propose novel optimizations, and evaluate the impact of the proposed relaxation schemes and optimizations on performance, resilience and recovery time. To the best of our knowledge, our paper is the first to discuss the persistence of security metadata in integrity-protected NVM systems and provide corresponding optimizations. We define a set of relaxation schemes that bring trade-offs between performance and recovery time for large capacity NVM systems. Our results show that our proposed design, Triad-NVM, can improve the throughput by an average of ~2x (relative to strict persistence). Moreover, Triad-NVM maintains a recovery time of less than 4 seconds for an 8TB NVM system (30.6 seconds for 64TB), which is ~3648x faster than a system without security metadata persistence.

Motivation & Objective

  • Address the lack of systematic study on persisting security metadata—especially Merkle Tree and encryption counters—in integrity-protected NVM systems.
  • Overcome the challenge of ensuring secure recovery after crashes or power loss without relying on battery-backed storage.
  • Propose a holistic framework for persistent-security that balances performance, recovery time, resilience, and security.
  • Design flexible relaxation schemes for security metadata persistence to allow system-level trade-offs between performance and recovery time.
  • Enable practical deployment of secure NVM systems by minimizing reliance on expensive power supplies or complex hardware

Proposed method

  • Introduce the concept of 'Persistent-Security' to define requirements for secure recovery in NVM systems with integrity protection.
  • Leverage spatial partitioning of NVM address space to divide Merkle Tree into persistent and non-persistent subtrees, enabling selective persistence.
  • Design three variants—Triad-NVM-1, Triad-NVM-2, and Triad-NVM-3—offering increasing resolution in error localization and resilience through multi-level verification.
  • Use hierarchical MAC computation to detect and isolate corrupted nodes during recovery, starting from higher-level nodes and descending to pinpoint errors.
  • Integrate with existing NVM persistency models (e.g., PMDK, JUSTDO, epoch-based logging) without requiring application-level changes.
  • Optimize write overhead by relaxing strict persistence of security metadata, allowing system administrators to tune trade-offs based on crash rate and data sensitivity.

Experimental results

Research questions

  • RQ1What security metadata must be persistently stored to ensure secure recovery of integrity-protected and encrypted NVM systems?
  • RQ2How does relaxing the persistence of security metadata affect system resilience, recovery time, and security guarantees?
  • RQ3What are the performance and recovery-time trade-offs of different relaxation schemes for Merkle Tree and encryption counters in large-scale NVM systems?
  • RQ4Can error localization be improved through hierarchical verification without incurring excessive overhead?
  • RQ5How can persistent-security be achieved in battery-free environments with limited write endurance and no guaranteed power supply?

Key findings

  • Triad-NVM improves system throughput by an average of 2x compared to strict persistence models.
  • Recovery time is reduced to less than 4 seconds for an 8TB NVM system and under 31 seconds for a 64TB system, representing a 3648x speedup over systems without security metadata persistence.
  • The hierarchical verification in Triad-NVM-2 and Triad-NVM-3 enables precise error localization, reducing false positives and improving resilience.
  • The system maintains strong security guarantees even with relaxed persistence by using MAC-based verification and multi-level error detection.
  • The design is compatible with existing NVM persistency models and requires no application-level modifications, enabling broad integration.
  • The approach reduces write amplification and write endurance pressure by selectively persisting only critical metadata levels.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.