International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Paper: Weak Keys in the Rekeying Paradigm: Application to COMET and mixFeed

Authors:
Mustafa Khairallah , School of Physical and Mathematical Sciences, Nanyang Technological University, Singapore
Download:
DOI: 10.13154/tosc.v2019.i4.272-289
URL: https://tosc.iacr.org/index.php/ToSC/article/view/8465
Search ePrint
Search Google
Abstract: In this paper, we study a group of AEAD schemes that use rekeying as a technique to increase efficiency by reducing the state size of the algorithm. We provide a unified model to study the behavior of the keys used in these schemes, called Rekey-and-Chain (RaC). This model helps understand the design of several AEAD schemes. We show generic attacks on these schemes based on the existence of certain types of weak keys. We also show that the borderline between multi-key and single-key analyses of these schemes is not solid and the analysis can be performed independent of the master key, leading sometimes to practical attacks in the multi-key setting. More importantly, the multi-key analysis can be applied in the single key setting, since each message is encrypted with a different key. Consequently, we show gaps in the security analysis of COMET and mixFeed in the single key setting, which led the designers to provide overly optimistic security claims. In the case of COMET, full key recovery can be performed with 264 online queries and 264 offline queries in the single-key setting, or 246 online queries per user and 264 offline queries in the multi-key setting with ∼ 0.5 million users. In the case of mixFeed, we enhance the forgery adversarial advantage in the single-key setting with a factor of 267 compared to what the designers claim. More importantly, our result is just a lower bound of this advantage, since we show that the gap in the analysis of mixFeed depends on properties of the AES Key Schedule that are not well understood and require more cryptanalytic efforts to find a more tight advantage. After reporting these findings, the designers updated their security analyses and accommodated the proposed attacks.
Video from TOSC 2020
BibTeX
@article{tosc-2020-30095,
  title={Weak Keys in the Rekeying Paradigm: Application to COMET and mixFeed},
  journal={IACR Transactions on Symmetric Cryptology},
  publisher={Ruhr-Universität Bochum},
  volume={2019, Issue 4},
  pages={272-289},
  url={https://tosc.iacr.org/index.php/ToSC/article/view/8465},
  doi={10.13154/tosc.v2019.i4.272-289},
  author={Mustafa Khairallah},
  year=2020
}