From 9381b6c0c656368ba9efcb6937a6f77a6f72c78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Schl=C3=BCter?= <72137566+tillschlueter@users.noreply.github.com> Date: Mon, 23 Oct 2023 10:31:01 +0200 Subject: [PATCH] Update README.md --- aes-attack/README.md | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/aes-attack/README.md b/aes-attack/README.md index 7cfdf50..e32c0ae 100644 --- a/aes-attack/README.md +++ b/aes-attack/README.md @@ -1,5 +1,26 @@ # AES Attack +## Supported Platforms, Minimum Requirements + +We target the region-based prefetcher of the ARM Cortex-A72. We used a Raspberry Pi 4B, 4GB RAM, running Raspberry Pi OS (64 bit) for our experiments. + +Expect the following minimum requirements for a complete run: + + + + + + + + + + + + + + +
Runtime30-35 hours
RAM1 GB
Disk3 GB
+ ## Compiler As we use some clang-specific features, we recommend to compile all code with clang. @@ -8,7 +29,7 @@ To do this, run the following command before building any code from this reposit export CC=clang export CXX=clang++ -## `lib/mbedtls` +## Compiling mbedtls (`lib/mbedtls`) This folder contains mbedtls 3.3.0 (from https://github.com/Mbed-TLS/mbedtls/tree/8c89224991adff88d53cd380f42a2baa36f91454). @@ -25,7 +46,7 @@ Then, compile mbedtls like this: As a result, a shared library file `libmbedcrypto.so.13` is produced in the `library/` subfolder. -## `program` +## Compiling the attack code (`program`) This folder contains the actual attack code. @@ -52,7 +73,7 @@ We recommend to run the attack in tmux: tmux build/attacker_automated > out.log -Detatch with `C-b d`, re-attach with `tmux at`. +Detatch with `Ctrl+B D`, re-attach with `tmux at`. When the attack is finished, find the results summary at the very end of `out.log`. A good result looks like this: @@ -83,4 +104,4 @@ Key byte hypothesis 11: 1000____ (80), correct: 8f (E_) ``` -Each "E" in the last column marks a correctly recovered nibble. \ No newline at end of file +Each "E" in the last column marks a correctly recovered nibble.