diff --git a/.idea/DendrobatesTinctoriusAzureus.iml b/.idea/DendrobatesTinctoriusAzureus.iml index ea740e8..9392cfb 100644 --- a/.idea/DendrobatesTinctoriusAzureus.iml +++ b/.idea/DendrobatesTinctoriusAzureus.iml @@ -31,6 +31,7 @@ + diff --git a/Cargo.lock b/Cargo.lock index 5800d96..70c91a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,9 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +[[package]] +name = "aes-t-tables" +version = "0.1.0" + [[package]] name = "ahash" version = "0.3.8" diff --git a/Cargo.toml b/Cargo.toml index a2cd549..9816c75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,8 @@ members = [ "vga_buffer", "polling_serial", "cache_utils", - "cpuid" + "cpuid", + "aes-t-tables" ] [package] diff --git a/aes-t-tables/src/lib.rs b/aes-t-tables/src/lib.rs new file mode 100644 index 0000000..c9b07b8 --- /dev/null +++ b/aes-t-tables/src/lib.rs @@ -0,0 +1,21 @@ +// Generic AES T-table attack flow + +// Modularisation : +// The module handles loading, then passes the relevant target infos to a attack strategy object for calibration +// Then the module runs the attack, calling the attack strategy to make a measurement and return hit/miss + +// interface for attack : run victim (eat a closure) +// interface for measure : give measurement target. + +// Can attack strategies return err ? + +// Load a vulnerable openssl - determine adresses af the T tables ? +// Run the calibrations +// Then start the attacks + +// This is a serialized attack - either single threaded or synchronised + +// parameters required + +// an attacker measurement +// a calibration victim