A Study on Packed Detection and Exuviate Based on Weighted Euclidean Distance
- Author
- HuangJianJun
- Advisor
- ChenQin
- School
- Hangzhou University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 46
- Citations
- 0
Abstract
The emergence of the shell, software protection has entered a new era. Packers technology has been widely used in software protection, reverse analysis software to decrypt and malware detection process, the software shelling has become a very important part of the software. The software shell detection is the premise of the shelling, it lay a solid foundation for subsequent shelling. At present, most of the more mature, wide application shell detection algorithm based on shell characteristics, through the establishment of the shell feature database query feature string file to be tested to determine whether the shell, but these algorithms can not detect the characteristic string other than the feature library, and easily deceived . In this paper, the focus on software the shell detection algorithm research. First, at home and abroad PE file shell detection, the status of shelling technology and related software, made an in-depth analysis of these technologies; focused on other related structures of the optional image header block, the input table, and resources, with a focus analysis of the PE file format. Secondly, in order to improve the detection rate, this PHAD using the shell detection techniques based on feature vectors, but Since eigenvectors PHAD not adequately reflect the characteristics of the packed file, the coupled vector, each element having the same weight, such that The false negative rate, the high rate of false positives. In this paper, these defects on the basis of the PHAD increase feature vector elements, the optimal sequence comparison method to determine the weight value, and with the right Euclidean distance calculation from the strategy, we propose a shell detection algorithm based on the Euclidean distance with the right . The algorithm determined by the threshold and shell detected two phases, the two phases prior to the implementation of the preparatory work should be carried out to determine whether the file to be tested to meet the PE file format and calculate the NCV of the file to be tested to the value. Determine the threshold stage the main task is to determine the threshold value, the value provided to the shell detection phase; the the shell detection phase threshold to determine whether the file to be tested packers. Experimental results show that the false negative rate and false alarm rate of the algorithm are PHAD 1/16 and 1/8, the shell detection accuracy has been increased by nearly 12%. Finally, the shell loaded with the implementation process analysis and research, one can effectively extract hidden information packers memory monitoring data acquisition algorithm, the algorithm can be the packers during program execution trace memory in the memory write data operation occurs collection packers need to write. Identified in the data acquisition algorithm based on test space, combined with the method of the shell detection algorithms and manual shelling ESP law, designed an original program entry point determination algorithm obtained packer entry point, and then perform the dump shelling operation is complete. The Papers in the PE file shelling research has a certain theoretical reference value and the actual value.
Table of contents
Abstract 5-6
ABSTRACT 6-10
Chapter 1 Introduction 10-18
1.1 Background 10 <br / > 1.2 at home and abroad to check a shell theory and corresponding tools 10-14
1.2.1 Feature-based shell string detection technology 11-13
1.2.2 Detection Based on Entropy shell Technical 13-14
1.2.3 Eigenvector-based shell detection technology 14
1.2.4 Other investigations Shell Tools 14
1.3 common Shelling technology 14-16
1.3.1 Tool shelling 14-15
1.3.2 Static and dynamic analysis techniques 15-16
1.3.3 PolyUnpack 16
1.4 The main contents and structure of the organization 16-18
Chapter 2 PE file basic format 18-35
2.1 MS-DOS Radical 19
2.2 IMAGE_NT_HEADERS head (PE file header) 19-22
2.3 SECTION (block) 22-25
2.3.1 Block Table 22-24
2.3.2 describe the various blocks 24-25
2.4 Import Table (input table) 25-27
2.5 Export Table (output table) 27-28
2.6 Resource (resource) 28-30
2.7 PE file format other related basic knowledge 30-32
2.7.1 block alignment 30
2.7.2 addresses several of the more important and conversion 30-31
2.7 .3 base relocations and base relocation table 31-32
2.8 PE document processing tool 32-35
2.8.1 OllyDbg 32 - 33
2.8.2 ImportREC 33-35
Chapter 3 of the distance based on weighted Euler PE file shell detection technology 35-46
3.1 nbsp packed files ; 35-37
3.1.1 The concept of shell types 35-36
3.1.2 original file with packed files 36-37
3.2 check shell software design and structural block diagram 37-38
3.3 PE file format detection module 38
3.4 vector module 38-40
3.4.1 Vector CV 38-39
3.4.2 Improved vector NCV 39-40
3.5 Euclidean distance and error control 40-43 < br /> 3.5.1 Cluster analysis and Euclidean distance 40-41
3.5.2 Error Control 41-43
3.6 based on weighted Euclidean distance shell detection Technology (PDWED) 43-46
3.6.1 PDWED works 43-44
3.6.2 PDWED software 44-46
4 Zhang PE file shelling 46-54
4.1 shell loading process 46-47
4.2 memory monitoring data collection algorithm 47-49
4.3 Shelling 49-54
4.3.2 Memory-based monitoring OEP determination algorithm 49-51
4.3.3 dump module 51
4.3. 4 reconstruction input table 51-52
4.3.5 shelling basic framework map 52-54
Chapter 5 Experiment and Analysis 54-59 <br / > 5.1 PDWED experiment 54-56
5.1.1 to determine the threshold 54
5.1.2 shell detection 54-56
5.2 shelling tool experiments 56-59
5.2.1 QEMU 56
5.2.2 Testing and Results Analysis 56-59
Chapter 6 Summary and Outlook 59-60
6.1 Work Summary 59
6.2 Future Work Prospects 59-60
Thanks 60-61
References 61-64
Appendix 64-68
detailed summary 65-68
Related dissertations
- Applied Anatomic Study of the Sacral Screw Fixation for the Sacroiliac Joint
- Study on Positioning Puncture Technology by Percutaneous Pedicle of Percutaneous Vertebro Plasty and Per-cutaneous Kyphoplasty
- Take Bottle Gourd Myth as Point of Penetration to Discuss the Culture of Our Country Zhuang Nationality and Laos Lao-thai Nationality Race Group
- Anatomic Study of the Safety and Restrictions Using Posterior Approch Screw Fixation of the Atlas
- Research and Realization on Method of Trojan Detection
- A Research of Commands’ Editing and Reproducing Mechanism Based on Analyzing Win32 Kernel Encoding and Decoding Mechanism
- Reading Faulkner’s Light in August
- Entry point for study of the development of modern logistics industry in China
- History of mathematics in the teaching of mathematical concepts
- Obtains Beauty from the Actual Situation to Inquire into the Modern Prose Reading Education
- Real-time Modification of Network Data Packets Based on Tcp: Framework and Implementation
- Questions in Class in Cinese Teaching
- Calling and Transcendental: Study on Chuang Tzu’s Life Philosophy
- PE file -based information hiding technology research and implementation
- Research on Administrative Service in Perspective of Service-oriented Government
- The Research and Implementation of Static Software Watermarking
- The Design and Realization of Aerogun Shell Defect Detection
- Applied Anatomic Study of the Parameters of Screw Fixation for the Sacroiliac Joint