Protect Software Using Obfuscation Techniques
- Author
- SongYaQi
- Advisor
- FangDingYi
- School
- Northwestern University
- Major
- Computer Applications
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 382
- Citations
- 25
Abstract
In distributed computing surroundings, a software may be deployed on several computers which can not be trusted . In malicious host surroundings ,a software can be reverse engineered and also can be tampered with. The confidentiality, integrality and availability of software are threatened, so convenient and effective methods are needed to protect the intellectual property contained in software. Code obfuscation transformation emerges as a defense technique to protect software form reverse engineering. The advent and widely use of Java language brings the widely research on code obfuscation because the class file is easy to be decompiled.In the thesis, reverse engineering and code obfuscation are both studied and a tool for both parse and obfuscation of Java bytecode is presented and discussed.Main contributions in the thesis are:1. Analysis of attacks of malicious host including reverse engineering, tamper, and corresponding defense methods such as code obfuscation, tamper resistance, software watermark and time-limiting schemes. Design of a model for general protecting software covering with confidentiality, integrality, availability and authentication of software .2. Design and implementation of a tool for code obfuscation. Evaluation of the effectiveness and performance overhead by obfuscation transformation is given. Effects on obfuscation by Java run-time surroundings are discussed. The implemented obfuscation method includes: control flow flatten, indirection to control branching, class coalescing and type hiding.3. Design and implementation of a tool for automatic constructing the Control Flow Graph of a method. Analysis of reverse engineering including static analysis and dynamic analysis.4. Design and implementation of a tool for both parse and obfuscation of Java bytecode(JBPOT) which help researchers investigate techniques of protecting software from both defense and attack.
Table of contents
Chapter 1 Introduction 10-14
1.1 research background and significance 10-11
1.2 obfuscation current research status 11-12
1.3 The main contents 12-13
1.4 This article structure and arrangement of the chapters 13-14
Chapter 2 malicious host environment attack and defense 14-22
2.1 application security 14-15
2.2 software threat model 15-16
2.2.1 What is the threat model 15
2.2.2 Three basic threat model 15-16
2.3 host malicious attacks 16-17
2.3.1 malicious hosts attacks assumption 16
2.3.2 attack classification 16-17
2.4 defensive measures 17-19
2.4.1 tamper resist 18
2.4.2 software diversity 18
2.4.3 software watermarking 18-19
2.5 universal software protection model 19-21
2.5.1 Model design goals 19
2.5.2 Model design ideas 19-21
2.6 Summary 21-22
Chapter 3, code obfuscation techniques 22-46
3.1 Overview 22-23
3.2 Java Virtual Machine and class files 23-26
3.2.1 Java class file format 24-25
3.2.2 bytecode instruction set 25-26
3.3 Java Runtime Environment on the confusion of 26-27
3.3.1 Java virtual machine characteristics 26-27
3.3.2 JVM class files built static safety inspector 27
3.4 Control flow obfuscation 27-39
3.4.1 The overall restructuring program control structure 28-34
3.4.2 basic block confusion 34-35
3.4.3 hidden variables used to control the conversion of short 35-39
3.5 data structure confusion 39-43
3.5.1 Class merger 40-42
3.5.2 Type hiding 42-43
3.6 confused with object-oriented program transformation model 43-45
3.6.1 Model design goals 43
3.6.2 Model design ideas 43-45
3.7 Summary 45-46
Chapter 4 reverse engineering 46-52
4.1 Overview 46-49
4.1.1 Reverse engineering concepts and classification 46-47
4.1.2 Static analysis techniques 47-48
4.1.3 Dynamic analysis techniques 48-49
4.2 Control Flow (CFG) automatic generation 49-51
4.3 Summary 51-52
Chapter 5 Analysis of Java byte code obfuscation tool design and implementation 52-62
5.1 JBPOT design 52-53
5.2 JBPOT user interface 53-54
5.3 JBPOT system architecture 54-55
5.4 core algorithm 55-61
5.4.1 CFG generation algorithm 55-59
5.4.2 reconstruction process overall control structure algorithms 59-60
5.4.3 Class merging algorithm 60-61
5.4.4 Type hiding algorithm 61
5.5 Summary 61-62
Chapter 6 System Evaluation and testing analysis 62-68
6.1 confuse conversion correctness evaluation 62
6.2 conversion performance caused confusion overload 62-65
6.2.1 Control flow obfuscation convert the program performance 63-65
6.2.2 Class and type of merger hide the program performance 65
6.3 confuse conversion effectiveness 65-67
6.4 Summary 67-68
Chapter 7 Summary and Outlook 68-69
References 69-72
Thanks 72
Related dissertations
- Research of Software Protection on Android Platform
- Reflection of intellectual property protection of computer software and beyond
- Protection Algorithms and Implementation of MSIL Code and Native Code
- Code Obfuscation for Software Protection
- Analysis of Mechanism and Affection Factors for FDI Technology Spillovers
- Study on Three-Dimensional Digital Measurement Technology Based on Reverse Engineering
- Research on Data Preprocessing Algorithms in Reverse Engineering and Its Software Implementation
- Design and Implementation of Surface Detection Platform Based on Fiber Optic Displacement Sensor
- Research of Triangle Mesh Model Data Processing Technology Based on Mixed Blend Feature in Reverse Engineering
- Research on the Key Technologies for Surface Reconstruction from Discrete Point Cloud
- Point Cloud Reconstruction Based on Intelligent Optimization
- Research on Key Technologies of CMM and Line Structured Light Vision Sensor Integrated Reverse Engineering System
- Research on the Key Technologies of Point Model Process with Primitive Geometry
- Based on the Atos Profiled Morphorpholgy Detection and Reverse Technology Research
- Research on Binary Code Path Obfuscation
- Research and Implemention of Software Copyright Protection
- A Study of Static Malicious Code Detection Method Based on Opcode Sequneces
- Research of Mac OS X Endpoint Data Leak Prevention
- Engine Bonnet's Model Reconstruction and Pedestrian Protection's Research Based on the Reverse Engineering
- The Car of Pedal Bracket as the Representative of Complex Workpiece on Reverse Engineering