DeFiTail: 通过跨合约执行分析实现DeFi协议检测
DeFiTail: DeFi Protocol Inspection through Cross-Contract Execution Analysis
AI总结:
针对DeFi协议恶意事件频发、检测方法不足的问题,本文提出首个基于深度学习的DeFiTail框架,通过跨合约执行路径统一与符号执行栈验证数据路径,实现访问控制与闪电贷攻击的高准确率检测。
摘要:
去中心化金融(DeFi)协议是在区块链上开发的用于管理数字资产的加密项目。针对DeFi的攻击频发,已造成超过770亿美元的损失,但目前针对恶意DeFi事件的检测方法仍较为匮乏。本文提出DeFiTail,这是首个利用深度学习检测DeFi中可能发生的访问控制漏洞利用和闪电贷攻击的框架。由于DeFi协议事件涉及多账户交易的调用,需要对不同合约的执行路径进行统一。此外,为缓解控制流图(CFG)连接错误带来的影响,我们采用符号执行栈对数据路径进行验证。随后,我们将数据路径输入我们的模型,以实现对DeFi协议的检测。实验结果表明,DeFiTail达到了最高准确率,在访问控制漏洞利用检测中为98.39%,在闪电贷攻击检测中为97.43%。DeFiTail还展现出更强的恶意合约检测能力,在CVE数据集上的识别准确率达86.67%。
英文摘要:
Decentralized finance (DeFi) protocols are crypto projects developed on the blockchain to manage digital assets. Attacks on DeFi have been frequent and have resulted in losses exceeding \$77 billion. However, detection methods for malicious DeFi events are still lacking. In this paper, we propose DeFiTail, the first framework that utilizes deep learning to detect access control and flash loan exploits that may occur on DeFi. Since the DeFi protocol events involve invocations with multi-account transactions, which requires execution path unification with different contracts. Moreover, to mitigate the impact of mistakes in Control Flow Graph (CFG) connections, we validate the data path by employing the symbolic execution stack. Furthermore, we feed the data paths through our model to achieve the inspection of DeFi protocols. Experimental results indicate that DeFiTail achieves the highest accuracy, with 98.39% in access control and 97.43% in flash loan exploits. DeFiTail also demonstrates an enhanced capability to detect malicious contracts, identifying 86.67% accuracy from the CVE dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。