返回
Leveraging WebAssembly for Numerical JavaScript Code Virtualization
DOI:10.1109/ACCESS.2019.2953511.png)
摘要
En 中文
Code obfuscation built upon code virtualization technology is one of the viable means for protecting sensitive algorithms and data against code reverse engineering attacks. Code virtualization has been successfully applied to programming languages like C, C++, and Java. However, it remains an outstanding challenge to apply this promising technique to JavaScript, a popular web programming language. This is primarily due to the open visibility of JavaScript code and the expensive runtime overhead associated with code virtualization. This paper presents JSPro, a novel code virtualization system for JavaScript. JSPro is the first JavaScript code obfuscation tool that builds upon the emerging WebAssembly language standard. It is designed to provide more secure code protection but without incurring a significant runtime penalty, explicitly targeting numerical JavaScript kernels. We achieve this by first automatically translating the target JavaScript code into WebAssembly and then performing code obfuscation on the compiled WebAssembly binary. Our design has two advantages over existing solutions: (1) it increases the code reverse entering complexity by implementing code obfuscation at a lower binary level and (2) it significantly reduces the performance impact of code virtualization over the native JavaScript code by using the performance-tuned WebAssembly language. We evaluate JSPro on a set of numerical JavaScript algorithms widely used in many applications. To test the performance, we apply JSPro to four mainstream web browsers running on three distinct mobile devices. Compared to state-of-the-art JavaScript obfuscation tools, JSPro not only provides stronger protection but also reduces the runtime overhead by at least 15% (up to 38.2%) and the code size by 28.2% on average.
Keyword:
Code obfuscation
javascript
webassembly
security
performance
期刊
IF:
3.6
论文数:
10.1W
被引数:
36.3W
机构
引用论文
Mental Health Smartphone Apps: Review and Evidence-Based Recommendations for Future Developments精神卫生智能手机应用程序: 对未来发展的审查和基于证据的建议
Enhance virtual-machine-based code obfuscation security through dynamic bytecode scheduling通过动态字节码调度增强基于虚拟机的代码混淆安全性
COMPUTERS & SECURITY
IF5.4
The corrosion behaviors of multilayer diamond-like carbon coatings: influence of deposition periods and corrosive medium
RSC Advances
IF0

