跳到主要导航 跳到搜索 跳到主要内容

DeFort: Automatic Detection and Analysis of Price Manipulation Attacks in DeFi Applications

  • Maoyi Xie
  • , Ming Hu
  • , Ziqiao Kong
  • , Cen Zhang
  • , Yebo Feng
  • , Haijun Wang
  • , Yue Xue
  • , Hao Zhang
  • , Ye Liu
  • , Yang Liu
  • Nanyang Technological University
  • MetaTrust Labs

科研成果: 书/报告/会议事项章节会议稿件同行评审

13 引用 (Scopus)

摘要

Although Decentralized Finance (DeFi) applications facilitate tamper-proof transactions among multiple anonymous users, since attackers can access the smart contract bytecode directly, vulnerabilities in the transaction mechanism, contract code, or third-party components can be easily exploited to manipulate token prices, leading to financial losses. Since price manipulation often relies on specific states and complex trading sequences, existing detection tools have limitations in addressing this problem. In addition, to swiftly identify the root cause of an attack and implement targeted defense and remediation measures, auditors typically prioritize understanding the methodology behind the attack, emphasizing 'how' it occurred rather than simply confirming its existence. To address these problems, this paper presents a novel automatic price manipulation detection and analysis framework, named DeFort, which contains a price manipulation behavior model to guide on-chain detection, multiple price monitoring strategies to detect pools with abnormal token prices, and various profit calculation mechanisms to confirm attacks. Based on behavioral models, DeFort can automatically locate transactions and functions that cause abnormal price fluctuations and identify attackers and victims. Experimental results demonstrate that DeFort can outperform state-of-the-art price manipulation detection methods. Furthermore, after monitoring 441 real-world projects for two months, DeFort successfully detected five price manipulation attacks.

源语言英语
主期刊名ISSTA 2024 - Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis
编辑Maria Christakis, Michael Pradel
出版商Association for Computing Machinery, Inc
402-414
页数13
ISBN(电子版)9798400706127
DOI
出版状态已出版 - 11 9月 2024
活动33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2024 - Vienna, 奥地利
期限: 16 9月 202420 9月 2024

出版系列

姓名ISSTA 2024 - Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis

会议

会议33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2024
国家/地区奥地利
Vienna
时期16/09/2420/09/24

学术指纹

探究 'DeFort: Automatic Detection and Analysis of Price Manipulation Attacks in DeFi Applications' 的科研主题。它们共同构成独一无二的指纹。

引用此