Zur Hauptnavigation wechseln Zur Suche wechseln Zum Hauptinhalt wechseln

MANDO: Multi-Level Heterogeneous Graph Embeddings for Fine-Grained Detection of Smart Contract Vulnerabilities

Hoang H. Nguyen*, Nhat Minh Nguyen, Chunyao Xie, Zahra Ahmadi, Daniel Kudendo, Thanh Nam Doan, Lingxiao Jiang

*Korrespondierende*r Autor*in für diese Arbeit

Publikation: Beitrag in Buch/Bericht/Sammelwerk/KonferenzbandAufsatz in KonferenzbandForschungPeer-Review

Abstract

Learning heterogeneous graphs consisting of different types of nodes and edges enhances the results of homogeneous graph techniques. An interesting example of such graphs is control-flow graphs representing possible software code execution flows. As such graphs represent more semantic information of code, developing techniques and tools for such graphs can be highly beneficial for detecting vulnerabilities in software for its reliability. However, existing heterogeneous graph techniques are still insufficient in handling complex graphs where the number of different types of nodes and edges is large and variable. This paper concentrates on the Ethereum smart contracts as a sample of software codes represented by heterogeneous contract graphs built upon both control-flow graphs and call graphs containing different types of nodes and links. We propose MANDO, a new heterogeneous graph representation to learn such heterogeneous contract graphs' structures. MANDO extracts customized meta-paths, which compose relational connections between different types of nodes and their neighbors. Moreover, it develops a multi-metapath heterogeneous graph attention network to learn multi-level embeddings of different types of nodes and their metapaths in the heterogeneous contract graphs, which can capture the code semantics of smart contracts more accurately and facilitate both fine-grained line-level and coarse-grained contract-level vulnerability detection. Our extensive evaluation of large smart contract datasets shows that MANDO improves the vulnerability detection results of other techniques at the coarse-grained contract level. More importantly, it is the first learning-based approach capable of identifying vulnerabilities at the fine-grained line-level, and significantly improves the traditional code analysis-based vulnerability detection approaches by 11.35% to 70.81% in terms of F1-score.

OriginalspracheEnglisch
Titel des Sammelwerks2022 IEEE 9th International Conference on Data Science and Advanced Analytics
Untertitel(DSAA)
Herausgeber/-innenJoshua Zhexue Huang, Yi Pan, Barbara Hammer, Muhammad Khurram Khan, Xing Xie, Laizhong Cui, Yulin He
Herausgeber (Verlag)Institute of Electrical and Electronics Engineers Inc.
ISBN (elektronisch)9781665473309
ISBN (Print)978-1-6654-7331-6
DOIs
PublikationsstatusVeröffentlicht - 2022
Veranstaltung9th IEEE International Conference on Data Science and Advanced Analytics, DSAA 2022 - Shenzhen, China
Dauer: 13 Okt. 202216 Okt. 2022

Konferenz

Konferenz9th IEEE International Conference on Data Science and Advanced Analytics, DSAA 2022
Land/GebietChina
OrtShenzhen
Zeitraum13 Okt. 202216 Okt. 2022

ASJC Scopus Sachgebiete

  • Artificial intelligence
  • Maschinelles Sehen und Mustererkennung
  • Hardware und Architektur
  • Information systems
  • Informationssysteme und -management

Dieses zitieren