Skip to main content

Illegal Accounts Detection on Ethereum Using Heterogeneous Graph Transformer Networks

  • Conference paper
  • First Online:
Information and Communications Security (ICICS 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14252))

Included in the following conference series:

Abstract

Numerous applications based on Ethereum have been utilized in a variety of scenarios, such as financial services. However, due to the lack of effective regulation in the blockchain, a significant number of illegal users cash in on the anonymity of blockchain accounts, which has an extremely negative impact. Existing illegal account detection methods employ machine learning techniques to train fundamental account characteristics and fail to extract efficient high-order features by graph structures, leading to inaccuracies in account detection. To address this issue, we propose a novel illegal account identification method based on a heterogeneous transformer network. Specifically, we design an account-centric heterogeneous information network model to express real transaction data on Ethereum for the first time. This model can describe the network structure information more comprehensively. Additionally, we propose to apply the graph transformer network to automatically learn the multi-hop metapath and obtain high-order node information and links. These features, in turn, improve the quality and performance of our model. Finally, we employ the graph convolutional network to classify nodes and complete the account identification task and ensure the security of the Ethereum system. Furthermore, we compare our method with other existing detection models. Our experiments demonstrate that the proposed approach achieves an accuracy of 95.57%, which surpasses that of traditional machine learning models and existing detection schemes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://etherscan.io.

  2. 2.

    http://etherscamdb.info.

References

  1. Bai, Q., Zhang, C., Liu, N., Chen, X., Xu, Y., Wang, X.: Evolution of transaction pattern in ethereum: a temporal graph perspective. IEEE Trans. Comput. Soc. Syst. 9(3), 851–866 (2021)

    Article  Google Scholar 

  2. Bartoletti, M., Carta, S., Cimoli, T., Saia, R.: Dissecting Ponzi schemes on ethereum: identification, analysis, and impact. Futur. Gener. Comput. Syst. 102, 259–277 (2020)

    Article  Google Scholar 

  3. Bistarelli, S., Mazzante, G., Micheletti, M., Mostarda, L., Sestili, D., Tiezzi, F.: Ethereum smart contracts: analysis and statistics of their source code and opcodes. Internet Things 11, 100198 (2020)

    Article  Google Scholar 

  4. Buterin, V., et al.: A next-generation smart contract and decentralized application platform. White Pap. 3(37), 2–1 (2014)

    Google Scholar 

  5. Casale-Brunet, S., Ribeca, P., Doyle, P., Mattavelli, M.: Networks of ethereum non-fungible tokens: a graph-based analysis of the ERC-721 ecosystem. In: 2021 IEEE International Conference on Blockchain (Blockchain), pp. 188–195. IEEE (2021)

    Google Scholar 

  6. Chen, L., Peng, J., Liu, Y., Li, J., Xie, F., Zheng, Z.: Phishing scams detection in ethereum transaction network. ACM Trans. Internet Technol. (TOIT) 21(1), 1–16 (2020)

    Article  Google Scholar 

  7. Chen, T., Li, Z., Zhu, Y., Chen, J., Luo, X., Lui, J.C.S., Lin, X., Zhang, X.: Understanding ethereum via graph analysis. ACM Trans. Internet Technol. (TOIT) 20(2), 1–32 (2020)

    Article  Google Scholar 

  8. Chen, W., Zhang, T., Chen, Z., Zheng, Z., Lu, Y.: Traveling the token world: a graph analysis of ethereum ERC20 token ecosystem. In: Proceedings of the Web Conference 2020, pp. 1411–1421 (2020)

    Google Scholar 

  9. Chen, W., Zheng, Z., Cui, J., Ngai, E., Zheng, P., Zhou, Y.: Detecting Ponzi schemes on ethereum: towards healthier blockchain technology. In: Proceedings of the 2018 World Wide Web Conference, pp. 1409–1418 (2018)

    Google Scholar 

  10. Christidis, K., Devetsikiotis, M.: Blockchains and smart contracts for the internet of things. IEEE Access 4, 2292–2303 (2016)

    Article  Google Scholar 

  11. Christin, N.: Traveling the silk road: a measurement analysis of a large anonymous online marketplace. In: Proceedings of the 22nd International Conference on World Wide Web, pp. 213–224 (2013)

    Google Scholar 

  12. Conti, M., Kumar, E.S., Lal, C., Ruj, S.: A survey on security and privacy issues of bitcoin. IEEE Commun. Surv. Tutor. 20(4), 3416–3452 (2018)

    Article  Google Scholar 

  13. Ermakova, T., Fabian, B., Baumann, A., Izmailov, M., Krasnova, H.: Bitcoin: drivers and impediments. Available at SSRN 3017190 (2017)

    Google Scholar 

  14. Farrugia, S., Ellul, J., Azzopardi, G.: Detection of illicit accounts over the ethereum blockchain. Expert Syst. Appl. 150, 113318 (2020)

    Article  Google Scholar 

  15. Gao, B., et al.: Tracking counterfeit cryptocurrency end-to-end. Proc. ACM Meas. Anal. Comput. Syst. 4(3), 1–28 (2020)

    Article  Google Scholar 

  16. Godspower-Akpomiemie, E., Ojah, K.: Money laundering, tax havens and transparency: any role for the board of directors of banks. In: Enhancing Board Effectiveness, pp. 248–266 (2019)

    Google Scholar 

  17. Henderson, K., et al.: RolX: structural role extraction & mining in large graphs. In: Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1231–1239 (2012)

    Google Scholar 

  18. Ibrahim, R.F., Elian, A.M., Ababneh, M.: Illicit account detection in the ethereum blockchain using machine learning. In: 2021 International Conference on Information Technology (ICIT), pp. 488–493. IEEE (2021)

    Google Scholar 

  19. Juels, A., Kosba, A., Shi, E.: The ring of Gyges: investigating the future of criminal smart contracts. In: Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, pp. 283–295 (2016)

    Google Scholar 

  20. Kanemura, K., Toyoda, K., Ohtsuki, T.: Identification of darknet markets’ bitcoin addresses by voting per-address classification results. In: 2019 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 154–158. IEEE (2019)

    Google Scholar 

  21. Khan, A.: Graph analysis of the ethereum blockchain data: a survey of datasets, methods, and future work. In: 2022 IEEE International Conference on Blockchain (Blockchain), pp. 250–257. IEEE (2022)

    Google Scholar 

  22. Liang, J., Li, L., Zeng, D.: Evolutionary dynamics of cryptocurrency transaction networks: an empirical study. PLoS ONE 13(8), e0202202 (2018)

    Article  Google Scholar 

  23. Lin, D., Wu, J., Yuan, Q., Zheng, Z.: Modeling and understanding ethereum transaction records via a complex network approach. IEEE Trans. Circuits Syst. II Express Briefs 67(11), 2737–2741 (2020)

    Google Scholar 

  24. Lin, Y.J., Wu, P.W., Hsu, C.H., Tu, I.P., Liao, S.W.: An evaluation of bitcoin address classification based on transaction history summarization. In: 2019 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 302–310. IEEE (2019)

    Google Scholar 

  25. Makhdoom, I., Abolhasan, M., Abbas, H., Ni, W.: Blockchain’s adoption in IoT: the challenges, and a way forward. J. Netw. Comput. Appl. 125, 251–279 (2019)

    Article  Google Scholar 

  26. Meiklejohn, S., Pomarole, M., Jordan, G., Levchenko, K., McCoy, D., Voelker, G.M., Savage, S.: A fistful of bitcoins: characterizing payments among men with no names. In: Proceedings of the 2013 Conference on Internet Measurement Conference, pp. 127–140 (2013)

    Google Scholar 

  27. Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system (2009). https://bitcoin.org/bitcoin.pdf

  28. Sokolowska, A.: How to interact with the ethereum blockchain and create a database with python and SQL (2018). https://github.com/validitylabs/EthereumDB

  29. Somin, S., Gordon, G., Altshuler, Y.: Network analysis of ERC20 tokens trading on ethereum blockchain. In: Morales, A.J., Gershenson, C., Braha, D., Minai, A.A., Bar-Yam, Y. (eds.) ICCS 2018. SPC, pp. 439–450. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-96661-8_45

    Chapter  Google Scholar 

  30. Sun, Y., Han, J.: Mining heterogeneous information networks: principles and methodologies. Synthesis Lect. Data Min. Knowl. Discov. 3(2), 1–159 (2012)

    Article  MathSciNet  Google Scholar 

  31. Swan, M.: Blockchain: Blueprint for a New Economy. O’Reilly Media, Inc. (2015)

    Google Scholar 

  32. Torres, C.F., Steichen, M., State, R.: The art of the scam: demystifying honeypots in ethereum smart contracts. arXiv preprint arXiv:1902.06976 (2019)

  33. Yan, C., Zhang, C., Lu, Z., Wang, Z., Liu, Y., Liu, B.: Blockchain abnormal behavior awareness methods: a survey. Cybersecurity 5(1), 5 (2022)

    Article  Google Scholar 

  34. Zhang, F., et al.: OAG: toward linking large-scale heterogeneous entity graphs. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 2585–2595 (2019)

    Google Scholar 

  35. Zheng, Z., Xie, S., Dai, H.N., Chen, X., Wang, H.: Blockchain challenges and opportunities: a survey. Int. J. Web Grid Serv. 14(4), 352–375 (2018)

    Article  Google Scholar 

Download references

Acknowledgements

This research is supported by the National Key R &D Program of China under Grant 2021YFB2700500 and Grant 2021YFB2700502.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chang Xu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Xu, C., Zhang, S., Zhu, L., Shen, X., Zhang, X. (2023). Illegal Accounts Detection on Ethereum Using Heterogeneous Graph Transformer Networks. In: Wang, D., Yung, M., Liu, Z., Chen, X. (eds) Information and Communications Security. ICICS 2023. Lecture Notes in Computer Science, vol 14252. Springer, Singapore. https://doi.org/10.1007/978-981-99-7356-9_39

Download citation

  • DOI: https://doi.org/10.1007/978-981-99-7356-9_39

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-99-7355-2

  • Online ISBN: 978-981-99-7356-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics