Power Analysis and Fault Analysis of Block Cipher and Their Countermeasures
- Author
- ChenMan
- Advisor
- WangXiaoYun
- School
- Shandong University
- Major
- Information Security
- Classification
- TN918.1 Theory
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 23
- Citations
- 0
Abstract
With the rapid spread of personal computers and quick development of e-commerce, etc., the demand for secure communication increases remarkably and the usage of cryptographic devices expands greatly in daily lives. Cryptographic products consist of several important components:cryptographic algorithm, protocol, terminal user, hardware circuit and software system. In traditional cryptographic analysis, researchers mainly concentrate on properties of mathematics used in cryptographic algorithm and protocol, and fraud the terminal users may conduct. Paul Kocher’s work provides a new branch to cryptanalysis, namely, side channel analysis. It focus on physical char-acteristics and faulty information of the working devices. Features of hardware circuits and software systems are taken into consideration there.Two most effective side channel analysis methods are power analysis and fault analysis. Power analysis makes use of the device’s power consumption. After recording the power consumption with an oscilloscope, differential attack, template attack or collision attack can by applied to recover the key byte. One branch of fault analysis tries to recover the used key byte through fault information emerged in the running process. Different input data consume different amounts of time to obtain the correct output data. Given a fixed clock period, one part of input data may output correctly while the other part goes wrong. The minimum clock periods needed corresponding to certain input data are called fault sensitive information, which forms the attack foundation of Fault Sensitive Analysis. The other branch studies multifarious methods to induce faults into the device. The most time-consuming steps of power analysis and fault sensitive analysis are the acquisition of power traces and of fault sensitive information respectively.Private key cryptography requires less computing resources and less memory space in comparison with public key cryptography. Public key algorithms are applied to dis-tribute the session key. Private key algorithms are employed to encrypt data. Cryp-tographic devices such as UKEY, SIM card. etc. meet confidentiality requirements needed in routine work by adopting private key algorithms. This paper latches attacks against a private key algorithm-AES and provides certain countermeasures. It achieves the following results:1. In correlation coefficient power analysis, people records large amounts of power consumption traces and correlates them to the intermediate value for each guessed key value. The value with the largest correlation coefficient is singled out as the correct one. As mentioned above, power trace recording is quite time-consuming. Thus, we propose2D-CPA to decrease the requirements of power traces by making full use of leakage information concealed in different positions of the trace. AES is implemented in8051MCU in assembly language. Attacks against it proves2D-CPA to be quite effective. What’s more, this paper analyzes different side-channel countermeasures, compares their validity in thwarting2D-CPA and provides potential countermeasures against this attack.2. To hardware implementations, we propose a timing simulation method to obtain fault sensitive information. This process runs on a computer without manual inter-vention and the time needed can be ignored when considering time complexity of an attack. Then, a clock glitch generation method is presented. Combining timing sim-ulation and clock glitch generation together, we latch an attack against masked AES implemented in hardware description language. Only10us is needed to detect whether or not the two consecutive input data to a same masked Sbox are equal. We propose four thwarting methods:random delays in combinational circuits, balanced circuits, non-reused masks and glitch clock detection.
Table of contents
Chinese abstract 6-8
ABSTRACT 8-10
Chapter 1 Introduction 10-14
§ 1.1 Introduction block cipher 10-11
§ 1.2 channel status of technical research side 11-12
§ 1.3 and the results of the research significance 12-13
§ 1.4 of this article organizational structure 13-14
Chapter Two side-channel attack techniques Introduction 14-22
§ 2.1 side-channel attack techniques classified 14-16
§ 2.2 energy Analysis attack 16-19
§ 2.3 mistakenly attacks 19-22
the third chapter of AES 2D-CPA attacks and countermeasures 22-38 <br / > § 3.1 AES algorithm Introduction 22-23
§ 3.2 2D-CPA method 23-30
3.2.1 precomputation stage 24-28 <br / > 3.2.2 attack phase 28-30
§ attack instance 3.3 pairs of AES 30-33
§ 3.4 defensive countermeasures 33-36
3.4.1 protocol-level defense countermeasures 34
3.4.2 hardware-level defense countermeasures 34-35
3.4.3 algorithm level defense countermeasures 35-36
§ 3.5 Summary 36-38
Chapter clock error injection method experimental techniques and countermeasures research 38-58
§ 4.1 ModelSim critical path calculation 38-42
§ 4.2 clock glitch generated 42-47
§ 4.3 mistakenly attacks the overall platform architecture 47-50
§ 4.4 attacks result 50
§ 4.5 defensive countermeasures 50-55
4.5.1 circuit random delay 51-52
4.5.2 balancing circuit 52-53 <br / > 4.5.3 mask non- reusable 53-54
4.5.4 glitch clock detection 54-55
§ 4.6 Summary 55-58 <br / > Chapter summary and Outlook 58-60
§ 5.1 summarizes the main work 58
§ 5.2 for future work prospects 58-60
References 60-66
Thanks 66-67
accessories 67
Related dissertations
- Fault-based Cryptanalysis on Several Block Ciphers
- Research and Countermeasures about Core Technology in China
- Government Auditing Problems and Solutions Research
- Research on Building China Low-carbon Accounting
- Study on Development of Small and Medium-sized Accounting Firms
- Current Situation and Countermeasures of Industrial Conflict Caused by Workers’ Compensation
- Research on the Questions and Countermeasures of Xi’an Social Security Fund Collection
- Hunan Urban and Rural Insurance Conduit Company Research on the Problems and Countermeasures
- Zibo medical insurance fund supervision research
- Study on the problems and Countermeasures of science and technology innovation practice of W
- Research on FDI quality and utilization in Beijing City
- Countermeasures for the Development of Chinese Futures Investment Fund
- Research Risk Management of Farmer’s Project Credit in GuangXi Branch ABC
- The Competitiveness Analysis about International Business of Ningxia Branch,CDB
- Research on Agricultural Bank of China J Sub-branch Outlets Performance Appraisal System
- Applied Research of Non-cash Payment Instruments in Rural Areas of Yulin City
- Research on Countermeasure for Moral Hazard in Commercial Banks of China
- Study of Current Situation and Optimization for Performance Management of a City Branch of C Bank
- Study on the financing risk of the credit card
- Current situation and Countermeasures on the citizens tax compliance based on investigation and analysis of H City