Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/90575
標題: 利用情境感知分析於變異智能合約偵測組合式去中心化金融攻擊
Detecting Compositional DeFi Attacks using Context-aware Analysis on Mutated Smart Contracts
作者: 吳家謙
Chia-Chien Wu
指導教授: 蕭旭君
Hsu-Chun Hsiao
關鍵字: 去中心化金融安全,預言機操縱攻擊,智能合約安全,
DeFi Security,Price Oracle Attacks,Smart Contract Security,
出版年 : 2023
學位: 碩士
摘要: 去中心化金融(DeFi)攻擊在過去四年中造成超過36億美元的損失。然而,由於DeFi協議的可組合性,智能合約安全工具在攻擊前檢測這些漏洞的表現仍然很差。為了解決這個問題,我們提出了 DeFiMutator,這是第一個有效檢測導致價格操縱或獎勵操縱攻擊的DeFi組合漏洞的工具。受智能合約審計流程啟發,DeFiMutator首先根據常見的DeFi使用模式解碼合約互動情形。然後,在檢測到關鍵的外部調用時,DeFiMutator 會將漏洞動態插入到智能合約中。最後,使用上下文感知的污點分析來過濾插入的漏洞的誤報。當應用於19個收集的過去的DeFi攻擊事件時,DeFiMutator能夠檢測到其中的68%,而現有最先進的工具僅檢測到37%。此外,通過分析七天的交易數據,DeFiMutator在以太坊和BNB智能鏈上發現了197個易受攻擊的合約,並且有57%的準確率。
Decentralized finance (DeFi) attacks have resulted in losses of more than US$3.6 billion in the past four years. Nevertheless, smart contract security tools still perform badly at detecting these vulnerabilities before attacks due to the composability of DeFi protocols. To address this problem, we present DeFiMutator, a first tool that efficiently detects DeFi compositional vulnerabilities leading to price-manipulation or reward-manipulation attacks. Inspired by the practices of human auditors, DeFiMutator first decodes protocol interactions according to common DeFi usage patterns. Then, when critical external calls are detected, the bugs are dynamically inserted into the smart contracts. Finally, false positives created by the inserted bugs are filtered using context-aware taint analysis. When applied to 19 collected past DeFi attack incidents, DeFiMutator was able to detect 68% of them, whereas a state-of-the-art tool only detected 37%. Furthermore, by analyzing seven days of transaction data, DeFiMutator discovered 197 vulnerable contracts on the Ethereum and BNB Smart Chain, with a 57% of accuracy rate.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/90575
DOI: 10.6342/NTU202300202
全文授權: 未授權
顯示於系所單位:資訊工程學系

文件中的檔案:
檔案 大小格式 
ntu-111-2.pdf
  未授權公開取用
986.02 kBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved