Lune

EUROCRYPT2021Top-tier venue

Three Third Generation Attacks on the Format Preserving Encryption Scheme FF3

Ohad Amon, Orr Dunkelman, Nathan Keller, Eyal Ronen, Adi Shamir

Abstract

Format-Preserving Encryption (FPE) schemes accept plaintexts from any finite set of values (such as social security numbers or birth dates) and produce ciphertexts that belong to the same set. They are extremely useful in practice since they make it possible to encrypt existing databases or communication packets without changing their format. Due to industry demand, NIST had standardized in 2016 two such encryption schemes called FF1 and FF3. They immediately attracted considerable cryptanalytic attention with decreasing attack complexities. The best currently known attack on the Feistel construction FF3 has data and memory complexity of O(N11/6){O}(N^{11/6}) and time complexity of O(N17/6){O}(N^{17/6}), where the input belongs to a domain of size N×NN \times N.

In this paper, we present and experimentally verify three improved attacks on FF3. Our best attack achieves the tradeoff curve D=M=O~(N2−t)D=M=\tilde{O}(N^{2-t}), T=O~(N2+t)T=\tilde{O}(N^{2+t}) for all t≤0.5t \leq 0.5. In particular, we can reduce the data and memory complexities to the more practical O~(N1.5)\tilde{O}(N^{1.5}), and at the same time, reduce the time complexity to O~(N2.5)\tilde{O}(N^{2.5}).

We also identify another attack vector against FPE schemes, the related-domain attack. We show how one can mount powerful attacks when the adversary is given access to the encryption under the same key in different domains, and show how to apply it to efficiently distinguish FF3 and FF3-1 instances.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Message-Recovery Attacks on Feistel-Based Format Preserving EncryptionMihir Bellare, Viet Tung Hoang, Stefano TessaroCCS 2016 · 38 citations
  2. Linear Cryptanalysis of FF3-1 and FEATim BeyneCRYPTO 2021 · 11 citations
  3. Identity-Based Format-Preserving EncryptionMihir Bellare, Viet Tung HoangCCS 2017 · 15 citations
  4. Order-Revealing Encryption: New Constructions, Applications, and Lower BoundsKevin Lewi, David J. WuCCS 2016 · 200 citations
  5. Improved Reconstruction Attacks on Encrypted Data Using Range Query LeakageMarie-Sarah Lacharité, Brice Minaud, Kenneth G. PatersonS&P 2018 · 183 citations
Dusk over the sea between two cliffs drawn in fine vertical lines