Hi guys,
I have been trying out “Lab 2_2 - CPA on Hardware AES Implementation.ipynb” in courses/sca201.
I am capturing the traces using Chipwhisperer Husky.
First I ran into some implementation issues, replacing
cpa_engines = [CpaEngine(“cpa_%02d” % i, leakage(i), guess_range) for i in range(16)],
session = Session(cw_container, engines=cpa_engines).run(batch_size=50)
with
cpa_engines = [CpaEngine(leakage(i), guess_range, name=“cpa_%02d” % i)for i in range(16)],
session = Session(cw_container, engines=cpa_engines, progressbar=False).run(batch_size=50)
I seem to have gotten it working, But I still could not recover the 16 bytes of the key.
Increasing the number of traces from 15000 to 30000, 8 of the 16 key bytes could be recovered.
the leakage model used is the Hamming Distance of the last round.
Is there something else, that should be done, to recover the entire key.
Thanks in Advance!

