The Research and Apply of Program Protection Technique
- Author
- TianHaiQing
- Advisor
- HeXingGao
- School
- University of Electronic Science and Technology
- Major
- Information and Communication Engineering
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 14
- Citations
- 0
Abstract
Software as a form of computer data, can be arbitraily used by copy, duplicate, etc.The use of unauthorized software can bring economic loss to society, so before releaseof the software, software protection is a necessary stage. In software protection, mostare suitable for the PE format executable file, from the file structures and executioncharacteristics for protection. The main purpose of the software protection is to hinderPE debugger to debug, handicap the malicious user, reverser analysis program algorithmand organizational structure, etc.Shell Protection technology is processing the whole code and data to encryption,compression, and then add a new section “shell Section”, which is used to save Shellcode and key data, etc. There are many unsafe factors in the packers’s protectiontechnology, shell information obvious, after the recovery process, the code and datastored in the clear form, import table is too obvious and so on.This thesis is aiming at analysing the shortcomings of the shell protection software,and then put forward the improvement scheme to increase software protection efforts.This thesis proposes a new protection model, which is to protect the obj files. The newprotection model has a detailed research for the protection technology of the PE and objfile. The protection software is protected from the cost of the debugging and the reverseengineering. In this thesis, the main research content as follows:1. Research the executable file formats, obj file format and their execution processon Windows platform. Research the menthod and the matters needing attention ofgenerated PE file and obj file format.2. Research and apply software encryption and compression technology. In thesystem, use polymorphic encryption engine and random password. Add hardwareencryption mechanism to encrypt the software, such as making U disk serial number asthe encrypted keys. Choose a variety of compression algorithm to protect program. Thegood compression algorithm can improve the efficiency of program running andprotection. 3. Improvement of shell protection technology. Shell protection software generallyusing code, data, and resources as the basic units for encryption, compression, This wayof encryption is easy for malicious users to write scripts to crack, and eventually makesthe software to restore the original form. In order to have a better protection software,this thesis slices the code into smaller segments, and than encrypts and compresses thecode. Decrypting and decompressing the data when run the program.4. New protection model. Protect obj file, link protection obj files are generated toprotectd PE file. Protection measures can be used to the code and data of the obj file.Anti debugging and anti tracking technology integrated into the recover code. The newmodel can improve the protection code stability and improve the protection strength.
Table of contents
Summary 5-6
ABSTRACT 6-11
first chapter 11-18
1.1 the background 11-12
1.2 status and development trend of domestic 12-15
1.2.1 tamper-proof protection 13
1.2.2 anti-debugging techniques 13 - 14
1.2.3 software encryption technology 14
1.2.4 shell protection technology 14-15
1.2.5 software protection technology now defects 15
1.3 The main contents 15-16
1.3.1 PE file format and COFF file format 15
1.3.2 procedural protection technology research design and implementation of a comprehensive 15-16
1.3.3 saver 16
1.4 thesis structure 16-18
Chapter II software protection technologies 18-37
2.1 object file format and executable file format 18-28
2.1.1 COFF file format 18
2.1.2 COFF data structure and explain 18-20
2.1.3 PE file involves knowledge 20-21
2.1.4 PE data structures and explain 21-27 <br / > 2.1.5 to generate a PE file 27-28
2.2 software Protection compression technology 28-32
2.2.1 Huffman coding 29
2.2.2 software Protection compression engine 29-31
2.2.3 engine compression efficiency analysis 31-32
2.3 encryption algorithm introduced 32 - 34
introduction 2.4 shell protection software 34-36
2.4.1 yoda's crypt encryption shell 34
2.4.2 Aspack shell 34-35
2.4.3 UPX compressed shell 35-36
2.5 This chapter summarizes improved 36-37
Chapter shell software protection techniques and application of the new model shortcomings 37-64
3.1 shell software protection technology 37-40
3.2 shell software protection technology improvements 40-48
3.2.1 code section pretreatment program study 40-42
3.2.2 code section protection mechanisms 42-45
3.2.3 input Table Hide protected 45-47 <br / > 3.2.4 string Encryption Hide protected 47-48
3.3 software encryption technology to improve the protection of 48-51
3.3.1 hardware mechanism encryption scheme 48 -50
3.3.2 polymorphic encryption engine implementation 50-51
3.4 information Hiding strengthen software protection 51-53
3.4.1 Hide protected encrypted compressed information 51-52
3.4.2 data is stored separately from the Hide protected 52-53
3.4.3 spam implanted Hide protected 53
3.5 anti- debugging techniques to enhance software protection 53-58
3.5.1 confuse application protection 54-56
3.5.2 anti-debugging application protection 56-57 <br / > 3.5.3 application of anti- dump protection 57-58
3.6 , a new software protection model 58-63
3.6.1 obj file protection program 58 -60
3.6.2 obj protection processing technology protection 60-61
3.6.3 obj code section 61-62
3.6.4 obj data protection Day Research 62-63
3.7 Summary 63-64
Chapter IV protection system design and implementation 64-78
4.1 system design objectives and implementation 64-68
4.1.1 prevents normal debugger debugger 64-66
4.1.2 crack savers prevent tampering 66
4.1.3 prevent unauthorized copying program using 66-68
4.2 system Design and Implementation 68-70
4.2.1 hardware platform 68
4.2.2 software platform 68
4.2.3 general framework 68-70
4.3 main module design and implementation 70-77
4.3.1 obj protection model design and implementation 70-72
4.3.2 code section protection process design and implementation 72-74
4.3.3 Case Module design and Implementation 74-77
4.4 Summary 77-78
Chapter V system testing 78-88
5.1 enclosure module protection test 78-81
5.1.1 test Case anti- debugger 78-79
5.1.2 Case processing section header, enter table compares 79-80
5.1.3 Case handle compression test 80-81
5.2 PE protection processing module test code section 81
5.3 obj protection processing module test 81-83
5.4 total system Protection testing 83-86
5.4.1 preventing normal debugger disassembler 83-84
5.4.2 prevent dynamic debugger dynamic debugging 84 - 85
5.4.3 prevent copying using test 85-86
5.4.4 test procedures to prevent tampering 86
5.5 system suitability analysis 86 - 87
5.6 summary 87-88
Chapter VI summary and Outlook 88-90
Thanks 90-91
References made ??during the 91-94
attack Shuo research 94-95
Related dissertations
- A Realization of Backup Tool Based on Java
- Research on XML Compression and Revelant Data-processing Integration Solution in Mobile Commerce Environment
- Research for Secure Management of Electronic Document in Enterprise Information Integrated Platform
- Map data in the network distribution data compression and encryption of
- Design and Performance Optimization of Integrative Communication Network
- INTERNET pressure pipeline remote use registration system
- Research of120Emergency Vehicle Terminal Multi-channel Data Acquisition System Based on Beidou Navigation Satellite System
- The Multimedia Monitoring System of Gas Blackness
- Research and Implementation of Key Technology on Real-time Database System Called Vegebam2.1
- The Research of a Trusted Data Transmission Platform in A WAN Environment
- Design and Implementation of Shaanxi Women’s Hospital Remote Consultation
- Design and Implementation of Electronic Record System for Public Law Enforcement
- Design and Implementation of Online Stock Trading System
- Research on SOA-based Privacy Data Integration and Encryption Mechanisms in the Field of Telecommunications
- Multi-keyword Ranked Query Over Encrypted Data in Cloud Computing
- Research on Key Technology of Trusted Wireless Digital Image Acquisition and Transmission System
- A System of Remote Database Backup Based on UDP in Linux Environment
- Research and Design of Intelligent Home Control System Based on ZigBee Technology
- A Research on Biometric-based Security for Data Translated in Wireless Body Area Network(WBAN)
- Research on Key Issues for Testing Network on Chip