XChainWatcher:监控与识别跨链桥攻击
XChainWatcher: Monitoring and Identifying Attacks in Cross-Chain Bridges
AI总结:
针对跨链桥漏洞造成巨额损失的问题,提出模块化逻辑驱动的异常检测器XChainWatcher,通过解码事件、构建逻辑关系并评估规则,成功识别Ronin和Nomad桥的攻击交易及多种异常,并发布首个大规模开放数据集。
摘要:
跨链桥是一种用于区块链互操作性的中间件,支持跨区块链转移资产和数据。然而,自2021年5月以来,其中一些桥的漏洞已造成32亿美元损失。一些研究揭示了这些漏洞的存在,但可用的定量研究很少,并且没有保护桥免受此类攻击的安全机制。此外,没有关于可能导致财务损失的跨链桥实践的研究。我们提出XChainWatcher(跨链观察器),一种模块化、可扩展的、逻辑驱动的跨链桥异常检测器。它分三个主要阶段运行:(1)从多个区块链解码事件和交易,(2)从提取的数据构建逻辑关系,(3)根据一组检测规则评估这些关系。使用XChainWatcher,我们分析了两个先前被攻击的桥的数据:Ronin桥和Nomad桥。XChainWatcher成功识别了导致6.11亿美元和1.9亿美元(美元)损失的交易,并在后者上超过了知名安全公司获得的结果。我们不仅发现了成功的攻击,还揭示了其他异常,例如这些桥不应接受的37笔跨链交易(CCTX)、对Nomad的失败利用尝试、价值超过780万美元的代币锁定在一条链上但从未在以太坊上释放,以及由于与桥交互不当而损失20万美元的用户。我们提供了首个包含三个区块链上81,000笔CCTX的开放数据集,捕获了超过42亿美元的代币转移。
英文摘要:
Cross-chain bridges are a type of middleware for blockchain interoperability that supports the transfer of assets and data across blockchains. However, several of these bridges have vulnerabilities that have caused 3.2 billion dollars in losses since May 2021. Some studies have revealed the existence of these vulnerabilities, but there is little quantitative research available, and there are no safeguard mechanisms to protect bridges from such attacks. Furthermore, no studies are available on the practices of cross-chain bridges that can cause financial losses. We propose \toolName~(Cross-Chain Watcher), a modular and extensible logic-driven anomaly detector for cross-chain bridges. It operates in three main phases: (1) decoding events and transactions from multiple blockchains, (2) building logic relations from the extracted data, and (3) evaluating these relations against a set of detection rules. Using \toolName, we analyze data from two previously attacked bridges: the Ronin and Nomad bridges. \toolName~was able to successfully identify the transactions that led to losses of \$611M and \$190M (USD) and surpassed the results obtained by a reputable security firm in the latter. We not only uncover successful attacks, but also reveal other anomalies, such as 37 cross-chain transactions (\CCTX) that these bridges should not have accepted, failed attempts to exploit Nomad, over \$7.8M worth of tokens locked on one chain but never released on Ethereum, and \$200K lost by users due to inadequate interaction with bridges. We provide the first open dataset of 81,000 \CCTXS~across three blockchains, capturing more than \$4.2B in token transfers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。