{
  "id": "2017/497",
  "url": "https://opencryptology.org/2017/497",
  "original_url": "https://eprint.iacr.org/2017/497",
  "title": "Time-Memory Tradeoff Attacks on the MTP Proof-of-Work Scheme",
  "authors": [
    "Itai Dinur",
    "Niv Nadler"
  ],
  "affiliations": null,
  "abstract": "Proof-of-work (PoW) schemes are cryptographic primitives with numerous applications, and in particular, they play a crucial role in maintaining consensus in cryptocurrency networks. Ideally, a cryptocurrency PoW scheme should have several desired properties, including efficient verification on one hand, and high memory consumption of the prover's algorithm on the other hand, making the scheme less attractive for implementation on dedicated hardware.\n\nAt the USENIX Security Symposium 2016, Biryukov and Khovratovich presented a new promising PoW scheme called MTP (Merkle Tree Proof) that achieves essentially all desired PoW properties. As a result, MTP has received substantial attention from the cryptocurrency community. The scheme uses a Merkle hash tree construction over a large array of blocks computed by a memory consuming (memory-hard) function. Despite the fact that only a small fraction of the memory is verified by the efficient verification algorithm, the designers claim that a cheating prover that uses a small amount of memory will suffer from a significant computational penalty.\n\nIn this paper, we devise a sub-linear computation-memory tradeoff attack on MTP. We apply our attack to the concrete instance proposed by the designers which uses the memory-hard function Argon2d and computes a proof by allocating 2 gigabytes of memory. The attack computes arbitrary malicious proofs using less than a megabyte of memory (about 1/3000 of the honest prover's memory) at a relatively mild penalty of 170 in computation. This is more than 55,000 times faster than what is claimed by the designers. The attack requires a one-time precomputation step of complexity $2^{64}$, but its online cost is only increased by a factor which is less than 2 when spending $2^{48}$ precomputation time.\n\nThe main idea of the attack is to exploit the fact that Argon2d accesses its memory in a way which is determined by its previous computations. This allows to inject a small fraction of carefully selected memory blocks that manipulate Argon2d's memory access patterns, significantly weakening its memory-hardness.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Time-Memory Tradeoff Attacks on the MTP Proof-of-Work Scheme” by Itai Dinur, Niv Nadler, Cryptology ePrint Archive, Paper 2017/497, https://eprint.iacr.org/2017/497. 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-06-01T13:01:28Z",
    "updated": "2017-06-15T21:04:10Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/497.pdf",
    "sha256": "d2fd7774535dd3226bb4a767d4930a5c3a91ac6ed2f1421ee511b66ea37b0b03",
    "size": 632696,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:41:11Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/497/versions/20190225T174111Z.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/497.pdf",
      "size": 632696,
      "sha256": "d2fd7774535dd3226bb4a767d4930a5c3a91ac6ed2f1421ee511b66ea37b0b03",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260509023447id_/https://eprint.iacr.org/2017/497.pdf",
      "captured_at": "2026-05-09T02:34:47Z",
      "size": 550312
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/497.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 632696
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/497,\n      author = {Itai Dinur and Niv Nadler},\n      title = {Time-Memory Tradeoff Attacks on the MTP Proof-of-Work Scheme},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/497},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/497}\n}"
}
