IAT encryption packed program of study
- Author
- QinJie
- Advisor
- RenLiYong
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 179
- Citations
- 0
Abstract
Software protection aspects of software development can not be ignored, to face many reverse engineer software release, plus a layer of the shell to be released software now become almost a necessary step for the protection of software, packers software The purpose is to hinder its reverse analysis software put a layer of \Existing shell is mainly used for the environment protection Win32 executable, dynamic link library, driver PE file format, the PE file header contains a lot of important information, in order to minimize exposure in front of the reverser information packed program usually need to generate the PE file header, and simulate the operating system to be loaded on the program are protected. After packers protection program analysis, reverse engineer will use a variety of dynamic and static reverse analysis tool, you need to shell to add some anti-reverse means to increase their difficulty. Shell protection software itself needs to be hidden, common shell identification tool uses signature detection, shell polymorphic techniques against signature detection is the process of preparing the exe an important step. This paper first discusses the importance of the development of software protection technology and software packed, to clarify the characteristics and practical value of the research topic; then packed program to develop the necessary foundation knowledge and critical technology needs theory comprehensive introduction; shell core technology, anti-debugging, it directly affects the protection strength of the shell, the high strength of the shell is usually because of undisclosed private means of anti-debugging, the rest of this article through reverse tracking several renowned protective shell to expose the anti-debugging means they use of their respective advantages and disadvantages and gives some suggestions IAT encryption part of the shell completely analog system API ideological; Finally, on BPE32 a detailed study of the polymorphic engine source code, build a shell micro-deformation engine framework and the relevant part of the code, the heuristic and confrontation polymorphic code emulation detection technology is introduced, summed up the breakthrough methods and code. This paper analyzes the renowned anti-debugging shell finishing function code can be used directly in the packed program developers choose to use in practical applications can be flexible depending on the situation after expanded; achieve polymorphic engine framework can also be used in the actual development.
Table of contents
Summary 4-5
ABSTRACT 5-9
Chapter Introduction 9-17
1.1 computer software protection technology development 9-13
1.1.1 hardware-based protection the 9-10
1.1.2 software-based protection methods 10-13
1.2 runtime packers status and development 13-15
1.3 This paper studies 15-17
the second chapter packers program basics Overview 17-31
2.1 recognize shell the 17-19 2.2 PE file format
19-25
2.2.1 PE file format overview 19-21
2.2.2 section of the PE file 21
2.2.3 Relative Virtual Address 21-22
2.2.4 data directory nbsp the; 22
2.2.5 import function 22
2.2.6 Export table the 2.2.7 Import Table 22-23
23-24
2.2.8 base relocations 24-25
2.2.9 debug directory 25
2.2.10 TLS initialization 25
2.3 PE file loading process 25 - 26
2.4 Structured exception handling 26-30
2.4.1 SEH process flow expand
2.4.2 SEH nesting and stacking 26-27 27-28
2.4.3 default the SEH handler 28
2.4.4 SEH 28-30
Chapter Summary 30 - 31
Chapter packed program of anti-debugging techniques 31-59
3.1 Introduction nbsp the 31
3.2 debugger detection technology; 31-47
3.2.1 Process Environment Block (PEB) debug flag the stack flag nbsp 32-33
3.2.2 Process Environment Block (PEB); 33-34
3.2.3 the debugger port Detection 34-35
the the 3.2.4 debugger interrupt detection 35-36
3.2.5 Time interval detection 36 - 37
the 3.2.6 debugger priorities detection 37-38
3.2.7 detection parent process 38-39
3.2.8 debugger object detection 39-40
3.2.9 debugger window Find 40-41
3.2.10 debugger process name lookup 41
3.2.11 debugger. equipment name lookup pages 41-42
the 3.2.12 OLLYDBG of, the protection detection of 42-43
3.2.13 a soft breakpoint detection 43-44
3.2.14 Hard breakpoint detection 44-46
3.2.15 completeness, check 46-47
3.2.16 INT 2D interrupt detection 47
the 3.3 debugger attack technology the 47-52
3.3.1 debugger throws an exception 47-48
3.3.2 Input lock 48-49
3.3.3 debugger hide thread 49-50
the 3.3.4 set UNHANDLED EXCEPTION the FILTER 50-51
3.3.5 OLLYDBG, format string vulnerability 51-52
3.4 Other common techniques 52-58
3.4.1 process injection 52-53
3.4.2 dual process 53
3.4.3 TLS callback function 53-54
3.4.4 entry point to steal code the 54-56 3.4.5 the IAT encryption
56-57
3.4.6 multithreading 57
3.4.7 virtual machine 57-58
Chapter Summary 58-59 <br / > Chapter polymorphic and confrontation heuristic code emulation detection technology 59-81
4.1 polymorphic technology 59-69
4.1.1 Introduction 59-61
4.1.2 random register selector the 61-63
4.1.3 random value selector 63-64
4.1.4 decoder Builder 64-67
4.1.5 garbage instruction generator the 67-69
4.2 against the heuristic code emulation detection techniques 69-79
4.2.1 Introduction 70-71
4.2.2 through instruction prefetch anti-tracking technology 71-73
4.2.3 by FPU means are found; 73-74
4.2.4 through INT means of 74-75
4.2.5 through INT 6 means are found; 75-76
4.2.6 initialized registers way 76-77
4.2.7 infinite loop 77-78
4.2.8 the SEH way 78
4.2.9 multithreading decryption 78
4.2.10 the analysis perform logical way 78-79
Chapter Summary 79-81
Chapter conclusions 81-82 < br /> Acknowledgements to References 82-83
83-86
research during the school 86-87
Related dissertations
- Research on software protection shell technology based on
- Design and Implementation of Mobile Game Forum Base on Discuz
- Research and Implemention of Software Copyright Protection
- The Study on Diallel Cross of Three Different Strains of Manlia Clam Ruditapes Philippinarum
- Reliability Analysis and Optimization Design of the Underwater Vehicle shell
- Research of Shell Surface Topography Based on Gauss Filter
- Microwave High-temperature Sintering of Shells and Its Comprehensive Processing Techniques
- Study and Development the Continuous Microwave Heating Equipment
- Nutrition Analysis and Fluoride Safety Preliminary Study of Antarctic Krill Head and Shell
- Research on the Separation of Zircon Sand (Power) from Shells of Investment Casting
- Applications of TRIZ in the Innovative Design of Injection Mold
- Software Protection Key Technology Research of Security Management System
- Research on Program Properties Based Java Static Software Birthmarking
- Study on evaluation method of effective attack modeling software based protection
- Research on Software Birthmark Selection
- The Design and Implementation of Product Evaluation Data Management System
- Software Protection System Based on Windows Kernel Technology
- Software Protection System Design Based on Anti-tracking and Self Modifying-code Technology
- The Research and Realization of Cloud Licensing Protection Model for.NET Software
- The Research and Apply of Program Protection Technique