Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Latest commit

 

History

History
12 lines (9 loc) · 987 Bytes

File metadata and controls

12 lines (9 loc) · 987 Bytes

CBC Byte at a Time Attack

Prerequisites:

  1. Block Ciphers
  2. CBC mode of encryption
  3. ECB Byte at a time Attack

The attack is almost similar to ECB Byte at a time attack, and the exploit script will also be the same in both cases. They only differ in their computations, since in CBC mode plaintext is XORed with the ciphertext of the previous block, but we don't have to worry about it in our attack, since the server does the job. You can read about the attack in detail here
Check out an example for this attack here

References

  1. Byte wise decryption of AES-CBC by grocid