[Paper Review] Power Analysis Based Side Channel Attack
This paper presents a practical testbed for power analysis side-channel attacks on cryptographic systems, demonstrating successful key recovery from AES and the recently released Speck algorithm in under 10 minutes and one hour, respectively. It evaluates both circuit-level and software-based countermeasures, finding software methods like random instruction injection and S-box shuffling significantly more effective than hardware filters, while proposing a hardware true random number generator to improve seed quality for randomness in countermeasures.
Power analysis is a branch of side channel attacks where power consumption data is used as the side channel to attack the system. First using a device like an oscilloscope power traces are collected when the cryptographic device is doing the cryptographic operation. Then those traces are statistically analysed using methods such as Correlation Power Analysis (CPA) to derive the secret key of the system. Being possible to break Advanced Encryption Standard (AES) in few minutes, power analysis attacks have become a serious security issue for cryptographic devices such as smart card. As the first phase of our project, we build a testbed for doing research on power analysis attacks. As power analysis is a practical type of attack in order to do any research, a testbed is the first requirement. Since building a test bed is a complicated process, having a pre-built testbed would save the time of future researchers. The second phase of our project is to attack the latest cryptographic algorithm called Speck which has been released by National Security Agency (NSA) for use in embedded systems. In spite it has lot of differences to AES making impossible to directly use the power analysis approach used for AES, we introduce novel approaches to break Speck in less than an hour. In the third phase of the project, we select few already introduced countermeasures and practically attack them on our testbed to do a comparative analysis. We show that software countermeasures such as random instruction injection and randomly shuffling S-boxes are good enough for their simplicity and cost. But we identify the possible threat due to the problem of generating a good seed for the pseudo-random algorithm running on the microcontroller. We attempt to address this issue by using a hardware-based true random generator that amplifies a random electrical signal and samples to generate a proper seed.
Motivation & Objective
- To build a functional, reusable testbed for power analysis side-channel attacks on embedded cryptographic systems.
- To demonstrate the feasibility of breaking the recently released NSA-designed Speck cipher using power analysis, despite its differences from AES.
- To evaluate and compare the effectiveness of existing and novel circuit-level and software-based countermeasures against power analysis attacks.
- To address the critical issue of pseudo-random seed generation in microcontroller-based countermeasures by proposing and testing a hardware true random number generator.
Proposed method
- The testbed uses a PIC18F2550 microcontroller for cryptographic operations, a digital oscilloscope for power trace acquisition, and custom PCBs with ground and VDD resistor methods for power measurement.
- Correlation Power Analysis (CPA) is applied to power traces collected during AES encryption to statistically correlate intermediate values with power consumption and recover the secret key.
- For Speck, novel attack strategies were developed due to the absence of S-boxes and different key scheduling; the attack uses round key derivation and correlation analysis based on data-dependent operations like ROTATE and ADD.
- Circuit-level countermeasures include passive filters (LC, RC), voltage regulators, Zener diodes, operational amplifiers, and constant current sources, all tested for resilience against CPA.
- Software countermeasures include random instruction injection and S-box shuffling, with a custom true random seed generator using amplified noise from a reverse-biased transistor.
- A dual setup for seed generation was implemented: one using a digital pin to sample a digitized noise signal, and another using an analog pin for continuous analog sampling, both validated via frequency and Fourier spectrum analysis.
Experimental results
Research questions
- RQ1Can a low-cost, reusable testbed be effectively built to enable practical research on power analysis attacks?
- RQ2Is the recently released Speck cipher vulnerable to power analysis attacks despite its design differences from AES?
- RQ3How effective are existing and novel circuit-level countermeasures in preventing power analysis attacks?
- RQ4Can software-based countermeasures such as random instruction injection and S-box shuffling provide strong protection with minimal hardware overhead?
- RQ5Can a hardware-based true random number generator improve the security of pseudo-random seeds in embedded countermeasures?
Key findings
- The testbed successfully recovered the AES key in less than 10 minutes using CPA, validating its functionality and reusability for future research.
- Speck was successfully broken in under one hour using novel attack techniques tailored to its lack of S-boxes and unique operations like ROTATE and ADD.
- All tested passive circuit filters, including a second-order LC filter, were compromised in under 5 hours, indicating insufficient protection against power analysis.
- Among custom circuit methods, the best offered protection for less than 4 hours, confirming that circuit-level countermeasures are not robust against sophisticated power analysis.
- Random instruction injection significantly increased attack time, with 100 injected instructions estimated to require over 20 days to break, outperforming all circuit-based methods.
- The proposed true random seed generator using amplified transistor noise produced high-quality randomness, verified through frequency distribution and Fourier spectrum analysis, addressing a critical weakness in pseudo-random seeding.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.