洪水和抢劫:对闪电网络的系统性攻击
Flood & Loot: A Systemic Attack On The Lightning Network
摘要:
闪电网络有望缓解比特币已知的可扩展性问题。这种第二层方法的操作依赖于参与者随时转向区块链以获得资金的能力,这被认为很少发生。早期发现的风险之一是对协议的广泛系统性攻击,其中攻击者会立即关闭许多Lightning通道。区块链中由此产生的大量交易将不允许正确解决所有债务,攻击者可能会窃取一些资金。本文探讨了这种攻击的细节,并评估了其成本和对比特币和闪电网络的总体影响。具体来说,我们证明了攻击者能够同时导致受害节点通过请求过载比特币区块链,并窃取被锁定在通道中的资金。我们继续研究Lightning节点与费用估算机制的交互,并表明攻击者可以不断降低交易费用,这些交易费用随后将被受害者用于恢复资金-最终达到只有低部分区块可用于Lightning交易的状态。我们的攻击变得更加容易,因为闪电协议允许攻击者增加他自己的交易所提供的费用。我们继续经验表明,绝大多数节点同意来自未知来源的通道开放请求,因此容易受到这种攻击。我们强调闪电网络协议的各种实现之间的差异,并审查每一个攻击的敏感性。最后,我们提出了缓解策略,以降低网络的系统性攻击风险。
英文摘要:
The Lightning Network promises to alleviate Bitcoin's known scalability problems. The operation of such second layer approaches relies on the ability of participants to turn to the blockchain to claim funds at any time, which is assumed to happen rarely. One of the risks that was identified early on is that of a wide systemic attack on the protocol, in which an attacker triggers the closure of many Lightning channels at once. The resulting high volume of transactions in the blockchain will not allow for the proper settlement of all debts, and attackers may get away with stealing some funds. This paper explores the details of such an attack and evaluates its cost and overall impact on Bitcoin and the Lightning Network. Specifically, we show that an attacker is able to simultaneously cause victim nodes to overload the Bitcoin blockchain with requests and to steal funds that were locked in channels. We go on to examine the interaction of Lightning nodes with the fee estimation mechanism and show that the attacker can continuously lower the fee of transactions that will later be used by the victim in its attempts to recover funds - eventually reaching a state in which only low fractions of the block are available for lightning transactions. Our attack is made easier even further as the Lightning protocol allows the attacker to increase the fee offered by his own transactions. We continue to empirically show that the vast majority of nodes agree to channel opening requests from unknown sources and are therefore susceptible to this attack. We highlight differences between various implementations of the Lightning Network protocol and review the susceptibility of each one to the attack. Finally, we propose mitigation strategies to lower the systemic attack risk of the network.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。