In this chapter, we explored some basic cryptography attacks. We started with cipher block chaining bit-flipping and learned how to modify the initialization vector in a predictable fashion. Once this was demonstrated, we leveraged the information to compromise the lab server. We then explored hash length extension attacks, exploiting flaws in message verification methods by leveraging the core compression functionality of the hash algorithm to produce an attacking hash that will pass verification. To prepare for this demonstration, we installed a powerful web and database server stack on Kali to host a vulnerable web app for legal study and testing in our home lab. We exploited the same lab environment in the final section on padding oracle attacks, which built upon the core knowledge introduced earlier in the book.




















































