Research and Implementation of Critical Techniques in Malware Detection Based on Decompilation
- Author
- ZhangYiChi
- Advisor
- PangJianMin
- School
- PLA Information Engineering University
- Major
- Applied Computer Technology
- Classification
- TP309 Security and confidentiality
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 78
- Citations
- 0
Abstract
The broad spread of malware has presented a serious threat to the safety of computer systems. Many researchers are eager to develop a more practical and efficient detection technique to weaken the threat from malware. However, a great many of techniques, such as obfuscation, have been used by malware writers to evade current detection approaches. Reverse analysis based on decompilation is a technique to understand and analyze binary codes, by which the behavior of malware can be concluded through static analysis. It has superiority to detect the hidden threat of malware. So it is significant to investigate the malware detection based on decompilation.Based on the analysis and understanding of obfuscation technique used by malware, this thesis presents a deep study on the techniques and approaches adopted in decompilation to detect malware. First, according to the process of decompilation, classify the obfuscation used by malware into two types, pay more attention on two cases, i.e. junk insertion and subroutine exception return. Several approaches, such as virtual stack, re-decoding, control flow gap scan, are adopted to design and implement the disassemble frame and algorithms aiming at malware. Second, according to the analysis of assemble instruction sequence and the characteristics of the storages of library function name, a method to identify library function calling is proposed to deal with searching and loading library function dynamically by malware. After that, a malware detection approach based on sub-graph matching is introduced here, which identifies suspicious behavior in the executable and estimates the malicious degree through comparing control flow graph with malicious behavior defined in the malicious behavior library.The techniques and algorithms presented above have been applied to RADUX(Reverse Analysis for Detecting Unsafe eXecutables), a prototype for malware analysis and detection which is funded by the National High-Tech Research and Development Plan of China. The prototype is tested by two testing centers and used by an organization. Comparing the experimental data produced by RADUX with those by other common reverse analysis tools and famous antivirus(AV) tools, results show that the approaches introduced in this thesis, i.e., the disassemble algorithms, the methods to identify the library function and detection based on control flow graph, are favorable in their feasibility, efficiency and validity.
Table of contents
Table directory 6-7
List of Figures 7-8
Abstract 8-9
ABSTRACT 9-10
the first Zhang of the Introduction 10-18
1.1 topics research background 10-13
, brought about by by the the 1.1.1 malicious code to give the information security, the problem 10-11 < br /> 1.1.2 anti-the the advantages of compile in the malicious code detection on the the 11-13
1.2 research contents 13-15
1.2.1 topics sources of 13 -14 the focus of of the
1.2.2 topics research 14-15
1.3 at home and abroad the development of the status quo 15-16
1.3.1 decompile technology 15
1.3.2 anti-virus technology 15-16 the the the main work of and innovation of
1.4 thesis 16-17
1.5 thesis organizational structure 17 the -18
the second Zhang of malicious procedures anti-compilation of algorithm design and Implementation of 18-36
2.1 static anti-compilation of algorithm 18-19
2.1.1 linear 2.1.2 marching scan for Disassembly Algorithm 18-19
recursive anti-compilation of algorithm the commonly used in the interference of in the 19
2.2 malicious programs anti-the compilation of the confusion technology 19 - 23
2.2.1 disassembler self-repairing phenomena 20
2.2.2 junk data insert 20-22
2.2.3 subroutine abnormal to return the the formal definition of the of as be confused by the 22-23
2.3 interfere with the anti-compilation of stage 23-27
the 2.3.1 code be confused classification 23-25 ??
2.3.2 interference the formalization the definition of of anti-compilation of be confused of the 25-27
2.4 malicious programs anti-the compilation of the Design and Implementation of of the framework 27-34
the 2.4.1 instruction decoding the device design 27-29
abnormal returned by the by the 2.4.2 subroutine identification 29-33
of the gap scanning inter-the the 2.4.3 code 33-34
2.5 in this chapter Summary 34-36
the third Zhang of malicious programs function call of the in the library identification 36-44
3.1 file dynamic link mechanism analysis 36-38
3.1. 1 the the the structure of of the PE file import table 36-37
3.1.2 call the import the desired function the instruction 37-38
the the the way of the 3.2 malicious programs call the library functions 38 -40
the 3.2.1 hard-coded call library function 38-39
3.2.2 the definition of the same name function to call library functions 39-40
3.2.3 an array of way call the library functions 40
3.3 library functions call the behavior the identification 40-43
3.3.1 instruction sequence analysis 42
3.3.2 function name stored search the call identification of the 42
3.3.3 library functions 42-43
3.4 in this chapter Summary 43-44
Chapter IV based on sub-graph matching the of malicious behavior detection of 44-52
4.1 research background 44-45
4.1.1 malicious behavior recognition 44
4.1.2 sub-graph match 44-45
4.2 detection scheme design 45-47
4.2.1 control flow Figure Construction of 46
the library of 4.2.2 malicious behavior the establishment of 46-47
4.3 malicious behavior detection algorithm 47-51 in
4.3.1 the process of detection algorithm 47-50
4.3.2 the process of inter-detection algorithm 50-51
summary of the 4.4 in this chapter 51-52
the fifth Zhang of the test with the experimental analysis of 52-56
5.1 RADUX testing situation 52-55
the correctness of test of the 5.1.1 disassembler 52-53
5.1.2 library functions call identification test 53-54
5.1 .3 test of malicious programs identification 54
5.1.4 of the benign procedures false alarm rate test 54-55
5.2 test results analysis 55-56
Concluding remarks 56-58
References 58-62
the main the work of for the author resume studying for a master's degree completed during the 62-64
Acknowledgements 64
Related dissertations
- Design and Implementation of Webpage Trojan Detection System
- Malware Implementation and Detection on Android
- Research on the Improvements on Internal Control System for Sales and Receivables Cycle of Corun Co. Ltd
- Based on Single Chip Microcomputer Technology Railway Crossing Alarm System Design
- The Research on Algorithm for Composite Forest Fire Detection, Recognition and Early Warning
- Key Problem of Blunt Edge Parameters Detection System Design
- Design and Implementation of the Airtight Detection System Based on PLC Technology
- Research of Winter Hyarological Sensor and System Based on the Conductance Characteristics of Measured Medium
- The Research of Worm Detection Technology Based on Network Behavior
- The Research of Malicious Web Pages Detection Based on Multiple Features
- Anomaly Detection Research Based on System Call Sequence and Arguments
- A Research of Malware Detection and Evaluation Based on Behavior Analysis
- Research and Design of Content-Based Spam Detection Framework
- Research of Detection and Tracking on the Chinese Micro-blog Topic and System Design
- Research on Billboard Detection and Substitution in the Soccer Video
- Analysis of Infrared Distance Detection Algorithm for Single Target
- Research on Conflict Management Strategies in Multicore-oriented Software Transactional Memory
- Design and Implementation on Radar Video Integrators
- Rescarch and Implementation of Security Classification-based Encryption and Detection in Mobile Ad Hoc Networks
- Research on the Wormhole Attack Detection in Wireless Sensor Networks