通过上下文敏感的混合符号验证猎捕 DeFi 漏洞
Hunting DeFi Vulnerabilities via Context-Sensitive Concolic Verification
AI总结:
针对现有方法难以覆盖多数 DeFi 漏洞类型的问题,提出基于时序逻辑属性与上下文引导的 CSCV 混合符号验证方法,并在真实事件中实现 76.25% 漏洞检出率。
摘要:
去中心化金融(DeFi)正凭借高可用性、透明性和防篡改等吸引人的特性革新传统中心化金融范式。然而,针对 DeFi 服务的攻击已严重损害 DeFi 市场,我们对 2017 年至 2022 年间 80 起真实 DeFi 事件的调查即为明证。现有基于符号执行、模型检验、语义分析和模糊测试的方法,在识别大多数 DeFi 漏洞类型方面存在不足。为弥补这一缺陷,我们提出 Context-Sensitive Concolic Verification(CSCV,上下文敏感混合符号验证),这是一种基于以时序逻辑表述的用户自定义属性、自动化发现 DeFi 漏洞的方法。CSCV 构建并优化上下文,以引导验证过程;该过程与混合符号执行协同,动态构建携带上下文的迁移系统。此外,我们通过在真实 DeFi 服务上的实验和定性比较证明 CSCV 的有效性。实验结果表明,我们的 CSCV 原型成功检测出所调查事件中 76.25% 的漏洞,平均耗时为 253.06 秒。
英文摘要:
Decentralized finance (DeFi) is revolutionizing the traditional centralized finance paradigm with its attractive features such as high availability, transparency, and tamper-proofing. However, attacks targeting DeFi services have severely damaged the DeFi market, as evidenced by our investigation of 80 real-world DeFi incidents from 2017 to 2022. Existing methods, based on symbolic execution, model checking, semantic analysis, and fuzzing, fall short in identifying the most DeFi vulnerability types. To address the deficiency, we propose Context-Sensitive Concolic Verification (CSCV), a method of automating the DeFi vulnerability finding based on user-defined properties formulated in temporal logic. CSCV builds and optimizes contexts to guide verification processes that dynamically construct context-carrying transition systems in tandem with concolic executions. Furthermore, we demonstrate the effectiveness of CSCV through experiments on real-world DeFi services and qualitative comparison. The experiment results show that our CSCV prototype successfully detects 76.25% of the vulnerabilities from the investigated incidents with an average time of 253.06 seconds.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。