The Design and Implement of Malware Behavior Detection System Based on Decision Tree
- Author
- ChengTao
- Advisor
- LiXiaoNing
- School
- Sichuan Normal University
- Major
- Applied Computer Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 33
- Citations
- 0
Abstract
Anti-virus vendors would get millions of suspicious program samples which may include both malware and benign program. It’s required anti-virus engineer to find out the real malicious program and extract the virus signature definition in order to update the virus signature database. The purpose of this paper is to develop a automatic malware detection system, which can detect malware from a large quantity of unknown samples efficiently and generate detail malware behaviors reports. Malwares can be provided to anti-virus engineer for further analysis. The basic scheme of paper is to get program run-time API call sequence using API hook technology. And then extract high-level program behaviors according to the context of API call sequence. At training stage, a great many of behaviors data of known samples are used to generate a classification mode based on C5.0 algorithm. Classification model is used to category unknown sample into malware and benign ware simulating the decision logic of anti-virus engineer . Following are the main workload and shining points:1. 110 typical behaviors attributes and 26 file attributes are collected, which detection system will aim at.2. Currently, all behavior detection systems like CWSandbox are all based this assume that API call sequence reflect behaviors and extract API call sequence through API hook as program’s behaviors. We share the same opinion that API call sequence reflects behaviors. However we don’t regard API call sequence as the behaviors, but extract high-level behaviors from API call sequence according to their context and relations. This kind of behaviors are much meaningful than pure API.In order to extract API call sequence, Detours is used to hook system API. But there is a problem about Detours that each API requires a corresponding hook function, this problem could definitely make the program more complex. After a research of Detours, we propose a improvement of detours hook mechanism that only one hook function can handle all the API hook. No additional code is required whenever we want hook new API. That means hook is derived by data, not code.In order to extract high-level behaviors, we define every API call as Prolog fact and every behavior as Prolog rule. It takes advantage of Prolog logic process capability to extract high-level behavior accurately.3. Our detection system runs in VMWare virtual machine, which can be controlled by Vix technique. Detection system run sample program and extract API call sequence in virtual environment. Vix technique makes API extracting process automatically and efficiently.4. Typical benign program behaviors are involved in classification mode. Comparing with other behaviors detection system, Malware Sandbox get a low FP rate (False Positive) because of typical benign behaviors.Experiments show that Malware Sandbox gets a relative high detection rate and low misdetection rate. High quality detail behaviors reports can be generated for further analysis. However our detection system still has a defect that virus with anti-virtual machine ability can evade detection because of our system running in virtual environment. To prevent virus threat, we have to run suspicious program in virtual environment, so this defect cannot be addressed so far.
Table of contents
Abstract 2-4
Abstract 4-8
1 Introduction 8-18
1.1 malicious programs hazards 8-9 < br /> 1.2-virus and anti-virus technology 9-12
1.3 malicious behavior detection technology Research 12-13
1.4 application background and significance of this system 13-15
1.5 research goals and research topics 15-16
1.6 Thesis Organization 16-18
2 malware detection theory and key technology 18-38
2.1 PE file structure 18-22
2.1.1 basic institutions 18-19
2.1.2 Export Table 19-21
2.1.3 API function to obtain the address 21-22
2.2 Hook principles and Detours technology 22-28
2.2.1 API hook principle 22-23
2.2.2 Detour technology 23-26
2.2.3 Detours technology improved method 26-28
2.3 program feature definition 28-32
2.3.1 Characteristics collection procedures and related API set 28-30
2.3.2 behavioral characteristics of structural description 30-32
2.4 Decision Tree theory 32-34
2.4.1 Classification Descriptions 32-33
2.4.2 tree and tree establishment 33 -34
2.5 VMWare virtual machine control technology Vix 34-38
2.5.1 Vix brief 34-35
2.5.2 Vix common functions 35-38
3 system design and implementation 38-59
3.1 System Overview 38-39
3.2 system development objectives and requirements 39 < br /> 3.3 overall system design 39-42
3.4 API calling sequence acquisition program to achieve 42-48
3.4.1 TraceMaster 43-44
3.4.2 acquisition module Detect.dll 44-45
3.4.3 Universal hook function 45-47
3.4.4 API calls recorded output module 47-48
3.5 program feature extraction 48-56
3.5.1 behavioral feature extraction 48-50
3.5.2 File feature extraction 50 -54
3.5.3 virtual environment behavior acquisition system 54-55
3.5.4 build feature library 55-56
3.6 malicious programs based on decision tree determination 56-59
3.6.1 Decision tree created 56-57
3.6.2 System Output Module 57-59
4 System Evaluation 59-62
4.1 Efficiency Analysis 59
4.2 Accuracy evaluation 59-62
5 Full Summary 62-64 <br / > 5.1 The main contribution of this paper and highlights 62
5.2 The next step 62-64
References 64-66
Thanks 66
Related dissertations
- Design and Implementation of Stealth Backdoor
- Design and Implementation of the monitoring platform hidden malicious code
- A Research on the Shock Effect of Economic Data Release in Forex Market
- The Risk Management Research of Network Finance in China
- The Application and Research of Data Mining in Stock Analysis
- Stock Price Index Analysis and Prediction Based on Data Mining Technology
- Reseach on the Mortgage Credit Risk Evaluation on the Basis of Decision Tree Algorithm
- Classification Decision-making Evaluation Method of Sci-tech Journal Quality
- Research on Performance Monitoring Technique of Cluster Management of the Virtual System
- Application of Decision Tree and Neural Network in Stock Classification Prediction
- Research on Sparse Kernel Regression Modelling Methods
- Research and Implementation on File Monitor System Based on Windows Driver
- Research on Intrusion Detection Based on Improved Decision Tree Algorithm
- Research on Sandbox Technology for Malicious Code Detection
- Research on Attacks and Prevention Technology Based on ARP and PPPoE
- Based on I/O Performance of Virtual Machine Resource Scheduling Algorithm Research
- The Research and Implementation of Malicious Web Pages Detection from Search Engine Based on Decision Tree
- The Design and Implementation of Medical Record Entity Recognition Algorithm Based on Multi-Layers Learning
- Research on the Rule Excavation Method Based on Decision Tree in Automatic Identification of Relation Words in Chinese Compound Sentences
- Observation Analysis of Decision Tree Extraction from Artificial Neural Network