Research and Implementation of Code Obfuscation in Java Software Protection

Author
HuoJianLei
Advisor
FanXunLi
School
Northwestern University
Major
Applied Computer Technology
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2009
Downloads
261
Citations
4

Request the full text

Abstract

There is an urgent need for effective ways to protect the Java software, because the Java program can be easily de-compiled and reverse engineering, which makes the protection of intellectual property and confidential information in the no confidence environment be not very difficult to steal. Now obfuscating the Java code is one of the most practical solutions to protect the Java software. The obfuscation of a program involves transforming the code of the program into more complex, but semantically equivalent representation. At present, the code obfuscation research focuses on control flow and data flow obfuscation, the two obfuscation technologies really improve the complexity of the program and anti-attack capability, but the implementation of the two technologies increases the program’s produce time and space overhead for a price, and sometimes the cost of such program can cause normal operation of the program.To overcome the drawbacks of current obfuscation technologies, this paper studies the identifier renaming obfuscation technology, and implements a Java software obfuscator for the purpose of protecting the Java software, enhancing the complexity of the program and the capability of anti-attack and not increasing the additional executing expenses of the program. The main work of this paper is as following:1. The paper introduces the Java class file, the code obfuscation technology and its research status. Also the paper studies the classification and comparison for the existing code obfuscation technologies in detail. To overcome the drawbacks of the control flow obfuscation and data flow obfuscation, the paper proposes four identifier renaming algorithms, which are the overusing identifiers, overloading unrelated methods, introducing illegal identifiers, and overriding static methods. The paper also analyzes the extract executing cost of the four algorithms.2. The paper designs and implements a Java software obfuscator—JIRO (Java Identifier Renaming Obfuscator). The main functions of the obfuscator are code optimization and code obfuscation. The key technologies of the obfuscation function module are the four-identifier renaming algorithms proposed in the paper.3. In the paper, a large number of tests are made on the JIRO, and the paper analyzes the function of the JIRO, which is combined with the tests of the correctness, the potency, and the resilience of the transformation from the obfuscation. According to the test result, the paper analyzes the impact of the executing cost for the JIRO. The paper also analyzes the application of JIRO. The work of thesis shows that the JIRO, which based on the identifier renaming technology, can confuse the Java program with good effect, while it does not increase the executing cost. So JIRO can effectively protect the Java Software.

Related dissertations

  1. The Techniques Research of the Code Obfuscation Based on Control Flow Transformation
    WangRui ·University of North ·2014 ·Master's thesis
  2. Research on Binary Code Path Obfuscation
    WangZhi ·Nankai University ·2012 ·Doctoral dissertation
  3. The Design and Implementation of Binary Code Obfuscation Method Based on Metamorphic Engine
    JiangHe ·Northwestern University ·2012 ·Master's thesis
  4. The Research of the Intermediate Code Obfuscation Techniques Based on Microsoft COFF Platform
    SiSi ·Guangdong University of Technology ·2013 ·Master's thesis
  5. Research of Software Protection Based on Binary Code Obfuscation
  6. Research on Key Technologies of BIOS Trapdoor
  7. Research on Control Flow Obfuscation Technology Based on Binary Code
  8. The Research and Application of Opaque Predicates Based on Chaos Theory
  9. Mobile Code Protection Against Malicious Hosts
    WuJianJun ·Zhejiang University ·2004 ·Doctoral dissertation
  10. Key Techniques and Application for Embedded Software Protection
    LuXiaoCheng ·Wuhan University of Technology ·2011 ·Doctoral dissertation
  11. Protection for Intellectual Property in Remote-Sensing Software and Digital Remote-Sensing Imagery Copyright
    FuJianJing ·Zhejiang University ·2012 ·Doctoral dissertation
  12. Object code based on Windows platform confusion
  13. Research on Code Obfuscation in the Security of Mobile Computing
    ZhuZhengPing ·Guangxi University ·2006 ·Master's thesis
  14. Code Obfuscation for Software Protection
    YangLe ·Jiangxi Normal University ·2008 ·Master's thesis
  15. On Code Obfuscation Technology and the Applying to Software Security Protection
  16. Research based on JAVA code confusion
  17. Research of Software Protection Based on Data Obfuscation
    YaoQin ·Wuhan University of Technology ·2010 ·Master's thesis
  18. Based control flow obfuscation algorithms flat Research and Implementation
    HangJiChun ·Northwestern University ·2010 ·Master's thesis
  19. Research of Code Obfuscation Technology for Java Program
    GuoYuJie ·Jiangsu University ·2010 ·Master's thesis
  20. Design and implementation of software watermarking scheme based on code obfuscation
    ChenLiang ·Jiangxi University of Technology ·2010 ·Master's thesis