S-GRAM: Towards Semantic-Aware Security Auditing for Ethereum Smart Contracts

被引:58
|
作者
Liu, Han [1 ,4 ,5 ]
Liu, Chao [2 ]
Zhao, Wenqi [3 ]
Jiang, Yu [1 ]
Sun, Jiaguang [1 ]
机构
[1] Tsinghua Univ, Sch Software, Beijing, Peoples R China
[2] Peking Univ, Beijing, Peoples R China
[3] Ant Financial, Ant Fortune Business Grp, Beijing, Peoples R China
[4] Beijing Natl Res Ctr Informat Sci & Technol, Beijing, Peoples R China
[5] Minist Educ, Key Lab Informat Syst Secur, Beijing, Peoples R China
基金
中国博士后科学基金;
关键词
Smart contracts; security auditing; language modeling; static semantic labeling;
D O I
10.1145/3238147.3240728
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Smart contracts, as a promising and powerful application on the Ethereum blockchain, have been growing rapidly in the past few years. Since they are highly vulnerable to different forms of attacks, their security becomes a top priority. However, existing security auditing techniques are either limited in finding vulnerabilities (rely on pre-defined bug patterns) or very expensive (rely on program analysis), thus are insufficient for Ethereum. To mitigate these limitations, we proposed a novel semantic-aware security auditing technique called S-GRAM for Ethereum. The key insight is a combination of N-gram language modeling and lightweight static semantic labeling, which can learn statistical regularities of contract tokens and capture high-level semantics as well (e.g., flow sensitivity of a transaction). S-GRAM can be used to predict potential vulnerabilities by identifying irregular token sequences and optimize existing in-depth analyzers (e.g., symbolic execution engines, fuzzers etc.). We have implemented S-GRAM for Solidity smart contracts in Ethereum. The evaluation demonstrated the potential of S-GRAM in identifying possible security issues.
引用
收藏
页码:814 / 819
页数:6
相关论文
共 50 条
  • [31] LivelySpeaker: Towards Semantic-Aware Co-Speech Gesture Generation
    Zhi, Yihao
    Cun, Xiaodong
    Chen, Xuelin
    Shen, Xi
    Guo, Wen
    Huang, Shaoli
    Gao, Shenghua
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2023), 2023, : 20750 - 20760
  • [32] Towards a Semantic-Aware Code Generator for Cyber-Physical Systems
    Hili, Nicolas
    Loraux, Elian
    2022 11TH MEDITERRANEAN CONFERENCE ON EMBEDDED COMPUTING (MECO), 2022, : 94 - 99
  • [33] Temporal transaction information-aware Ponzi scheme detection for ethereum smart contracts
    Wang, Lei
    Cheng, Hao
    Zheng, Zibin
    Yang, Aijun
    Xu, Ming
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2023, 126
  • [34] Towards Semantic-Aware Transport Layer Protocols: A Control Performance Perspective
    Kutsevol, Polina
    Ayan, Onur
    Kellerer, Wolfgang
    ICC 2023-IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2023, : 997 - 1002
  • [35] Towards a Semantic-Aware Code Generator for Cyber-Physical Systems
    Hili, Nicolas
    Loraux, Elian
    2022 11th Mediterranean Conference on Embedded Computing, MECO 2022, 2022,
  • [36] Towards semantic-aware multiple-aspect trajectory similarity measuring
    Petry, Lucas May
    Ferrero, Carlos Andres
    Alvares, Luis Otavio
    Renso, Chiara
    Bogorny, Vania
    TRANSACTIONS IN GIS, 2019, 23 (05) : 960 - 975
  • [37] Semantic-aware Graph Neural Network for Smart Contract Bytecode Vulnerability Detection
    Zhao B.
    Shangguan C.
    Peng X.
    An Y.
    Tong J.
    Yuan A.
    Gongcheng Kexue Yu Jishu/Advanced Engineering Sciences, 2022, 54 (02): : 49 - 55
  • [38] Semantic-Aware Security Orchestration in SDN/NFV-Enabled IoT Systems
    Molina Zarca, Alejandro
    Bagaa, Miloud
    Bernal Bernabe, Jorge
    Taleb, Tarik
    Skarmeta, Antonio F.
    SENSORS, 2020, 20 (13) : 1 - 26
  • [39] S-RAN: Semantic-Aware Radio Access Networks
    Sun, Yao
    Zhang, Lan
    Guo, Linke
    Li, Jian
    Niyato, Dusit
    Fang, Yuguang
    IEEE COMMUNICATIONS MAGAZINE, 2024,
  • [40] Towards Scene Understanding: Unsupervised Monocular Depth Estimation with Semantic-aware Representation
    Chen, Po-Yi
    Liu, Alexander H.
    Liu, Yen-Cheng
    Wang, Yu-Chiang Frank
    2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, : 2619 - 2627