Lab 8: prerequisites

  1. InstallĀ  Docker CE from here
  2. Run the following docker image (automatic download):
    docker run -it --rm secunive/seclab:sidechannel
  3. The above command will start a Linux container with the gem5 simulator and gcc installed, so allowing to reproduce known cache attacks on most architectures.
  4. You can edit C files can using the nano editor from the command line.
  5. IMPORTANT:
    • To compile the file taskX.c use the command gcc -static taskX.c -o taskX
    • to run the compiled program use simulate taskX

Ready? Go to Task 1!