International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Paper: Security of COFB against Chosen Ciphertext Attacks

Authors:
Mustafa Khairallah , Nanyang Technological University Singapore, Singapore
Download:
DOI: 10.46586/tosc.v2022.i1.138-157
URL: https://tosc.iacr.org/index.php/ToSC/article/view/9531
Search ePrint
Search Google
Abstract: COFB is a lightweight Authenticated Encryption with Associated Data (AEAD) mode based on block ciphers. It was proposed in CHES 2017 and is the basis for GIFT-COFB, a finalist in the NIST lightweight standardization project. It comes with provable security results that guarantee its security up to the birthday bound in the nonce-respecting model. However, the designers offer multiple versions of the analysis with different details and the implications of attacks against the scheme are not discussed deeply. In this article, we look at a group of possible forgery and privacy attacks against COFB. We show that the security for both forgery and privacy is bounded by the number of forgery attempts. We show the existence of forgery and privacy attacks with success probability qd/2n/2, given qd forgery attempts. In particular, we show an attack with 2n/2 attempts using only a single known-plaintext encryption query against COFB. While these attacks do not contradict the claims made by the designers of GIFT-COFB, they show its limitations in terms of the number of forgery attempts. They also show that, while COFB generates a 128-bit tag, it behaves in a very similar manner to an AEAD scheme with 64-bit tag. As a result of independent interest, our analysis provides a contradiction to the main theorem of Journal of Cryptology volume 33, pages 703–741 (2020), which includes an improved security proof of COFB compared to the CHES 2017 version. Finally, we discuss the term nqd/2n/2 that appears in the security proof of GIFT-COFB and CHES 2017, showing why there is a security gap between the provable results and the attacks. We emphasize that the results in this article do not threaten the security of GIFT-COFB in the scope of the NIST lightweight cryptography requirements or the claims made by the designers in the specification document of the design.
Video from TOSC 2022
BibTeX
@article{tosc-2022-31976,
  title={Security of COFB against Chosen Ciphertext Attacks},
  journal={IACR Transactions on Symmetric Cryptology},
  publisher={Ruhr-Universität Bochum},
  volume={2022, Issue 1},
  pages={138-157},
  url={https://tosc.iacr.org/index.php/ToSC/article/view/9531},
  doi={10.46586/tosc.v2022.i1.138-157},
  author={Mustafa Khairallah},
  year=2022
}