Paper 2019/888

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

Mustafa Khairallah

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 2^64 online queries and 2^64 offline queries in the single-key setting, or 2^40 online queries per user and 2^64 offline queries in the multi-key setting with 2^24 users. In the case of mixFeed, we enhance the forgery adversarial advantage in the single-key setting with a factor of 2^67 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.

Note: Corrected a bug in the cycle length of the AES key schedule

Metadata
Available format(s)
PDF
Category
Secret-key cryptography
Publication info
A minor revision of an IACR publication in FSE 2020
Keywords
weak keysauthenticated encryptioncometmixfeednistforgeryaead
Contact author(s)
mustafam001 @ e ntu edu sg
History
2020-10-15: last of 5 revisions
2019-08-05: received
See all versions
Short URL
https://ia.cr/2019/888
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2019/888,
      author = {Mustafa Khairallah},
      title = {Weak Keys in the Rekeying Paradigm: Application to {COMET} and {mixFeed}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2019/888},
      year = {2019},
      url = {https://eprint.iacr.org/2019/888}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.