Practical Session: Differential Power Analysis for Beginners

Practical Session: Differential Power Analysis for Beginners

Last modified by Martin Novotný on 2014-07-28, 15:19

Jiri Bucek, Martin Novotny & Filip Stepanek
Faculty of Information Technology,
Czech Technical University in Prague

This tutorial will introduce you to the basics of the DPA (Differential Power Analysis) - a technique that exploits the dependency of the processed data on the power trace of the device to extract some secret information that would not be otherwise available. During the session you will learn how to process the power trace of the implementation of the AES encryption algorithm using an algebraic system (in our case Matlab), create the power hypothesis, extract the secret information and also how to measure the power consumption of the embedded system (smart card) in order to obtain the power traces.

The first part of the tutorial Differential Power Analysis - Key Recovery is aimed at explaining the creation of the power hypothesis and the use of algebraic systems.
The second part of the tutorial DPA - measurement with an oscilloscope covers the practical part of the exercise - the measurement of the power consumption using the PicoScope.

Rules of the competition

According to the rules of the TRUDEVICE 2014 Summer School, there will be prizes for the most successful participants. The goal of this (DPA) session is to write a script to extract the correct key from the given smartcard in the shortest computational time possible.

Requirements on the script:

  • Load a continuous segment of each trace from a number of consecutive traces (you can choose what to load)
  • Do not make any assumptions on the key value
  • First line: tic
  • Last line: toc
  • Use the lab computer (fair comparison)
  • Print the whole key in hex
  • The key must be completely correct
Created by Martin Novotný on 2014-06-02, 17:24

My Recent Modifications

This wiki is licensed under a Creative Commons BY-SA 3.0 license
XWiki Enterprise 5.4.1 - Documentation