Hi All
Some important lessons here: Prof Bill Buchanan:
I did a code review recently, and I noticed that the code was using AES with CBC (Cipher Block Chaining) mode. It involved saving encrypted data to database, and it just looked like copy-and-paste code. So, I took the database, and flipped a few bits, and showed the developer that I had changed the values of the transaction.
“How did you do that?”, “Well, I flipped some bits!”, “But, it is encrypted”, “You do not have a MAC to check”, “What’s a MAC?”. “Where did you get the code?”, “I got it from ChatGPT”.
I stopped there and was worried about the rest of the software. I then asked whether they knew how CBC worked and was met with a blank face.
Regards
Caute_Cautim