RMIT University
Browse

Ponzi Scheme Detection Based on Control Flow Graph Feature Extraction

conference contribution
posted on 2024-11-03, 15:25 authored by Shunhui Ji, Congxiong Huang, Pengcheng Zhang, Hai DongHai Dong, Yan Xiao
The blockchain ecosystem is expanding as a result of advancements in blockchain technology and the emergence of BaaS (Blockchain as a Service) platforms. Smart contracts are designed to carry out diverse business operations, but there is a risk of Ponzi schemes being concealed within them. These schemes masquerade as investment agreements and deceive users, resulting in substantial losses for the blockchain community. Detecting Ponzi schemes in smart contracts is crucial. This study introduces a machine learning approach to identify Ponzi schemes by extracting features from smart contracts using the control flow graph. During the construction of the control flow graph for the smart contract’s bytecode, elements unrelated to its functionality are identified and eliminated. We utilize the control flow graph to extract n-gram Term Frequency and n-gram Term Frequency-Inverse Document Frequency features. These features are respectively employed to construct a Random Forest model for Ponzi scheme detection. To address the issue of imbalanced samples, the SVM_SMOTE oversampling algorithm is applied to balance the number of positive and negative samples. The results from experiments conducted on a real-world dataset demonstrate the effectiveness of our approach. The feature extraction method based on the control flow graph outperforms the method based on continuous text. Additionally, the Random Forest model utilizing SVM_SMOTE outperforms four existing models.

History

Related Materials

  1. 1.
    DOI - Is published in 10.1109/ICWS60048.2023.00077
  2. 2.
    ISBN - Is published in 9798350304855 (urn:isbn:9798350304855)

Start page

585

End page

594

Total pages

10

Outlet

Proceedings of the IEEE International Conference on Web Services

Name of conference

ICWS 2023

Publisher

IEEE

Place published

United States

Start date

2023-07-02

End date

2023-07-08

Language

English

Copyright

© 2023 IEEE

Former Identifier

2006127145

Esploro creation date

2023-12-20

Usage metrics

    Scholarly Works

    Keywords

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC