{
  "id": "2018/049",
  "url": "https://opencryptology.org/2018/049",
  "original_url": "https://eprint.iacr.org/2018/049",
  "title": "Attacks and Countermeasures for White-box Designs",
  "authors": [
    "Alex Biryukov",
    "Aleksei Udovenko"
  ],
  "affiliations": null,
  "abstract": "In traditional symmetric cryptography, the adversary has\naccess only to the inputs and outputs of a cryptographic primitive. In the\nwhite-box model the adversary is given full access to the implementation.\nHe can use both static and dynamic analysis as well as fault analysis in\norder to break the cryptosystem, e.g. to extract the embedded secret\nkey. Implementations secure in such model have many applications in\nindustry. However, creating such implementations turns out to be a very\nchallenging if not an impossible task.\n\nRecently, Bos et al. proposed a generic attack on white-box primitives\ncalled differential computation analysis (DCA). This attack was applied\nto many white-box implementations both from academia and industry.\nThe attack comes from the area of side-channel analysis and the most\ncommon method protecting against such attacks is masking, which in\nturn is a form of secret sharing. In this paper we present multiple generic\nattacks against masked white-box implementations. We use the term\n“masking” in a very broad sense. As a result, we deduce new constraints\nthat any secure white-box implementation must satisfy.\n\nBased on the new constraints, we develop a general method for protecting\nwhite-box implementations. We split the protection into two independent\ncomponents: value hiding and structure hiding. Value hiding must pro-\nvide protection against passive DCA-style attacks that rely on analysis\nof computation traces. Structure hiding must provide protection against\ncircuit analysis attacks. In this paper we focus on developing the value\nhiding component. It includes protection against the DCA attack by Bos\net al. and protection against a new attack called algebraic attack.\nWe present a provably secure first-order protection against the new al-\ngebraic attack. The protection is based on small gadgets implementing\nsecure masked XOR and AND operations. Furthermore, we give a proof\nof compositional security allowing to freely combine secure gadgets. We\nderive concrete security bounds for circuits built using our construction.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Attacks and Countermeasures for White-box Designs” by Alex Biryukov, Aleksei Udovenko, Cryptology ePrint Archive, Paper 2018/049, https://eprint.iacr.org/2018/049. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-01-15T00:28:29Z",
    "updated": "2021-05-31T16:50:54Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/049.pdf",
    "sha256": "a137d7b7def3c5fd176b1bd8c6cb9fd0b5e6b07e4635be7da3f180a5233e16e8",
    "size": 502024,
    "source": "wayback",
    "source_date": "2026-01-16T02:02:19Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/049/versions/20260116T020219Z.pdf",
      "captured_at": "2026-01-16T02:02:19Z",
      "label": "copy captured 2026-01-16",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260116020219id_/https://eprint.iacr.org/2018/049.pdf",
      "size": 502024,
      "sha256": "a137d7b7def3c5fd176b1bd8c6cb9fd0b5e6b07e4635be7da3f180a5233e16e8",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260116020219id_/https://eprint.iacr.org/2018/049.pdf",
      "captured_at": "2026-01-16T02:02:19Z",
      "size": 502947
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/049.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "size": 502024
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/049,\n      author = {Alex Biryukov and Aleksei Udovenko},\n      title = {Attacks and Countermeasures for White-box Designs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/049},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/049}\n}"
}
