- InstallĀ Docker CE from here
- Run the following docker image (automatic download):
docker run -it --rm secunive/seclab:sidechannel
- 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.
- You can edit C files can using the
nano
editor from the command line. - IMPORTANT:
- To compile the file
taskX.c
use the commandgcc -static taskX.c -o taskX
- to run the compiled program use
simulate taskX
- To compile the file
Ready? Go to Task 1!