
Breaking AES-ECB with an Encryption Oracle Attack
This is a write-up of one of the challenges from this year’s TG:Hack. I wrote about my participation in another post: 3rd Prize at TG:Hack. Background TG:Hack is a Capture-the-Flag competition where the objective is to identify and leverage security flaws in various entities. As evidence of a successful hack, you must extract small secrets, i.e., flags, and provide them back to the organizer. The flags are strings that look like this: TG25{some_secret_value}. ...