TL;DR
This paper introduces a novel Correlation Power Analysis (CPA) attack strategy specifically targeting cryptographic implementations built with Spin-Transfer Torque Magnetic Random-Access Memory (STT-MRAM). By developing a new power model that accounts for the unique power consumption characteristics of STT-MRAM during write operations, the authors demonstrate that even state-of-the-art countermeasures can be bypassed, posing a significant security risk for these emerging memory technologies.
What Problem Does This Paper Address?
Emerging technologies like STT-MRAM are attractive for low-power, high-density storage, making them prime candidates for use in cryptosystems. However, the security of these NVM-based designs against side-channel attacks, particularly power analysis, needs thorough investigation. While some research suggests STT-MRAM might be more resistant to power analysis than traditional CMOS due to lower sensitivity to input changes, recent work has shown vulnerabilities. This paper addresses the gap in understanding how to effectively perform power analysis attacks on STT-MRAM based cryptosystems, especially when countermeasures are in place, and proposes a method to overcome these challenges.
Methods
The core of this paper lies in a new hypothetical power model designed to estimate the power consumption of STT-MRAM based designs. Unlike traditional CMOS power models that rely on Hamming distance, this model accounts for the distinct power profiles of STT-MRAM during write operations. Specifically, it recognizes that the power consumed when switching from an Anti-Parallel (AP) to a Parallel (P) state differs from switching from P to AP. After vertical alignment of power traces (removing DC bias), the model focuses on the transitions that cause power variations: AP to P (increase in power) and P to AP (decrease in power). The authors then apply this model within a standard Correlation Power Analysis (CPA) framework. CPA involves identifying a key-dependent intermediate value, collecting power traces during the execution of the cryptosystem, and statistically analyzing the correlation between these traces and estimated power leakages based on hypothetical power models and key guesses.
Datasets
Not discussed in the paper. The authors generated simulated power traces using a physics-based HSPICE model for an MTJ device.
Key Insights and Ideas
- STT-MRAM Power is Asymmetric: The power consumed during an AP to P transition is different from a P to AP transition. This asymmetry is crucial and cannot be ignored by power analysis attacks.
- Standard CMOS Power Models Fail: Traditional Hamming distance-based power models are insufficient for STT-MRAM due to its unique switching characteristics.
- A New Power Model is Essential: The proposed hypothetical power model, which considers the differential power consumption of AP→P and P→AP transitions, is key to successfully attacking STT-MRAM based designs.
- Countermeasures are Not Foolproof: Even state-of-the-art countermeasures, like adding random registers, can be bypassed by this refined CPA attack strategy. This highlights the ongoing arms race in side-channel security.
- Generic Attack Strategy: The methodology presented is not limited to the specific cipher used but can be generalized to break other MTJ-based implementations of various cryptographic algorithms.
Key Results
The paper successfully demonstrates the vulnerability of an STT-MRAM based implementation of the MICKEY-128 2.0 stream cipher to the proposed CPA attack.
- Standard Design: The attack could retrieve the correct key bit with approximately 50 power traces for a standard MICKEY-128 2.0 implementation where registers are made of STT-MRAM.
- Protected Design: Even when the MICKEY-128 2.0 design incorporated state-of-the-art countermeasures (160 additional random registers), the attack was still effective, requiring around 100 traces to distinguish the correct key bit. This indicates that the proposed power model and CPA strategy can overcome common side-channel protections for MTJ-based designs.
Limitations and Future Work
- Device-Dependent Parameters: The proposed power model uses parameters 'a' and 'b' representing the magnitude of power profile alteration for AP→P and P→AP transitions, respectively. The authors assume an adversary cannot profile these device-specific characteristics and uses a simplified model (∆Palign total = t10 − t01). In a real-world scenario, accurately determining these parameters would be crucial.
- Constant Voltage Mode: The experiments were conducted in a constant voltage mode. The paper briefly mentions that if a constant current source is used for MRAM write operation, the implementation will still be susceptible, but this was not experimentally validated in detail.
- Future Work: The authors suggest that this generic methodology can be applied to break MTJ-based implementations of other cipher algorithms, including block ciphers and public-key cryptosystems. Further research could explore the effectiveness of this attack against different MTJ technologies and more advanced countermeasures.
Summary updated