Demonstration of CPA & DPA Attacks against AES
- Walkthrough of Correlation Power Analysis (CPA) and Monobit Differential Power Analysis (DPA) attacks against AES-128
- Analysis and visualization of real power traces
- Full attack pipeline: trace loading -> key recovery -> message decryption
- Clone this repository.
- Install requirements:
pip install pycryptodome scared matplotlib - Open and run the notebook:
Lab.ipynb