{
  "id": "2017/787",
  "url": "https://opencryptology.org/2017/787",
  "original_url": "https://eprint.iacr.org/2017/787",
  "title": "When Are Opaque Predicates Useful?",
  "authors": [
    "Lukas Zobernig",
    "Steven D. Galbraith",
    "Giovanni Russello"
  ],
  "affiliations": null,
  "abstract": "Opaque predicates are a commonly used technique in program obfuscation, intended to add complexity to control flow and to insert dummy code or watermarks. However, there are many attacks known to detect opaque predicates and remove dummy code. We survey these attacks and argue that many types of programs cannot be securely obfuscated using opaque predicates. In particular we explain that most previous works on control flow obfuscation have introduced predicates that are easily distinguished from naturally occurring predicates in code, and hence easily removed by an attacker.\n\nWe state two conditions that are necessary for a program to be suitable for control flow obfuscation. We give an integrated approach to control flow obfuscation that simultaneously obfuscates real predicates and introduces opaque predicates. The opaque predicates are indistinguishable from the obfuscated real predicates in the program. If an attacker applies the usual approaches (both static and dynamic) to identify and remove opaque predicates then they are likely to remove critical functionality and introduce errors. We have implemented our obfuscator in LLVM. We provide an analysis of the performance of the resulting obfuscated code.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“When Are Opaque Predicates Useful?” by Lukas Zobernig, Steven D. Galbraith, Giovanni Russello, Cryptology ePrint Archive, Paper 2017/787, https://eprint.iacr.org/2017/787. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-08-21T13:35:14Z",
    "updated": "2019-05-21T21:42:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/787.pdf",
    "sha256": "40602c9bbdaa95dc8fc452acb976d289b4a13b5bed7fb2e1a82907bd77564cd6",
    "size": 394659,
    "source": "github-mirror",
    "source_date": "2019-07-09T19:49:17Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/787/versions/20190709T194917Z.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "label": "copy captured 2019-07-09",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/787.pdf",
      "size": 394659,
      "sha256": "40602c9bbdaa95dc8fc452acb976d289b4a13b5bed7fb2e1a82907bd77564cd6",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2017/787/versions/20170906T051839Z.pdf",
      "captured_at": "2017-09-06T05:18:39Z",
      "label": "copy captured 2017-09-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20170906051839id_/https://eprint.iacr.org/2017/787.pdf",
      "size": 652333,
      "sha256": "98d5c9f6c9607622e950a0ff545f6784e1c61170f74846ade13b8c4ab20451d1",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260211111330id_/https://eprint.iacr.org/2017/787.pdf",
      "captured_at": "2026-02-11T11:13:30Z",
      "size": 380859
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/787.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "size": 394659
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/787,\n      author = {Lukas Zobernig and Steven D. Galbraith and Giovanni Russello},\n      title = {When Are Opaque Predicates Useful?},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/787},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/787}\n}"
}
