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 条
  • [41] SeCoMan: A Semantic-Aware Policy Framework for Developing Privacy-Preserving and Context-Aware Smart Applications
    Huertas Celdran, Alberto
    Garcia Clemente, Felix J.
    Gil Perez, Manuel
    Martinez Perez, Gregorio
    IEEE SYSTEMS JOURNAL, 2016, 10 (03): : 1111 - 1124
  • [42] Smart contracts auditing and multi-classification using machine learning algorithms: an efficient vulnerability detection in ethereum blockchain
    El Haddouti, Samia
    Khaldoune, Mohammed
    Ayache, Meryeme
    Ech-Cherif El Kettani, Mohamed Dafir
    COMPUTING, 2024, 106 (09) : 2971 - 3003
  • [43] PoseEmbroider: Towards a 3D, Visual, Semantic-Aware Human Pose Representation
    Delmas, Ginger
    Weinzaepfel, Philippe
    Moreno-Noguer, Francesc
    Rogez, Gregory
    COMPUTER VISION - ECCV 2024, PT LXXI, 2025, 15129 : 55 - 73
  • [44] SMART: Semantic-Aware Masked Attention Relational Transformer for Multi-label Image Recognition
    Wu, Hongjun
    Xu, Cheng
    Liu, Hongzhe
    IEEE SIGNAL PROCESSING LETTERS, 2022, 29 : 2158 - 2162
  • [45] Towards Context-Aware Smart Contracts for Blockchain IoT Systems
    Ngwira, Lovemore
    Merlec, Mpyana Mwamba
    Lee, Youn Kyu
    In, Hoh Peter
    12TH INTERNATIONAL CONFERENCE ON ICT CONVERGENCE (ICTC 2021): BEYOND THE PANDEMIC ERA WITH ICT CONVERGENCE INNOVATION, 2021, : 82 - 87
  • [46] EtherProv: provenance-aware detection, analysis, and mitigation of Ethereum smart contract security issues
    Linoy, Shlomi
    Ray, Suprio
    Stakhanova, Natalia
    2021 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN (BLOCKCHAIN 2021), 2021, : 11 - 20
  • [47] Towards Effective Static Analysis Approaches for Security Vulnerabilities in Smart Contracts
    Ghaleb, Asem
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [48] A Hybrid Formal Verification System in Coq for Ensuring the Reliability and Security of Ethereum-Based Service Smart Contracts
    Yang, Zheng
    Lei, Hang
    Qian, Weizhong
    IEEE ACCESS, 2020, 8 : 21411 - 21436
  • [49] Ethereum's Smart Contracts Construction and Development using Model Driven Engineering Technologies : a Review
    Hsain, Yassine Ait
    Laaz, Naziha
    Mbarki, Samir
    12TH INTERNATIONAL CONFERENCE ON AMBIENT SYSTEMS, NETWORKS AND TECHNOLOGIES (ANT) / THE 4TH INTERNATIONAL CONFERENCE ON EMERGING DATA AND INDUSTRY 4.0 (EDI40) / AFFILIATED WORKSHOPS, 2021, 184 : 785 - 790
  • [50] 3S-NET: ARBITRARY SEMANTIC-AWARE STYLE TRANSFER WITH CONTROLLABLE ROI CHOICE
    Guo, Bingqing
    Hao, Pengwei
    2021 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2021, : 2408 - 2412