WasmChecker: Effectively Detecting WebAssembly Bugs via Static Program Analysis

WebAssembly, a new binary instruction set, has rapidly gained popularity across fields such as blockchain, edge computing, and cloud computing due to its efficiency, security, and portability. However, recent research has identified limitations in WebAssembly’s type system and linear memory design, leading to security issues such as integer overflows and memory safety vulnerabilities.In this paper, we present WasmChecker, the first static analysis approach for WebAssembly programs based on abstract interpretation. WasmChecker consists of three components: a frontend module for parsing and constructing control flow graphs, a static analysis module for iterative state analysis, and a vulnerability filtering module to identify security flaws. We design and implement a software prototype and conduct extensive evaluations. Experiments demonstrate WasmChecker’s effectiveness, achieving a 97.33% recall in a small dataset and accurately identifying 46 vulnerabilities across four real-world datasets, with a 92% recall rate. Additionally, WasmChecker shows high efficiency, with an average runtime of 13.85 seconds on WebAssembly programs smaller than 1 MB.

Authors

Institutions

Publication Details

Published
2024-10-25
DOI
https://doi.org/10.1109/icemce64157.2024.10861926
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

WasmChecker: Effectively Detecting WebAssembly Bugs via Static Program Analysis

Baojian Hua, Hao Jiang, J. Zhuang
Advanced Malware Detection Techniques
article

WasmChecker: Effectively Detecting WebAssembly Bugs via Static Program Analysis

Baojian Hua, Hao Jiang, J. Zhuang
article en

Abstract

WebAssembly, a new binary instruction set, has rapidly gained popularity across fields such as blockchain, edge computing, and cloud computing due to its efficiency, security, and portability. However, recent research has identified limitations in WebAssembly’s type system and linear memory design, leading to security issues such as integer overflows and memory safety vulnerabilities.In this paper, we present WasmChecker, the first static analysis approach for WebAssembly programs based on abstract interpretation. WasmChecker consists of three components: a frontend module for parsing and constructing control flow graphs, a static analysis module for iterative state analysis, and a vulnerability filtering module to identify security flaws. We design and implement a software prototype and conduct extensive evaluations. Experiments demonstrate WasmChecker’s effectiveness, achieving a 97.33% recall in a small dataset and accurately identifying 46 vulnerabilities across four real-world datasets, with a 92% recall rate. Additionally, WasmChecker shows high efficiency, with an average runtime of 13.85 seconds on WebAssembly programs smaller than 1 MB.

University of Science and Technology of China (CN), Suzhou University of Science and Technology (CN)
Openalex Percentile: Top 70%
Advanced Malware Detection Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.