Cryptology ePrint Archive: Report 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.

Category / Keywords: secret-key cryptography / weak keys, authenticated encryption, comet, mixfeed, nist, forgery, aead

Date: received 1 Aug 2019, last revised 13 Sep 2019

Contact author: mustafam001 at e ntu edu sg

Available format(s): PDF | BibTeX Citation

Note: Added the a better description of the problem, the RaC structure and the multi-user analysis for COMET

Version: 20190914:053144 (All versions of this report)

Short URL: ia.cr/2019/888


[ Cryptology ePrint archive ]