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

Request the full text

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

  1. Fault-based Cryptanalysis on Several Block Ciphers
    DuYuSong ·Guangzhou University ·2007 ·Master's thesis
  2. Research and Countermeasures about Core Technology in China
    YeLuYang ·South China University of Technology ·2013 ·Master's thesis
  3. Government Auditing Problems and Solutions Research
    QiBing ·Xiangtan University ·2013 ·Master's thesis
  4. Research on Building China Low-carbon Accounting
  5. Study on Development of Small and Medium-sized Accounting Firms
  6. Current Situation and Countermeasures of Industrial Conflict Caused by Workers’ Compensation
  7. Research on the Questions and Countermeasures of Xi’an Social Security Fund Collection
  8. Hunan Urban and Rural Insurance Conduit Company Research on the Problems and Countermeasures
  9. Zibo medical insurance fund supervision research
    LiuChunGuang ·Shandong Normal University ·2014 ·Master's thesis
  10. Study on the problems and Countermeasures of science and technology innovation practice of W
  11. Research on FDI quality and utilization in Beijing City
    SongXiaoNa ·Capital University of Economics ·2014 ·Master's thesis
  12. Countermeasures for the Development of Chinese Futures Investment Fund
    CheLiLi ·Dalian Maritime University ·2013 ·Master's thesis
  13. Research Risk Management of Farmer’s Project Credit in GuangXi Branch ABC
    WenZiLiang ·Guangxi University ·2013 ·Master's thesis
  14. The Competitiveness Analysis about International Business of Ningxia Branch,CDB
    CuiJingHua ·Ningxia University ·2014 ·Master's thesis
  15. Research on Agricultural Bank of China J Sub-branch Outlets Performance Appraisal System
  16. Applied Research of Non-cash Payment Instruments in Rural Areas of Yulin City
  17. Research on Countermeasure for Moral Hazard in Commercial Banks of China
    ZhaoWei ·Zhejiang University ·2014 ·Master's thesis
  18. Study of Current Situation and Optimization for Performance Management of a City Branch of C Bank
    ZhaoXia ·Anhui University ·2014 ·Master's thesis
  19. Study on the financing risk of the credit card
    WangZuo ·Shandong Normal University ·2014 ·Master's thesis
  20. Current situation and Countermeasures on the citizens tax compliance based on investigation and analysis of H City
    HeLiuBin ·Central South University ·2011 ·Master's thesis