Obfuscation-Resilient Purpose Identification for WebAssembly Functions
Yang Zhang, Lewei Jin, Yi Gao, Wei Dong
Key points
From the paper's conclusion- We construct a dataset of 27,751 WebAssembly files sourced from real-world web deployments and open-source repositories, and apply multiple binary-level obfuscation techniques, categorizing the functions into 685 semantic labels.
Abstract
WebAssembly (Wasm) has emerged as a widely adopted binary instruction format that enables applications to run across diverse platforms with near-native performance. However, its compact and low-level structure makes it difficult to interpret. It is essential to identify the purpose of functions within WebAssembly binaries for both functionality understanding and security analysis. Developers often need to understand the functionality of obfuscated third-party WebAssembly modules, and attackers may employ obfuscation to conceal malicious applications. Identifying the intent of WebAssembly functions becomes more challenging when the binaries are obfuscated, as obfuscation techniques transform the code structure and logic. To address this challenge, we propose WASMOP, an obfuscation-resilient WebAssembly function classification framework, where functions are classified into semantic label categories serving as abstractions for function purpose. WASMOP utilizes Instruction Transition Matrices (ITMs) to extract features that are robust to obfuscation, which captures the contextual relationships between instructions. By analyzing WebAssembly files before and after obfuscation, it extract those semantic-related instruction transition patterns as features. We construct a dataset of 27,751 WebAssembly files sourced from real-world web deployments and open-source repositories, and apply multiple binary-level obfuscation techniques, categorizing the functions into 685 semantic labels. Our experiments show that WASMOP outperforms the state-of-the-art method by 15.4% on original binaries and by up to 29.8% under obfuscation, illustrating that our approach is effective at identifying function purposes in obfuscated WebAssembly binaries.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- WADE: An LSTM-Based Anomaly Detection Engine for WebAssembly ApplicationsarXiv · 2026
- E2WR: An Effective and Efficient Reduction Framework for WebAssembly BinariesProceedings of the ACM on Software Engineering · 2026
- SymWeb: Feedback-Driven Context Exploration and Context-Aware Symbolic Execution for Browser-Embedded WebAssembly Vulnerability DetectionProceedings of the ACM on Software Engineering · 2026
- WASCII: Bridging WebAssembly Specifications and Implementations through LLM-Enhanced ValidationProceedings of the ACM on Software Engineering · 2026
- WITFuzz: Validity-Preserving Greybox Fuzzing for WebAssembly Interface Type Binding GeneratorsProceedings of the ACM on Software Engineering · 2026
- Detecting Vulnerabilities in EOSIO Smart Contracts via Joint Static and Dynamic Feature LearningACM Transactions on Software Engineering and Methodology · 2026