Research on Resistance to Side Channel Attack in Software Implemented Cryptographic System
- Author
- GuXingYuan
- Advisor
- GuDaWu
- School
- Shanghai Jiaotong University
- Major
- Computer technology
- Classification
- TN918 Confidentiality of communications and communications security
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 52
- Citations
- 0
- Side Channel Attack
- Power Attack
- Differential Power Attack
- MaskTechnology
- Random mask
- Dual Rail Logic
- Dual Rail Encoding
Abstract
In modern society, cryptographic devices have been in people’s everyday life asthe improvement of cryptography and integrated circuit technology. Cryptographicdevices are well used in the traffic, payment, identification in people’s life now. Sothe security of the devices is concerned by many researchers. The security ofcryptographic devices includes not only the mathematical security of cryptographicalgorithms used in devices but also the physical security of the implemented circuits.Any cryptographic devices will leak some side channel information such as power,electromagnetic radios, working time, sound and so on. Side channel attack is suchkind of attack that collects the side channel information and analyzes it to recoverthe secret information of the cryptographic devices. According to the different typesof side channel information, side channel attack includes time attack, power attack,electromagnetic attack, fault attack and so on. Relatively, the countermeasures toresist against side channel attack appeared after that such as noise increasing, masktechnology, dual-rail logic and so on. There are two main types of cryptographicsystems. The first is hardware implemented system, in which hardware is designed tocomplete every steps of the cryptographic algorithm. The other is softwareimplemented system. In this kind of systems, algorithms are programmed and thenexecuted on CPU. Most research on the resistant countermeasure to SCA focuses onthe hardware implemented systems. The software implemented resistant methods isnot noted enough.This thesis discusses the resistant countermeasure to SCA on softwareimplemented systems, analyzes the feasibility and the efficiency of commoncountermeasures in hardware systems. The countermeasure discussed in this thesisincludes noise increasing, random waiting, asynchronous circuit, order randomswitching, dual-rail logic and random switching logic. The conclusion is each methodcan be implemented in the software level in some extent except asynchronous circuit. Random waiting and mask technology and logic level protection have goodcompatibility with software implemented systems. The thesis then discusses theimplementation problems of the mask technology and logic level protection.Mask technology can be easily used both in hardware and software. This thesisanalyzes the feasibility and efficiency in the software implementation, discusses thesome security problems in the software implemented systems that will not appear inthe hardware systems. After that, several practical advises are given to the realimplementation of mask proposal.Logical level protection is a countermeasure that changes the basic logic unit ofthe circuit to resist against side channel attack. This thesis does detailed research onthe implementation of the logic level protection, gives a complete proposal of thesoftware implementation of dual-rail logic and a simple proposal of the randomswitching logic. The proposal concludes some efficient method to solve someproblems in practical implementation. After that, an experiment on DES is showed toverify the validity of the dual rail logic on software level.
Table of contents
Summary 6-8
Abstract 8-12
first chapter 12-22
1.1 Background 12-13
1.2 domestic and foreign research status Status 1.2.1 bypass attack studies 13-19
research status protection methods 13-16
1.2.2 bypass attack research status 16-19
1.2.3 attack bypass password protection means the software system main work and meaning 19
1.3 of this paper 19 - 20
1.4 thesis structure basic knowledge 20-22
Chapter II bypass attacks and protection methods 22-34
principles and processes 2.1 power analysis 22-29
2.1.1 static power estimation 22
2.1.2 dynamic power estimation 22-24
2.1.3 differential power consumption analysis process 24-26
2.1.4 Power Model 26-28
2.1.5 data processing methods 28-29
2.2 the actual process of power analysis 29-31
2.2.1 Consumption acquisition 29
2.2.2 data preprocessing 29-30
2.2 .3 actual attack 30-31
2.3 protective mask basics basic principles 31-32
2.3.1 mask protection 31-32 <br / > 2.3.2 higher order differential attack 32
basics 2.4 track logic 32-34
Chapter III software for bypass attack prevention strategy bypass attack 34-41
3.1 software implementation of cryptographic systems 34-35
3.2 noise superimposed 35-36
3.3 random wait and invalid operation 36-37
3.4 asynchronous circuits 37
3.5 instructions sequentially randomized 37-38
3.6 masking technology 38
3.7 track logic 38-39
3.8 randomly flipping logic software based protection strategy summarizes 39-40
3.9 bypass attacks 40-41
Chapter IV mask technology software mask Survey 41-47
4.1 software implementation 41-42
consideration of issues 4.2 masking scheme implemented in software 42-43
4.3 software system security issues protective mask discussion 43-45
4.3.1 masks hidden 43
4.3 .2 software implementation protective mask on a first-order DPA resistance of 43-44
4.3.3 software implementation of protective masks for high-level resistance to DPA 44-45 <br / > 4.4 for secure software implementation of masking scheme proposal 45-46
4.5 of this chapter subsections 46-47
Chapter V logic level protection software 47-64
5.1 software level track logic implementations 47-53
5.1.0 software logic level track review 47-48
5.1.1 basic logic door 48-50
5.1.2 arithmetic addition and multiplication arithmetic 50-51
5.1.3 P box replacement and shift 51-52 <br / > 5.1.4 S box substitution multiplication and column 52
5.1.5 GF domain confusion 52-53
5.1.6 software program logic level track section 53
5.2 software logic table space level track excessive demand solutions 53-56
5.2.1 with full -track program 54-55 <br / > 5.2.2 using random number program 55-56
5.3 software level logic implementation of random flip nbsp 56-58
5.3.0 random flip operations ; 57
5.3.1 XOR operation 57
5.3.2 shift and P cartridge replacement 57
5.3.3 S box substitution 57 - 58
nbsp 5.3.4 other operations ; 58
5.3.5 software randomly flipping logic level summary experiments 58
5.4 software level track logic 58 -63
5.4.1 build experimental environment 59-60
5.4.2 experimental Procedure 60-61
5.4.3 experimental results 61 -62
5.4.4 analysis of experimental results 62-63
section 5.5 of this chapter 63-64
Chapter VI summary and Outlook 64-66
6.1 summary 64
6.2 job Outlook 64-66
References 66-70
Thanks 70 - 71
pursue a degree in published papers during 71
Related dissertations
- Research on the Hardware Implementation and Anti-attack Features for RSA Cryptographic Algorithm
- The Design and Implementation of Rainbow’s Cryptographic Hardware Security Analysis Tool
- On the Novel Techniques of Differential Power Analysis on Block Cipher Circuits
- Fault Attacks in Pairing-Based Cryptography
- Efficient Public Key Encryption Schemes with Leakage Resilience
- Research on Power Analysis Attack Based on Modular Exponentiation Algorithm
- Differential Power Analysis and Countermeasures on Ultra-Lightweight Block Cipher--Present
- Research on Pairing and Discrete Logarithm Problem in Elliptic Curve Cryptography
- Design and Implementation of the Countermeasure on Smart Card Against Differential Power Analysis Attack
- Secure Scan Structures and Secure Scan Methods for Crypto Chips
- Chip Implementation and It’s Security Defence for Elliptic Curve Cryptosystems over GF(2~m)
- Study of Fast and Secure Scalar Multiplication Algorithms on Elliptic Curves
- Anti -power attack SoC design and implementation of the security key technology research
- Elliptic curve scalar multiplication quickly realize research
- DPA Resistant Hardware Implementation of AES Based on Random Masking
- The Design and Implementation of Safe Elliptic Curve Cryptography Algorithm Resistants Side Channel Attack Based on Smart Card
- Block Cipher Power Analysis Software System Based on FPGA
- Construction and Analysis of Scalar Multiplication Algorithm on Elliptic Curve
- Analysis of a new bypass attack and defense policy studies