Ethereum Blockchain Smart Contract Vulnerability Detection Using Deep Learning

dc.contributor.author Demir,H.O.
dc.contributor.author Parlat,S.Z.
dc.contributor.author Gumus,A.
dc.date.accessioned 2024-06-19T14:28:52Z
dc.date.available 2024-06-19T14:28:52Z
dc.date.issued 2023
dc.description.abstract Blockchain technology, employing advanced cryptography, stands as an optimal means to establish trust among unfamiliar online counterparts. It facilitates secure transactions and consensus among participants. Ethereum, a prominent blockchain network, extends this utility by introducing smart contracts. These are predefined programs containing data and methods for execution. Once deployed, these contracts remain unalterable due to blockchain's immutable nature. However, unlike conventional software that can be readily patched, they may harbor vulnerabilities. Smart contracts operate with the Ethereum cryptocurrency Ether, rendering fixes intricate and economically impactful. Static analyzers exist to spot vulnerabilities in smart contacts during development, but they are time-intensive. We propose a machine learning-based approach for detecting reentrancy vulnerabilities in smart contracts. Our system comprises three components: data preparation, Op2Vec, and an LSTM model. We collected 30,000 smart contracts, dividing them into two sets of 15,000 each for Op2Vec generation and LSTM training, respectively. We mapped opcode keywords to vector representations using a Skip-Gram algorithm, resulting in a 100-dimensional dictionary with 72 unique opcodes. Labeling was done using the Slither static analyzer, with 116 contracts identified as vulnerable and an additional 132 clean contracts for dataset balance. A Bidirectional LSTM (Bi-LSTM) model was devised by employing assembly data to detect flaws. The developed Bi-LSTM model demonstrated promise in reentrancy vulnerability detection, achieving a 96% accuracy rate in testing and reducing the analysis time to less than a fifth of that required by static analyzers. The codes and data are shared on GitHub as an open-source software package in a way that benefits everyone interested: https://github.com/miralabai/blockchain-vulnerability-detection. © 2023 IEEE. en_US
dc.identifier.doi 10.1109/ISAS60782.2023.10391797
dc.identifier.isbn 9798350383065
dc.identifier.scopus 2-s2.0-85184807446
dc.identifier.uri https://doi.org/10.1109/ISAS60782.2023.10391797
dc.identifier.uri https://hdl.handle.net/11147/14553
dc.language.iso en en_US
dc.publisher Institute of Electrical and Electronics Engineers Inc. en_US
dc.relation.ispartof ISAS 2023 - 7th International Symposium on Innovative Approaches in Smart Technologies, Proceedings -- 7th International Symposium on Innovative Approaches in Smart Technologies, ISAS 2023 -- 23 November 2023 through 25 November 2023 -- Istanbul -- 196776 en_US
dc.rights info:eu-repo/semantics/closedAccess en_US
dc.subject Bi-LSTM en_US
dc.subject Blockchain en_US
dc.subject Op2Vec en_US
dc.subject Reentrancy en_US
dc.subject Smart Contracts en_US
dc.subject Vulnerability Detection en_US
dc.title Ethereum Blockchain Smart Contract Vulnerability Detection Using Deep Learning en_US
dc.type Conference Object en_US
dspace.entity.type Publication
gdc.author.scopusid 58882253800
gdc.author.scopusid 58882830400
gdc.author.scopusid 35315599800
gdc.bip.impulseclass C5
gdc.bip.influenceclass C5
gdc.bip.popularityclass C4
gdc.coar.access metadata only access
gdc.coar.type text::conference output
gdc.collaboration.industrial false
gdc.description.department Izmir Institute of Technology en_US
gdc.description.departmenttemp Demir H.O., Izmir Institute of Technology, Electrical and Electronics Engineering, Izmir, Turkey; Parlat S.Z., Izmir Institute of Technology, Electrical and Electronics Engineering, Izmir, Turkey; Gumus A., Izmir Institute of Technology, Electrical and Electronics Engineering, Izmir, Turkey en_US
gdc.description.endpage 5
gdc.description.publicationcategory Konferans Öğesi - Uluslararası - Kurum Öğretim Elemanı en_US
gdc.description.startpage 1
gdc.identifier.openalex W4390944878
gdc.index.type Scopus
gdc.oaire.diamondjournal false
gdc.oaire.impulse 3.0
gdc.oaire.influence 2.9285423E-9
gdc.oaire.isgreen false
gdc.oaire.popularity 4.4685993E-9
gdc.oaire.publicfunded false
gdc.openalex.collaboration National
gdc.openalex.fwci 3.09243813
gdc.openalex.normalizedpercentile 0.91
gdc.openalex.toppercent TOP 10%
gdc.opencitations.count 3
gdc.plumx.mendeley 11
gdc.plumx.scopuscites 3
gdc.scopus.citedcount 3
relation.isAuthorOfPublication.latestForDiscovery ce5ce1e2-17ef-4da2-946d-b7a26e44e461
relation.isOrgUnitOfPublication.latestForDiscovery 9af2b05f-28ac-4003-8abe-a4dfe192da5e

Files