{
  "id": "2014/688",
  "url": "https://opencryptology.org/2014/688",
  "original_url": "https://eprint.iacr.org/2014/688",
  "title": "White-Box AES Implementation Revisited",
  "authors": [
    "Chung Hun Baek",
    "Jung Hee Cheon",
    "Hyunsook Hong"
  ],
  "affiliations": null,
  "abstract": "White-box cryptography is an obfuscation technique for protecting secret keys in software implementations even if an adversary has full access to the implementation of the encryption algorithm and full control over its execution platforms.\nThis concept was presented by Chow et al. with white-box implementations of DES and AES in 2002.\nThe strategy used in the implementations has become a design principle for subsequent white-box implementations.\nHowever,  despite its practical importance, progress has not been substantial.\nIn fact, it is repeated that as a proposal for a white-box implementation is reported, an attack of lower complexity is soon announced.\nThis is mainly because most cryptanalytic methods target specific implementations, and there is no general attack tool for white-box cryptography.\n\nIn this paper, we present an analytic toolbox on white-box implementations in this design framework and show how to reveal the secret information obfuscated in the implementation using this.\nFor a substitution-linear transformation cipher on $n$ bits with S-boxes on $m$ bits, if $m_Q$-bit nonlinear encodings are used to obfuscate output values in the implementation, our attack tool can remove the nonlinear encodings with complexity $O(\\frac{n}{m_Q}2^{3m_Q})$.\nWe should increase $m_Q$ to obtain higher security, but it yields exponential storage blowing up and so there are limits to increase the security using the nonlinear encoding.\nIf the inverse of the encoded round function $F$ on $n$ bits is given, the affine encoding $A$ can be recovered in $O(\\frac{n}{m}\\cdot{m_A}^32^{3m})$ time using our specialized affine equivalence algorithm, where $m_A$ is the smallest integer $p$ such that $A$ (or its similar matrix obtained by permuting rows and columns) is a block-diagonal matrix with $p\\times p$ matrix blocks.\nAccording to our toolbox, a white-box implementation in the Chow et al.'s framework has complexity at most $O\\left(\\min\\left\\{ \\tfrac{2^{2m}}{m}\\cdot n^{m+4}, n\\log n \\cdot 2^{n/2}\\right\\}\\right)$ within reasonable storage, which is much less than $2^n$.\n\nTo overcome this, we introduce an idea that obfuscates two AES-128 ciphers at once with input/output encoding on 256 bits.\nTo reduce storage, we use a sparse unsplit input encoding.\nAs a result, our white-box AES implementation has up to 110-bit security against our toolbox, close to that of the original cipher.\nMore generally, we may consider a white-box implementation on the concatenation of $t$ ciphertexts to increase security.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“White-Box AES Implementation Revisited” by Chung Hun Baek, Jung Hee Cheon, Hyunsook Hong, Cryptology ePrint Archive, Paper 2014/688, https://eprint.iacr.org/2014/688. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-09-04T06:09:21Z",
    "updated": "2016-05-20T12:28:57Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/688.pdf",
    "sha256": "625dd7c816bd692800d19d4752525c97db11a2d3467f35e07860cf35bd91512f",
    "size": 705707,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/688/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/688.pdf",
      "size": 705707,
      "sha256": "625dd7c816bd692800d19d4752525c97db11a2d3467f35e07860cf35bd91512f",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2014/688/versions/20150318T074102Z.pdf",
      "captured_at": "2015-03-18T07:41:02Z",
      "label": "copy captured 2015-03-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20150318074102id_/http://eprint.iacr.org/2014/688.pdf",
      "size": 723254,
      "sha256": "ff6003b2f2699e9ee71107479eef12872e5a73d112803e001f55b732a43e74ac",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240911062731id_/https://eprint.iacr.org/2014/688.pdf",
      "captured_at": "2024-09-11T06:27:31Z",
      "size": 684687
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/688.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 705707
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/688,\n      author = {Chung Hun Baek and Jung Hee Cheon and Hyunsook Hong},\n      title = {White-Box AES Implementation Revisited},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/688},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/688}\n}"
}
