Skip to main content
QUICK REVIEW

[Paper Review] Parasite Chain Detection in the IOTA Protocol

Andreas Penzkofer, Bartosz Kuśmierz|arXiv (Cornell University)|Apr 28, 2020
Blockchain Technology Applications and SecurityComputer Science16 references17 citations
TL;DR

This paper proposes a detection mechanism for Parasite Chain attacks in the IOTA Tangle by analyzing the distribution of direct approvers per transaction. Using models derived from uniform random and random walk tip selection, it detects anomalies in approver statistics—particularly in the future cone of transactions—enabling early identification of malicious chains that deviate from expected distributions, thereby reducing attack success at significant cost to the adversary.

ABSTRACT

In recent years several distributed ledger technologies based on directed acyclic graphs (DAGs) have appeared on the market. Similar to blockchain technologies, DAG-based systems aim to build an immutable ledger and are faced with security concerns regarding the irreversibility of the ledger state. However, due to their more complex nature and recent popularity, the study of adversarial actions has received little attention so far. In this paper we are concerned with a particular type of attack on the IOTA cryptocurrency, more specifically a Parasite Chain attack that attempts to revert the history stored in the DAG structure, also called the Tangle. In order to improve the security of the Tangle, we present a detection mechanism for this type of attack. In this mechanism, we embrace the complexity of the DAG structure by sampling certain aspects of it, more particularly the distribution of the number of approvers. We initially describe models that predict the distribution that should be expected for a Tangle without any malicious actors. We then introduce metrics that compare this reference distribution with the measured distribution. Upon detection, measures can then be taken to render the attack unsuccessful. We show that due to a form of the Parasite Chain that is different from the main Tangle it is possible to detect certain types of malicious chains. We also show that although the attacker may change the structure of the Parasite Chain to avoid detection, this is done so at a significant cost since the attack is rendered less efficient.

Motivation & Objective

  • To address the security vulnerability of Parasite Chain attacks in IOTA’s DAG-based Tangle, which can reverse transaction history and enable double-spending.
  • To model the expected distribution of direct approvers per transaction under honest network conditions using uniform random and random walk tip selection mechanisms.
  • To develop a detection mechanism that identifies malicious Parasite Chains by comparing measured approver distributions against theoretical reference distributions.
  • To evaluate the trade-off between attack efficacy and detectability, showing that evading detection forces attackers to deploy transactions inefficiently.
  • To propose practical, low-computational-cost sampling techniques—random walk and future cone sampling—for real-time detection in production environments.

Proposed method

  • Derives theoretical distributions for the number of direct approvers in a Tangle under uniform random tip selection (URTS) and unbiased random walk (URW) mechanisms.
  • Establishes that the URW and URTS distributions are closely linked, enabling use of URTS results as a reference for URW-based networks.
  • Proposes two sampling strategies: (1) recording approver counts along a random walk path, and (2) measuring the future cone of a selected transaction to capture more comprehensive structural data.
  • Uses the difference between measured and reference approver distributions as a detection metric, with statistical deviation indicating potential Parasite Chain presence.
  • Introduces a cost-benefit analysis showing that attackers who avoid detection must concentrate links within the Parasite Chain, reducing their overall efficiency.
  • Suggests combining both sampling methods to improve detection robustness, as they capture different structural features of malicious chains.

Experimental results

Research questions

  • RQ1How do the distributions of direct approvers per transaction differ between honest Tangle structures and those containing a Parasite Chain?
  • RQ2To what extent can the theoretical approver distribution under uniform random tip selection be used as a reference for detecting anomalies in real-world IOTA networks?
  • RQ3Can random walk sampling effectively detect Parasite Chains despite its fast traversal through the Tangle?
  • RQ4How does the structure of a Parasite Chain—particularly its internal linking pattern—affect its detectability via approver distribution analysis?
  • RQ5What is the trade-off between attack effectiveness and detectability when an adversary attempts to mimic the reference distribution?

Key findings

  • The average number of approvers per transaction in a Parasite Chain is strictly less than two, due to the lack of external approvals, which creates a detectable deviation from the reference distribution.
  • Parasite Chains with internal linking only (no external links) are detectable because their approver distribution significantly departs from the expected distribution observed in the main Tangle.
  • The random walk sampling method enables low-cost detection by capturing approver statistics along a path, though it samples fewer transactions due to fast traversal.
  • Future cone sampling provides a more comprehensive view of transaction structures and is better suited for detecting complex Parasite Chains, albeit at higher computational cost.
  • Attackers who attempt to mimic the reference distribution must deploy a large number of transactions within the Parasite Chain, drastically reducing their attack efficiency.
  • Combining both sampling methods significantly increases detection robustness, as they are sensitive to different structural anomalies in malicious chains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.