Polymorphic Algorithm of JavaScript Code Protection

As a common language in the Web sites, JavaScript helps to make various dynamic Web pages. But it¿s more difficult to protect JavaScript source codes than to protect Java or C/C++ programs, because JavaScript codes can¿t be compiled into byte or binary codes. This paper discusses the obfuscation method to protect source codes of script languages like JavaScript, and provides a algorithm by using the reference design of the polymorphic viruses to make the random encryption. This algorithm named ¿parhelion¿ has been applied to a set of software of Web page encryption, and a Web-based information security system. The paper also gives the examples to show the effect of the protection.

[1]  J.A. Adam Data security-threats and countermeasures , 1992, IEEE Spectrum.

[2]  Vladimir Cretu,et al.  Threats and Countermeasures in GSM Networks , 2006, J. Networks.

[3]  Ting-Wei Hou,et al.  Three control flow obfuscation methods for Java software , 2006, IEE Proc. Softw..

[4]  Laurie J. Hendren,et al.  Metrics for Measuring the Effectiveness of Decompilers and Obfuscators , 2007, 15th IEEE International Conference on Program Comprehension (ICPC '07).

[5]  Laurie J. Hendren,et al.  Programmer-friendly Decompiled Java , 2006, 14th IEEE International Conference on Program Comprehension (ICPC'06).