Abstract
dc:descriptionBlockchains, supported by Turing-Complete programmable smart contracts, have witnessed unprecedented growth in recent years. Ethereum, a leading platform in this domain, has revolutionized decentralized computing with its support for smart contracts. However, the popularity of smart contracts has also attracted malicious actors, leading to significant financial losses due to vulnerabilities and attacks. Consequently, there is an urgent need to develop tools for effectively identifying and mitigating these threats. Moreover, with the rise of decentralized finance (DeFi), the risks associated with blockchain have escalated, necessitating proactive measures to predict attacks in real-time.This thesis addresses three critical research questions: First, how can attacks on smart contracts be effectively identified? Notably, detecting attacks after they happen is not enough, considering the immutability of blockchain ledger once mined. Therefore, there is a pressing need for proactive measures to identify vulnerabilities and potential threats before they are exploited. Then it arises our second question: how can Decentralized Finance (DeFi) attacks be predicted before they occur? With the rapid growth of DeFi, the complexity of financial transactions has increased manifold, presenting new challenges for security and risk management. Predicting DeFi attacks in real-time is paramount to safeguarding users' funds and preserving the integrity of the ecosystem. Third, beyond defense, how can transactions be leveraged for attacking the Ethereum network? While much attention has been focused on defending against attacks, understanding the potential risks posed by transactions themselves is crucial for mitigating systemic vulnerabilities and ensuring the long-term viability of Ethereum as a decentralized platform. To tackle these questions, we introduce novel frameworks and methodologies. First, TxSpector, a generic analysis framework, is presented for detecting real-world attacks in Ethereum transactions. This framework employs logic-driven program analysis on historical transactions to automatically detect vulnerabilities and attacks, enabling forensic analysis and proactive mitigation strategies. Second, EthJIT is proposed for just-in-time detection of DeFi attacks on pending transactions. By leveraging innovative prediction techniques and optimization methods, EthJIT enables the proactive identification of potential attacks before they are executed, thereby providing a crucial layer of defense against emerging threats in the DeFi space. Third, we delve into the realm of private transactions, proposing two types of reorganization attacks aimed at leaking private transactions for profits.Our contributions include the development of innovative frameworks, novel attack methodologies, and thorough evaluations showcasing their effectiveness. Additionally, we provide open-source datasets and scripts to facilitate further research in blockchain security. Through these efforts, we aim to fortify Ethereum's ecosystem against emerging threats and pave the way for sustainable growth and adoption of blockchain technology. Our work not only enhances the security posture of Ethereum but also contributes valuable insights to the broader blockchain community, fostering a more resilient and trustworthy landscape.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Computer Science and Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Zhang, Mengya
- Advisors dc:contributor.advisor
-
- Lin, Zhiqiang
- Zhang, Yinqian
Subjects
dc:subject × 6Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu1713392061017691