arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.14493cs.CR
收藏

保护区块链生态系统:理解与检测跨链桥上的攻击交易

Safeguarding Blockchain Ecosystem: Understanding and Detecting Attack Transactions on Cross-chain Bridges

Jiajing Wu, Kaixin Lin, Dan Lin, Bozhao Zhang, Zhiying Wu, Jianzhong Su

AI总结:

本文针对跨链桥攻击造成巨额损失的问题,收集了49起攻击事件并分析其模式,提出基于图视角的两阶段检测框架BridgeGuard,在召回率上较现有工具提升36.32%,并能有效检测未知攻击交易。

摘要:

跨链桥是促进不同区块链网络之间互操作性的重要去中心化应用(DApps)。与常规 DApps 不同,跨链桥的功能依赖于链上和链下信息的协作,这使其面临更广泛的攻击风险。据统计,自2021年以来,针对跨链桥的攻击已造成近43亿美元的损失。因此,理解和检测跨链桥攻击尤为必要。本文收集了迄今为止数量最多的跨链桥攻击事件,包括2021年6月至2024年9月期间发生的49起攻击。分析表明,针对跨链业务逻辑的攻击造成的损害明显大于非此类攻击。与正常交易相比,这些跨链攻击在调用结构方面表现出不同的模式,这有效指示了潜在的攻击行为。鉴于这些案件造成的重大损失及相关研究的匮乏,本文旨在检测针对跨链业务逻辑的攻击,并提出 BridgeGuard 工具。具体而言,BridgeGuard 从图视角对跨链交易进行建模,并采用包含全局和局部图挖掘的两阶段检测框架来识别跨链交易中的攻击模式。我们在包含203个攻击交易和40,000个正常跨链交易的数据集上进行了多次实验。结果表明,BridgeGuard 报告的召回率比现有最先进工具高36.32%,并且能够检测未知的攻击交易。

英文摘要:

Cross-chain bridges are essential decentralized applications (DApps) to facilitate interoperability between different blockchain networks. Unlike regular DApps, the functionality of cross-chain bridges relies on the collaboration of information both on and off the chain, which exposes them to a wider risk of attacks. According to our statistics, attacks on cross-chain bridges have resulted in losses of nearly 4.3 billion dollars since 2021. Therefore, it is particularly necessary to understand and detect attacks on cross-chain bridges. In this paper, we collect the largest number of cross-chain bridge attack incidents to date, including 49 attacks that occurred between June 2021 and September 2024. Our analysis reveal that attacks against cross-chain business logic cause significantly more damage than those that do not. These cross-chain attacks exhibit different patterns compared to normal transactions in terms of call structure, which effectively indicates potential attack behaviors. Given the significant losses in these cases and the scarcity of related research, this paper aims to detect attacks against cross-chain business logic, and propose the BridgeGuard tool. Specifically, BridgeGuard models cross-chain transactions from a graph perspective, and employs a two-stage detection framework comprising global and local graph mining to identify attack patterns in cross-chain transactions. We conduct multiple experiments on the datasets with 203 attack transactions and 40,000 normal cross-chain transactions. The results show that BridgeGuard's reported recall score is 36.32\% higher than that of state-of-the-art tools and can detect unknown attack transactions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑