Skip to main navigation Skip to search Skip to main content

Adventures in Crypto Dark Matter: Attacks and Fixes for Weak Pseudorandom Functions

  • Jung Hee Cheon
  • , Wonhee Cho*
  • , Jeong Han Kim
  • , Jiseung Kim
  • *Corresponding author for this work
  • Seoul National University
  • Crypto Lab Inc.
  • Korea Institute for Advanced Study

Research output: Contribution to conferenceConference paperpeer-review

Abstract

A weak pseudorandom function (weak PRF) is one of the most important cryptographic primitives for its efficiency although it has lower security than a standard PRF. Recently, Boneh et al. (TCC’18) introduced two types of new weak PRF candidates, which are called a basic Mod-2/Mod-3 and alternative Mod-2/Mod-3 weak PRF. Both use the mixture of linear computations defined on different small moduli to satisfy conceptual simplicity, low complexity (depth-2 ACC0 ) and MPC friendliness. In fact, the new candidates are conjectured to be exponentially secure against any adversary that allows exponentially many samples, and a basic Mod-2/Mod-3 weak PRF is the only candidate that satisfies all features above. However, none of the direct attacks which focus on basic and alternative Mod-2/Mod-3 weak PRFs use their own structures. In this paper, we investigate weak PRFs from two perspectives; attacks, fixes. We first propose direct attacks for an alternative Mod-2/Mod-3 weak PRF and a basic Mod-2/Mod-3 weak PRF when a circulant matrix is used as a secret key. For an alternative Mod-2/Mod-3 weak PRF, we prove that the adversary’s advantage is at least 2 -0.105n, where n is the size of the input space of the weak PRF. Similarly, we show that the advantage of our heuristic attack to the weak PRF with a circulant matrix key is larger than 2 -0.21n, which is contrary to the previous expectation that ‘structured secret key’ does not affect the security of a weak PRF. Thus, for an optimistic parameter choice n= 2 λ for the security parameter λ, parameters should be increased to preserve λ -bit security when an adversary obtains exponentially many samples. Next, we suggest a simple method for repairing two weak PRFs affected by our attack while preserving the parameters.

Original languageEnglish
Title of host publicationPublic-Key Cryptography - PKC 2019 - 22nd IACR International Conference on Practice and Theory of Public-Key Cryptography, Proceedings
EditorsJuan A. Garay
PublisherSpringer Science and Business Media Deutschland GmbH
Pages739-760
Number of pages22
ISBN (Print)9783030752477
DOIs
StatePublished - 2021
Event24th IACR International Conference on Practice and Theory of Public Key Cryptography, PKC 2021 - Virtual, Online
Duration: 2021.05.102021.05.13

Publication series

NameLecture Notes in Computer Science
Volume12711 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference24th IACR International Conference on Practice and Theory of Public Key Cryptography, PKC 2021
CityVirtual, Online
Period21.05.1021.05.13

Keywords

  • Cryptanalysis
  • Weak PRF

Fingerprint

Dive into the research topics of 'Adventures in Crypto Dark Matter: Attacks and Fixes for Weak Pseudorandom Functions'. Together they form a unique fingerprint.

Cite this