arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.17877cs.CR
收藏

区块链模仿博弈

The Blockchain Imitation Game

Kaihua Qin, Stefanos Chaliasos, Liyi Zhou, Benjamin Livshits, Dawn Song, Arthur Gervais

AI总结:

本文提出区块链模仿博弈及通用模仿攻击方法 Ape,利用动态程序分析自动合成对抗性智能合约,并证明其既可获取巨额攻击利润,也可作为防御策略实时模仿并阻止 DeFi 攻击。

摘要:

将区块链用于自动化和对抗性交易已变得司空见惯。然而,由于区块链的透明性,对手能够观察任何待处理且尚未被打包的交易及其执行逻辑。这种透明性进一步催生了一种新型对手,他们能够实时复制并抢先执行有利可图的待处理交易,从而获得巨额经济收益。为了揭示这种“复制粘贴”的不当行为,本文引入了区块链模仿博弈,并提出了一种名为 Ape 的通用化模仿攻击方法。借助动态程序分析技术,Ape 支持自动合成对抗性智能合约。在一年的时间范围内(2021年8月1日至2022年7月31日),Ape 本可以在 Ethereum 上产生 148.96M USD 的利润,在 BNB Smart Chain (BSC) 上产生 42.70M USD 的利润。不仅作为一种恶意攻击,我们进一步展示了交易与合约模仿作为防御策略的潜力。在一年内,我们发现 Ape 本可以分别在 Ethereum 和 BSC 上成功模仿 13 起和 22 起已知的去中心化金融攻击。我们的研究结果表明,区块链验证者可以实时模仿攻击,以防止 DeFi 中的入侵。

英文摘要:

The use of blockchains for automated and adversarial trading has become commonplace. However, due to the transparent nature of blockchains, an adversary is able to observe any pending, not-yet-mined transactions, along with their execution logic. This transparency further enables a new type of adversary, which copies and front-runs profitable pending transactions in real-time, yielding significant financial gains. Shedding light on such "copy-paste" malpractice, this paper introduces the Blockchain Imitation Game and proposes a generalized imitation attack methodology called Ape. Leveraging dynamic program analysis techniques, Ape supports the automatic synthesis of adversarial smart contracts. Over a timeframe of one year (1st of August, 2021 to 31st of July, 2022), Ape could have yielded 148.96M USD in profit on Ethereum, and 42.70M USD on BNB Smart Chain (BSC). Not only as a malicious attack, we further show the potential of transaction and contract imitation as a defensive strategy. Within one year, we find that Ape could have successfully imitated 13 and 22 known Decentralized Finance (DeFi) attacks on Ethereum and BSC, respectively. Our findings suggest that blockchain validators can imitate attacks in real-time to prevent intrusions in DeFi.

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

↑