Penetrating the Hostile: Detecting DeFi Protocol Exploits through Cross-Contract Analysis
Xiaoqi Li, Wenkai Li, Zhiquan Liu, Yuqing Zhang, Yingjie Mao

TL;DR
DeFiTail is a deep learning framework that detects DeFi protocol exploits by analyzing cross-contract data flows and attack logic, significantly improving detection accuracy over existing methods.
Contribution
This paper introduces DeFiTail, the first deep learning-based framework for cross-contract analysis to detect DeFi exploits, capturing attacker-victim interaction logic.
Findings
Achieves 98.39% accuracy in access control detection.
Attains 97.43% accuracy in flash loan exploit detection.
Detects 86.67% of malicious contracts in CVE dataset.
Abstract
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 $80 billion. Current tools detect and locate possible vulnerabilities in contracts by analyzing the state changes that may occur during malicious events. However, this victim-only approaches seldom possess the capability to cover the attacker's interaction intention logic. Furthermore, only a minuscule percentage of DeFi protocols experience attacks in real-world scenarios, which poses a significant challenge for these detection tools to demonstrate practical effectiveness. In this paper, we propose DeFiTail, the first framework that utilizes deep learning technology for access control and flash loan exploit detection. Through feeding the cross-contract static data flow, DeFiTail automatically learns the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security · Advanced Malware Detection Techniques · Network Security and Intrusion Detection
