Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Beyond the Public Mempool: Catching DeFi Attacks Before They Happen with Real-Time Smart Contract Analysis
PARHIZKARI, Bahareh; IANNILLO, Antonio Ken; FERREIRA TORRES, Christof et al.
2024In Beyond the Public Mempool: Catching DeFi Attacks Before They Happen with Real-Time Smart Contract Analysis
Peer reviewed
 

Files


Full Text
Beyond_the_Public_Mempool_final.pdf
Author preprint (952.61 kB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
smart contract, defi, decentralized finance, blockchain
Abstract :
[en] Beyond the Public Mempool: Catching DeFi Attacks Before They Happen with Real-Time Smart Contract Analysis The rise of decentralized finance has brought a vast range of opportunities to the blockchain space and many risks. This paper tackles the challenge of detecting malicious smart contracts on Ethereum designed to exploit vulnerabilities and cause financial losses. We present a novel approach for preemptively identifying malicious smart contracts during their deployment stage. For this purpose, we gathered a dataset comprising 161 malicious smart contracts and 5500 benign smart contracts. By introducing and extracting various features related to the deployer, transaction characteristics, and deployment bytecode and selecting the most impactful features, we developed multiple models using different machine learning (ML) classification algorithms, compared them using the set of most impactful features, and selected the most accurate one as our detection model. We compared the model's performance with a publicly available ML malicious smart contract detection tool to benchmark it. The results demonstrate that our model achieves a superior True Positive Rate while having a lower False Positive Rate. Our model achieved a 79.17% detection rate for malicious smart contracts while maintaining a False Positive rate of less than 1.8%. Our model provides swift detection capabilities by alerting users immediately after a contract's deployment, thus enabling timely response and risk mitigation.
Research center :
Interdisciplinary Centre for Security, Reliability and Trust (SnT) > SEDAN - Service and Data Management in Distributed Systems
Disciplines :
Computer science
Author, co-author :
PARHIZKARI, Bahareh  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SEDAN
IANNILLO, Antonio Ken  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust > SEDAN > Team Radu STATE
FERREIRA TORRES, Christof ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust > SEDAN > Team Radu STATE
Xu, Joseph;  Quantstamp
Banescu, Sebastian;  Quantstamp
STATE, Radu  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SEDAN
External co-authors :
yes
Language :
English
Title :
Beyond the Public Mempool: Catching DeFi Attacks Before They Happen with Real-Time Smart Contract Analysis
Publication date :
2024
Event name :
20th EAI International Conference on Security and Privacy in Communication Networks
Event organizer :
EAI
Event place :
Dubai, United Arab Emirates
Event date :
28-30 October, 2024
Audience :
International
Main work title :
Beyond the Public Mempool: Catching DeFi Attacks Before They Happen with Real-Time Smart Contract Analysis
Publisher :
Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering ((LNICST,volume 629))
Peer reviewed :
Peer reviewed
Focus Area :
Security, Reliability and Trust
Development Goals :
9. Industry, innovation and infrastructure
Funders :
Quantstamp
Available on ORBilu :
since 18 October 2024

Statistics


Number of views
256 (49 by Unilu)
Number of downloads
251 (16 by Unilu)

Scopus citations®
 
0
Scopus citations®
without self-citations
0
OpenCitations
 
0
OpenAlex citations
 
0

Bibliography


Similar publications



Contact ORBilu