Java Software Protection Research and Realization

Author
WangFei
Advisor
DingJinKou
School
Beijing University of Posts and Telecommunications
Major
Cryptography
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
248
Citations
8

Request the full text

Abstract

With the rapid development and progress of computer technology, software has been widely used in every vocation and domain, and has changed the working and living ways deeply. Software is the agglomeration of software engineers’ intelligence and has a great value. If the pirates and competitors get the core technologies of software, it will be a great loss to software company and software engineers.Java language has been welcomed by many famous companies, it takes a revolution and has changed the mode of software development. Nowadays, Java has been widely used in every domain of software development. Java has the agility that can be used in different running environment and it comes from the particular compile mode. Compiling the Java source code will generate Java class file that oriented Java virtual machine not binary file that oriented processor. Class file is a kind of formatted mid-code that saves a lot of messages of source code. With these messages, it is easy to decompile class file to get the source code. The source codes that decompile from Java class file have good qualities that reveal the software engineers’ thoughts. Therefore, the software that developed with Java language orients a great risk of knowledge right protection.These years, many companies and Java developers have researched the structure of Java class file and the Java virtual machine. Many protection methods have been developed to protect Java software including native technology, source code separate technology, digital watermark technology, code confusion technology. These methods can protect Java software in some degree, but they all have some localizations and disadvantages.Based on these conditions, this paper focuses on the Java class load system and combine it with the cipher technology, secret sharing scheme and information hide technology. This paper brings forward a new method to protect the Java software, that called encrypting class file protection scheme. The encrypting class file protection scheme is designed by the following thought:(1) Encrypt the class file to protect Java software, the decompiler can’t decompile the encrypted class files. The key management is the core problem of this scheme, this paper combines secret sharing scheme and information hide technology to protect key.(2) How to load the encrypted class file is the other important problem. Considering the complexity of software application, Java language was designed allowing user to customize classloader. Customized classloader can perform some special operations, for example, downloading class file from Internet, validating the class file. This paper customizes a classloader called DecryptClassloader by which the encrypted class files can be decrypted.(3) The decrypt arithmetic and the key resume arithmetic can’t be encrypted, otherwise it will need some other arithmetics to decrypt them. These two arithmetics should be protected because they are the core content of this scheme. These two arithmetics are developed with C++ and compiled to dynamic link library. The decompiler can’t decompile the dll file and the dll file can be reinforced with executive file protection methods.This scheme has good security and can be generally used in all Java software, not only native application but also web application software. This scheme can reserve the agility of Java software. This scheme has been developed to a tool and the test data indicate this tool has a high efficiency. In conclusion, this paper gives a new thought of Java software protection.

Table of contents

Abstract 4-6 Abstract 6-10 The first chapter 10-13 1.1 research background and significance 10-11 1.2 this work and structural arrangements 11-13 Chapter basic knowledge of Java and Java software risks 13-23 2.1 Java Overview 13-16 2.1.1 Java features 13-15 2.1.2 Java development 15-16 2.2 Java programs compile and run 16-17 2.2.1 Java programs compiled 16 2.2.2 Java program running 16-17 2.3 Java class files and bytecode 17-21 2.3.1 Java class files and their format 17-20 2.3.2 Java bytecode 20-21 2.4 Java software risks 21-23 Chapter III Java software protection technology research 23-36 3.1 localization technology 23-24 3.2 remote interface to access technical 24-25 3.3 software digital watermarking technology 25-30 3.3.1 software, the basic concepts of digital watermarking 25-26 3.3.2 software uses digital watermarking 26-27 3.3.3 software digital watermarking should have the nature 27-28 3.3.4 software digital watermarking classification 28-30 3.3.5 software digital watermarking insufficient 30 3.4 obfuscation 30-36 3.4.1 confuse the definition 30-31 3.4.2 confusing technical details 31-34 3.4.3 confusing technical problems 34-36 Chapter encryption class file protection principles and design 36-50 4.1 of the problem 36-37 4.2 feasibility 37-38 4.3 Overview of the program 38-40 4.4 key protection 40-42 4.4.1 key attacks and protect 40-41 4.4.2 Shamir algorithm 41-42 4.5 encryption class file loading 42-48 4.5.1 Java's class loading mechanism 42-45 4.5.2 custom startup program 45-46 4.5.3 Web application protection 46-48 4.6 Chapter Summary 48-50 Chapter program implementation and effectiveness analysis 50-58 5.1 system architecture design 50-51 5.2 core functions to achieve 51-53 5.2.1 key hidden realization 52 5.2.2 custom Classloader implementation 52-53 5.3 system safety analysis 53-54 5.4 system efficiency analysis 54-58 Chapter Summary and Outlook 58-60 Chapter References 60-62 Chapter VIII Acknowledgements 62

Related dissertations

  1. Recovery advanced control radar DSP program flow
    LiTao ·Northwestern University ·2012 ·Master's thesis
  2. Digital Watermarking Technology for Protecting the Copyright of Audio Aggregation and Authenticating the Integrity of Audio Aggregation
    LiJuan ·Ningbo University ·2012 ·Master's thesis
  3. Applications of the Secure Communication Scheme Based on the Bounded Storage Model
    ZhangZhenYu ·Lanzhou University ·2013 ·Master's thesis
  4. Secret Sharing Scheme and It’s Application in Signature
    WangHaiJiang ·Zhengzhou University ·2013 ·Master's thesis
  5. Analysis and Design for Cryptographic Technique Based on Error Correcting Codes
    ZhangYing ·Dalian Maritime University ·2010 ·Doctoral dissertation
  6. Research on Error-correcting Code and Its Application
  7. Research and Implementation on Key Technology for Processing Branch Instructions in Decompilation
  8. Multi-platform Supported Reverse Analyze System
    NiXiaoHui ·Zhejiang University ·2007 ·Master's thesis
  9. Threshold cryptography and its application on the DSP
    LiuPengTao ·Shandong University ·2006 ·Master's thesis
  10. SmartASM: collaborative analysis tools for embedded systems target code
    LiJiang ·Zhejiang University ·2006 ·Master's thesis
  11. Cryptography Algorithms in Secure Electronic Voting
    HeLiLi ·Southwest Jiaotong University ·2005 ·Master's thesis
  12. The probability of an arbitrary three-particle state teleportation and quantum secret sharing between multi-
    DengXiaoRan ·Hebei Normal ·2005 ·Master's thesis
  13. Decompilation of Executive Program
  14. The Key Technology Research and Implemention of Decompiler C-Decompiler
    ChenGengBiao ·Shanghai Jiaotong University ·2010 ·Master's thesis
  15. Network coding and secret sharing scheme
    MaZuoYu ·Yangzhou University ·2009 ·Master's thesis
  16. Decompilation Research Based on Dynamic Binary Translation
    ZhangBaiNian ·Shanghai Jiaotong University ·2008 ·Master's thesis
  17. A Secret Sharing Scheme and a Ring Signature Based on the Trapdoor One-Way Function
    HuangKeHua ·Xiamen University ·2008 ·Master's thesis
  18. Threshold Secret Sharing Scheme and Its Application in Digital Signature
    LiYiZhen ·Huaibei Normal ·2010 ·Master's thesis
  19. Research on the Model Design of Obfuscator Based on Java Language
    WangYingZhan ·Shaanxi Normal University ·2010 ·Master's thesis
  20. Constructions of Visual Cryptography Schemes with the Applications
    XuZuJuan ·Zhengzhou University ·2011 ·Master's thesis