arrow
返回

Leveraging WebAssembly for Numerical JavaScript Code Virtualization

delete2019-01-01
delete0
PRE
AI
S
Shuai Wang
G
G. Ye
M
Meng Li
L
Lu Yuan
Z
Zhanyong Tang
H
Huanting Wang
W
Wei Wang
王
王富伟 (Fuwei Wang) *
任
任杰 (Jie Ren)
D
Dingyi Fang
Z
Zheng Wang
DOI:10.1109/ACCESS.2019.2953511delete
delete原文链接
delete分享
delete收藏
摘要

摘要

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
JavaScript Dead Code Identification, Elimination, and Empirical AssessmentJavaScript死代码识别、消除和实证评估
err2023-07-01
err5
errOAAI
errMalavolta, Ivano; Nirghin, Kishan; Scoccia, Gian Luca; Romano, Simone; Lombardi, Salvatore; Scanniello, Giuseppe; Lago, Patricia
err分享
err收藏
An Investigation of confusing code patterns in JavaScriptJavaScript中混淆代码模式的调查
err2023-09-01
err2
errOAAI
errTorres, Adriano; Oliveira, Caio; Okimoto, Marcio; Marcilio, Diego; Queiroga, Pedro; Castor, Fernando; Bonifacio, Rodrigo; Canedo, Edna Dias; Ribeiro, Marcio; Monteiro, Eduardo
err分享
err收藏

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
10.1W
被引数:
36.3W

机构

N
northwest university xi'an
学者数:
555
论文数: 394
被引数: 8.3K
L
lancaster university
学者数:
680
论文数: 359
被引数: 8.5K
引用论文

引用论文

Code Manipulation for Virtual Platform Integration
err2016-09-01
err20
errOAAI
errVinco, Sara; Guarnieri, Valerio; Fummi, Franco
err分享
err收藏
Disorder-specific versus transdiagnostic and clinician-guided versus self-guided treatment for major depressive disorder and comorbid anxiety disorders: A randomized controlled trial
err2015-10-01
err0
errOAAI
errN. Titov; B.F. Dear; L.G. Staples; M.D. Terides; E. Karin; J. Sheehan; L. Johnston; M. Gandy; V.J. Fogliati; B.M. Wootton; P.M. McEvoy
err分享
err收藏
Tunneling through a controllable vacuum gap
err1982-01-15
err0
errOAAI
errG. Binnig; H. Rohrer; Ch. Gerber; E. Weibel
err分享
err收藏
err分享
err收藏
err分享
err收藏
Visualization of intra-thalamic nuclei with optimized white-matter-nulled MPRAGE at 7T
err2014-01-01
err0
errOAAI
errThomas Tourdias; Manojkumar Saranathan; Ives R. Levesque; Jason Su; Brian K. Rutt
err分享
err收藏
Static code analysis
err2006-07-01
err83
PREAI
errLouridas, P
err分享
err收藏
学者 查看更多内容