Font Size: a A A

The Study And Implementation Of JavaScript Code Virtualization Protection Based On WebAssembly

Posted on:2019-04-18Degree:MasterType:Thesis
Country:ChinaCandidate:K Y KuangFull Text:PDF
GTID:2428330545959337Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the improvement of network and browser performance,the Web Java Script applications are becoming more and more diversity,and their execution capabilities and performance enhancements have also made more important logic from the back-end to the front-end.At the same time,it also means that the work that Java Script undertakes is becoming more and more important,and its own security issues and requirements are all the more urgent.In the source code transmission Web environment,how to ensure the security of Java Script application code and prevent it from being maliciously analyzed and utilized is crucial to protecting the rights of network service providers.The current mainstream Java Script code protection measures are mainly streamlined,encrypted,and obfuscated.The features of Java Script source code transfer make it easier to reverse analyze than traditional compiled binary applications.Coupled with the function of browser debugger getting the better and better,these protection methods are difficult to play a very good protection effect.In order to solve the flaws in the above methods and protect the key Java Script logic from being maliciously analyzed and used,this paper presents a Web Assembly-based Java Script code virtualization protection method called JSVMP(Virtual Machine based code Protection for Java Script).On the one hand,Introduce the idea of code virtualization to protect the execution logic of Java Script code,on the other hand,the virtual interpreter is implemented based on Web Assembly technology,and the core logic of the virtual machine is hidden by compiling.The main research work of this thesis is summarized as follows:(1)Provides a detailed analysis of the mainstream Java Script code protection methods and analyzes their basic principles,technical characteristics,and security challenges.Present a Java Script code protection scheme based on the idea of code virtualization protection.(2)Design a virtualization protection scheme for Java Script code.Analyze and introduce design details such as instruction splitting,virtual machine architecture,virtual instruction set,virtual interpreter,and instruction mapping encoding rules.(3)Design and implement a virtual interpreter based on Web Assembly,using the new Web Assembly technology to improve the design and compilation of the virtual interpreter,to protect the core modules of the virtual machine architecture.(4)Implement the JSVMP prototype system,and select the practical application and a variety of protection tools to evaluate the prototype system to verify the practicability and effectiveness of the proposed method.
Keywords/Search Tags:JavaScript code protection, Code virtualization protection, Instruction splitting, Virtual interpreter, WebAssembly
PDF Full Text Request
Related items