Jupyter Notebook on Differential Power Analysis

In this exercise, you will be performing a Differential Power Attack on a circuit implementing the DES cipher. In particular, you will use an existing data base of power traces in order to extract the first round key. The exercise is based on a Jupyter notebook in Python.

1. Running the notebook on one of Télécom's machines or on your own machine

On a Linux system, follow these steps:

  1. Download the source archive and save it somewhere in your home directory
  2. Open a terminal in the place where you saved the archive and extract it using
    tar xzf dpa-notebook.tar_.gz
  3. Change into the dpa-notebook directory and follow the instructions in the README.md file

2. Running the notebook on Télécom's Jupyter hub

If the above does not work for you, you can use the Jupyter hub:

  1. Download the source archive and save it somewhere in your home directory
  2. Log in to the Jupyter hub.
  3. On the right hand side, click on "upload" and select the source archive you dowloaded
  4. On the right hand side, there is a drop down box "New", select "Terminal"
  5. In the terminal window, extract the archive using
    tar xzf dpa-notebook.tar_.gz
  6. Go back to the home window of the Jupyter hub, click on the dpa-notebook folder and open the notebook "Differential Power Analysis.ipynb"
Fichier attachéTaille
Binary Data dpa-notebooktar_.gz258.64 Ko