[论文解读] Parasite Chain Detection in the IOTA Protocol
本文提出了一种检测 IOTA Tangle 中寄生链攻击的机制,通过分析每笔交易的直接批准者分布。基于均匀随机和随机游走tip选择机制建立的模型,可检测交易未来锥体中批准者统计量的异常,从而实现对偏离预期分布的恶意链的早期识别,使攻击者付出高昂代价,显著降低攻击成功率。
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.
研究动机与目标
- 解决 IOTA 的基于 DAG 的 Tangle 中寄生链攻击的安全漏洞,此类攻击可逆转交易历史并导致双花问题。
- 在诚实网络条件下,使用均匀随机和随机游走tip选择机制,建立每笔交易预期批准者数量的理论分布模型。
- 开发一种检测机制,通过将实测批准者分布与理论参考分布进行比较,识别恶意寄生链。
- 评估攻击有效性与可检测性之间的权衡,表明逃避检测将迫使攻击者以低效方式部署交易。
- 提出实用且计算成本低的采样技术——随机游走和未来锥采样——以实现在生产环境中的实时检测。
提出的方法
- 推导在均匀随机tip选择(URTS)和无偏随机游走(URW)机制下,Tangle中直接批准者数量的理论分布。
- 证明URW与URTS分布密切相关,因此可将URTS结果用作URW网络的参考基准。
- 提出两种采样策略:(1) 沿随机游走路径记录批准者数量,(2) 测量选定交易的未来锥,以捕获更全面的结构数据。
- 使用实测批准者分布与参考分布之间的差异作为检测指标,统计偏差表明可能存在寄生链。
- 引入成本-收益分析,表明试图逃避检测的攻击者必须将链接集中在寄生链内部,从而大幅降低整体效率。
- 建议结合两种采样方法以提高检测鲁棒性,因其可捕捉恶意链中不同的结构特征。
实验结果
研究问题
- RQ1在诚实Tangle结构与含有寄生链的结构之间,每笔交易的直接批准者分布有何不同?
- RQ2在真实IOTA网络中,均匀随机tip选择下的理论批准者分布在多大程度上可作为检测异常的参考?
- RQ3尽管随机游走采样在Tangle中快速遍历,其是否仍能有效检测寄生链?
- RQ4寄生链的结构——特别是其内部链接模式——如何影响其通过批准者分布分析的可检测性?
- RQ5当攻击者试图模仿参考分布时,攻击效果与可检测性之间的权衡如何?
主要发现
- 由于缺乏外部批准,寄生链中每笔交易的平均批准者数量严格小于两个,这与参考分布形成可检测的偏差。
- 仅通过内部链接(无外部链接)构成的寄生链可被检测,因其批准者分布与主Tangle中观察到的预期分布显著偏离。
- 随机游走采样方法可通过沿路径捕获批准者统计数据实现低成本检测,但因遍历速度快,采样交易数量较少。
- 未来锥采样提供了更全面的交易结构视图,更适合检测复杂寄生链,尽管计算成本更高。
- 试图模仿参考分布的攻击者必须在寄生链内部部署大量交易,从而极大降低攻击效率。
- 结合两种采样方法可显著提升检测鲁棒性,因其对恶意链中的不同结构异常具有敏感性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。