International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

On the insecurity of interchanged use of OFB and CBC modes of operation

Authors:
Danilo Gligoroski
Download:
URL: http://eprint.iacr.org/2007/385
Search ePrint
Search Google
Abstract: The security of interchanged use of modes of operation of block ciphers have not been discussed in the public literature. So far, the modes of operation of block ciphers have been treated as completely independent and uncorrelated. In this paper we represent both CBC and OFB as quasigroup string transformations, and then show that OFB mode is a special case of the CBC mode of operation. That raise possibilities for construction of several devastating attack scenarios against that interchanged use of CBC and OFB. These attacks have not been addressed in NIST Special Publication 800-38A 2001, ``Recommendation for Block Cipher Modes of Operation''. More specifically, in the chosen plaintext attack scenario with interchanged use of CBC and OFB mode, we give a concrete list of openssl commands that extract the complete plaintext without knowing the secret key.
BibTeX
@misc{eprint-2007-13665,
  title={On the insecurity of interchanged use of OFB and CBC modes of operation},
  booktitle={IACR Eprint archive},
  keywords={secret-key cryptography / block ciphers, modes of operation, quasigroup string transformations},
  url={http://eprint.iacr.org/2007/385},
  note={ Danilo.Gligoroski@q2s.ntnu.no 13785 received 29 Sep 2007},
  author={Danilo Gligoroski},
  year=2007
}