Setting my own IV in CBC mode

I am running bootloader attack on AES-CBC (SOLN_Lab 3_1A - AES256 Bootloader Attack.ipynb). My question is that is there any way to set my own IV for target. I have already changed key using target.set_key() function and setting key mode to basic {ktp = cw.ktp.Basic()} plus fixed_key property to false {ktp.fixed_key = False}. I tried to change key in .c file but it doesn’t change in Python code. Do I need to change IV in .c file or can I use any function to change IV? Kindly guide me as I am stuck at this.

Regards,
Usama

You can modify the key and IV in supersecret.h in the firmware project folder.

1 Like

@Alex_Dewar thanks a lot!

@Alex_Dewar kindly reply to

and