Skip to main navigation Skip to search Skip to main content

Poster: SigRec-Automatic Recovery of Function Signatures in Smart Contracts

  • Ting Chen
  • , Zihao Li
  • , Xiapu Luo
  • , Xiaofeng Wang
  • , Ting Wang
  • , Zheyuan He
  • , Kezhao Fang
  • , Yufei Zhang
  • , Hang Zhu
  • , Hongwei Li
  • , Yan Cheng
  • , Xiaosong Zhang
  • University of Electronic Science and Technology of China
  • Hong Kong Polytechnic University
  • Indiana University Bloomington
  • Ant Group

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

Millions of contracts deployed onto Ethereum provide various services that can be invoked. For this purpose, blockchain users need to know and specify the function signature of a callee, which includes its function id and the parameter types. Function signatures are crucial in several applications, such as recognizing the services that contracts provide. In this poster, we propose a novel solution that leverages how functions are handled by Ethereum virtual machine (EVM) to automatically recover function signatures from contract bytecode, without the need of source code and function signature databases. The extensive experimental results show that our solution outperforms all existing tools, achieving an unprecedented 98.7% accuracy within 0.074 seconds. We further demonstrate the usefulness of our solution in attack detection, fuzzing and reverse engineering of contract bytecode.

Original languageEnglish
Title of host publicationProceedings - 2023 IEEE 43rd International Conference on Distributed Computing Systems, ICDCS 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1065-1066
Number of pages2
ISBN (Electronic)9798350339864
DOIs
StatePublished - 2023
Event43rd IEEE International Conference on Distributed Computing Systems, ICDCS 2023 - Hong Kong, China
Duration: Jul 18 2023Jul 21 2023

Publication series

NameProceedings - International Conference on Distributed Computing Systems
Volume2023-July

Conference

Conference43rd IEEE International Conference on Distributed Computing Systems, ICDCS 2023
Country/TerritoryChina
CityHong Kong
Period07/18/2307/21/23

Keywords

  • Ethereum
  • automatic recovery
  • function signature
  • smart contract
  • type aware symbolic execution

Fingerprint

Dive into the research topics of 'Poster: SigRec-Automatic Recovery of Function Signatures in Smart Contracts'. Together they form a unique fingerprint.

Cite this