Affiliation:
1. Department of Computer Science, Norwegian University of Science and Technology, 7034 Trondheim, Norway
Abstract
WebAssembly is a low-level bytecode language that enables high-level languages like C, C++, and Rust to be executed in the browser at near-native performance. In recent years, WebAssembly has gained widespread adoption and is now natively supported by all modern browsers. Despite its benefits, WebAssembly has introduced significant security challenges, primarily due to vulnerabilities inherited from memory-unsafe source languages. Moreover, the use of WebAssembly extends beyond traditional web applications to smart contracts on blockchain platforms, where vulnerabilities have led to significant financial losses. WebAssembly has also been used for malicious purposes, like cryptojacking, where website visitors’ hardware resources are used for crypto mining without their consent. To address these issues, several analysis techniques for WebAssembly binaries have been proposed. This paper presents a systematic review of these analysis techniques, focusing on vulnerability analysis, cryptojacking detection, and smart contract security. The analysis techniques are categorized into static, dynamic, and hybrid methods, evaluating their strengths and weaknesses based on quantitative data. Our findings reveal that static techniques are efficient but may struggle with complex binaries, while dynamic techniques offer better detection at the cost of increased overhead. Hybrid approaches, which merge the strengths of static and dynamic methods, are not extensively used in the literature and emerge as a promising direction for future research. Lastly, this paper identifies potential future research directions based on the state of the current literature.
Reference81 articles.
1. (2022, November 04). w3Techs. Usage Statistics of JavaScript as Client-Side Programming Language on Websites. Available online: https://w3techs.com/technologies/details/cp-javascript.
2. (2022, November 04). Contributors to Wikimedia Projects. ActiveX-Wikipedia. Available online: https://en.wikipedia.org/wiki/ActiveX.
3. (2022, November 04). Google. Native Client-Chrome Developers. Available online: https://developer.chrome.com/docs/native-client.
4. (2022, November 04). mdn web docs. asm.js-Game Development | MDN. Available online: https://developer.mozilla.org/en-US/docs/Games/Tools/asm.js?source=post_page.
5. (2022, November 12). Can I Use WebAssembly | Can I Use… Support Tables for HTML5, CSS3, etc. Available online: https://caniuse.com/wasm.