150 likes | 293 Views
Experiments in Attacking FPGA- B ased Embedded Systems using Differential Power Analysis. Sun Song, Jackey Z. Yan , Joseph Zambreno Dept. of Electrical and Computer Engineering Iowa State University { sunsong , zijunyan , zambreno }@ iastate.edu. Problem Statement.
E N D
Experiments in Attacking FPGA-Based Embedded Systems using Differential Power Analysis Sun Song, Jackey Z. Yan, Joseph Zambreno Dept. of Electrical and Computer Engineering Iowa State University {sunsong, zijunyan, zambreno}@iastate.edu
Problem Statement • Most cryptographic systems such as RSA, AES, and DES are computationally hard to crack • Side Channel Analysis (SCA) exploits characteristic information such as timing, power consumption or electromagnetic radiation to extract the key • Differential Power Analysis (DPA) uses the power consumption of a cryptographic device to predict the key
Differential Power Analysis • P. Kocher, J. Jaffe and B. Jun, 1999 • Power consumed by the circuit is statistically correlated with the internal bit transitions • DES (Data Encryption Standard) was used as the first algorithm to demonstrate the practicality of DPA
related work • The majority of the research into DPA on FPGA-based cryptographic systems has been: • Theoretical in nature • Evaluated through simulation • Experimented using custom hardware that does not closely mirror real-world systems. • Our goal: to bridge this gap between theory and practice by detailing our experience in performing a DPA attack on a commercial FPGA development board
Our Approach • Target a commercial FPGA board • Automate DPA attack
Experimental Setup • Digital oscilloscope • 2.5G sample/second • Virtex-II Pro XC2VP30 FPGA board • Host PC
Software Connectivity FPGA Logic PLB USB PowerPC Core probe1 Serial Xilinx EDK probe2 MATLAB USB
Operation sequence FPGA Logic (1) Code (3)plaintext PowerPC Core probe1 (2)Plaintext Xilinx EDK probe2 MATLAB (4)Power traces
Result Analysis Voltage 6-bit input value
What Went Wrong? Why??? Sorry, Joe…
Decoupling Capacitors • Decoupling Capacitors are widely used in Power Distribution System of Xilinx board to remove the power supply noise
Power Supply Noise Removal Input Power Supply Output Power Dissipation
Summary • We designed a platform to automatically perform DPA on a real-world FPGA board • Our Conclusion: decoupling capacitors may act as a natural countermeasure for DPA attacks
Questions? sunsong@iastate.edu