Towards Automated Security Analysis of Smart Contracts based on Execution Property Graph

πŸ“… 2023-05-23
πŸ›οΈ arXiv.org
πŸ“ˆ Citations: 8
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
Frequent and increasingly severe smart contract vulnerabilities necessitate efficient dynamic analysis techniques for real-time intrusion detection and advanced forensic investigation. Method: This paper proposes a dynamic analysis framework tailored for the Ethereum Virtual Machine (EVM), introducing the Execution Property Graph (EPG)β€”a novel unified representation of runtime contract behaviorβ€”by integrating dynamic instrumentation, EVM execution tracing, and property graph modeling. We further design a lightweight, customized graph traversal algorithm to enable high-accuracy, low-latency attack pattern recognition. Contribution/Results: Experimental evaluation demonstrates rapid per-transaction graph traversal, high true positive rate, and successful discovery of a zero-day vulnerability affecting Uniswap. Our framework establishes a scalable, general-purpose dynamic analysis paradigm for smart contract security, bridging critical gaps in runtime behavior modeling and actionable threat detection.
πŸ“ Abstract
Identifying and mitigating vulnerabilities in smart contracts is crucial, especially considering the rapid growth and increasing complexity of Decentralized Finance (DeFi) platforms. To address the challenges associated with securing these contracts, we introduce a versatile dynamic analysis framework specifically designed for the Ethereum Virtual Machine (EVM). This comprehensive framework focuses on tracking contract executions, capturing valuable runtime information, while introducing and employing the Execution Property Graph (EPG) to propose a unique graph traversal technique that swiftly detects potential smart contract attacks. Our approach showcases its efficacy with rapid average graph traversal time per transaction and high true positive rates. The successful identification of a zero-day vulnerability affecting Uniswap highlights the framework's potential to effectively uncover smart contract vulnerabilities in complex DeFi systems.
Problem

Research questions and friction points this paper is trying to address.

Detecting smart contract vulnerabilities to prevent financial losses
Developing dynamic analysis for real-time intrusion detection
Creating unified representation for emerging attack identification
Innovation

Methods, ideas, or system contributions that make the work stand out.

Dynamic analysis framework for Ethereum
Execution Property Graph representation
Graph traversal for attack detection
πŸ”Ž Similar Papers
No similar papers found.