Paper 2025/1635 Original: eprint.iacr.org/2025/1635 ↗

Haystack ciphers: White-box countermeasures as Symmetric encryption

Alex Charlès
Aleksei Udovenko
Abstract

In the area of white-box cryptography implementations, many existing protections are susceptible to attacks derived from physical cryptanalysis, which can be applied with minimal human effort and no prior design knowledge. The absence of a clear and comprehensive security model hinders the development of effective countermeasures against these attacks. We introduce the Haystack ciphers, a formal model for the security of white-box countermeasures against such attacks. In this model, the countermeasures are represented simply as symmetric-key encryption schemes. We show that their chosen-plaintext (IND-CPA) security is closely related to the resistance of the countermeasures against computational trace-based attacks. Similarly, their chosen-ciphertext (IND-CCA) security is closely associated with the resistance against fault injection attacks in the white-box model. Secure Haystack ciphers constitute the next formal milestone for advancing white-box designs and countermeasures, the minimal requirement that is not currently clearly achieved but is plausibly feasible with available tools. We review the white-box literature with respect to our model and bridge the gap between white-box and fault attacks, which are very powerful but were only partially considered in the white-box literature so far. We study known fault protections from the physical cryptography literature and present new fault attacks in the white-box setting, which raises the need and shapes the requirements for future secure countermeasures against fault attacks.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
History
2026-04-14: last updated
2025-09-10: published
Short URL
https://ia.cr/2025/1635
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2025/1635,
      author = {Alex Charlès and Aleksei Udovenko},
      title = {Haystack ciphers: White-box countermeasures as Symmetric encryption},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1635},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1635}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.