Skip to content

YounesTasra-R4z3rSw0rd/AES-CBC-Bit-Flipping-Attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Description

  • I wrote this python script in order to solve a PicoCTF challenge.

  • It is Web Exploitation challenge worth 90 points, however it's a lot more harder that the given point value.

  • It is about performing a CBC Bit Flipping attack against an homomorphic encryption in order to find the bit responsible of identifying admin users from normal users, flip that bit and gain access as admin to eventually get the flag.

  • This python script perform a Brute-Force attack by iterating over every byte and flipping every single bit until the flag is shown.

  • For more informations about the challenge or the script, check out my blog here

asciicast