The Study of Malicious Code Detection Based on Data Mining and Machine Learning

Author
ZhangXiaoKang
Advisor
ShuaiJianMei
School
University of Science and Technology of China
Major
Pattern Recognition and Intelligent Systems
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2009
Downloads
349
Citations
7

Request the full text

Abstract

The number and variety of the growing number of malicious code, coupled with the rise of the code obfuscation techniques, making detection of malicious code is becoming increasingly difficult. Traditional signature-based detection techniques commonly used by commercial antivirus antivirus software, but it must obtain the signature of a class of viruses to effectively detect such virus signature generally gained after infection. This feature makes the possibility of computer systems from malicious code threats increased. In recent years, data mining and machine learning techniques used in the field of malicious code detection, it's becoming the focus of the study, because it can take advantage of data mining meaningful patterns from the large number of existing code data mining, the use of machine learning can Help summed known malicious code to identify knowledge, similarity search to help find unknown malicious code. In this paper, data mining and machine learning techniques to detect malicious code. Describes the background and theoretical knowledge of the malicious code, data mining and machine learning, elaborate feature extraction methods and feature selection method. The main contribution of this paper is as follows: the paper realized a malicious code detection system, using machine code byte sequence of variable length N-gram as feature extraction method, the weighted information gain as a feature selection method using the decision tree, support vector machine other Naive Bayes classifier malicious code detection. Article uses variable length N-gram as malicious code feature extraction methods able to extract the effective characteristics of different lengths to make up for a fixed-length N-gram defects may split effective features through experiments with Kolter fixed-length N- gram method experimental results are compared. Experiments show that variable-length N-gram in the detection performance indicators do better than fixed-length N-gram. In this paper, a Weighted Information Gain (WIG) feature selection method. The method considering the characteristic frequency (CF) and the role of information gain (IG), whether the use characteristics appear as well as the frequency of occurrence of these two factors used to evaluate the amount of information contained in a feature, make up the information gain only consider characteristics appear with whether the deficiency, it is possible to more accurately select the effective characteristic, thereby improving detection performance. Experimental results and Reddy experimental results are compared using the method of class field frequency, and prove that the method of this article can more effectively improve the rate and accuracy of the detection of malicious code. Through the study and practice, further proof of the efficiency and accuracy of the malicious code detection technology based on data mining and machine learning.

Table of contents

Abstract 4-5 ABSTRACT 5-10 Chapter 1 Introduction 10-22 1.1 Background 10-16 1.1.1 Information Security Overview 10-11 1.1.2 malicious code defines 11-12 1.1.3 Malicious code types 12-13 1.1.4 malicious code propagation trend 13-14 1.1.5 malicious code longstanding 14-15 1.1.6 malicious code detection significance and challenges 15-16 1.2 malicious code detection research status 16-20 1.2.1 malicious code detection technology 16-18 1.2.2 data mining and machine learning technology 18-20 1.3 research 20 1.4 This article structure 20-22 Chapter 2, data mining and machine learning 22-35 2.1 data the mining definitions and typical methods 22-24 2.2 machine learning concepts, models and development 24-28 2.2.1 machine learning concepts and models 24-25 2.2.2 machine learning 25-26 2.2.3 of several commonly used learning methods 26-28 2.3 various classification algorithms 28-33 2.3.1 Naive Bayes (Nave of Bayes) 28-29 2.3.2 support vector machines (Support Vector Machine, SVM) 29-32 2.3.3 Decision Tree (Decision Tree) 32-33 2.3.4 K-nearest neighbor (K-nearest neighborhood KNN) 33 2.4 malicious code detection based on data mining and machine learning 33-35 Chapter 3 feature extraction methods 35-46 3.1 Feature Extraction Method 35-39 3.1.1 N-gram features 35-36 3.1.2 variable length N-gram features 36-39 3.2 malicious code detection performance indicators 39-40 3.3 Experimental results and analysis 40-46 3.3.1 IDA Pro 40-42 3.3.2 experimental design and results analysis 42-46 Chapter 4 gain based on the weighted characteristics malicious code detection 46-60 4.1 Background 46-47 4.2 malicious code detection model structure and performance indicators 47-48 4.2.1 malicious code detection model structure 47-48 4.2.2 malicious code detection performance indicators 48 4.3 characteristics selection method 48-54 4.3.1 largest difference (Maximal Difference, MD) 49 4.3.2 standard deviation (Views Maximal on Normalized Difference MND) 49-50 4.3.3 maximum ratio (Maximal Ratio, MR) 50 4.3.4 Maximum weight ratio (Maximal Weighted Ratio, MWR) 50-51 4.3.5 largest K-L distance (Maximal Kullback-Leibler Distance MKLD) 51 4.3.6 class domain frequency (Classwise Frequency, CF) 51 4.3.7 Information Gain (Information Gain, IG) 51-53 4.3.8 Weighted Information Gain (Weighted Information Gain, WIG) 53-54 4.4 experimental simulation and results analysis 54-60 4.4.1 WEKA data mining platform 54-55 4.4.2 Cross-validation 55-56 4.4.3 experimental design and results analysis 56-60 Chapter 5 Summary and Outlook 60-62 the References 62-65 Acknowledgements 65-66 the papers published during the reading and participation in the project 66

Related dissertations

  1. A Study of Static Malicious Code Detection Method Based on Opcode Sequneces
    LuZhanJun ·Harbin Institute of Technology ·2013 ·Master's thesis
  2. A Research on Engine of Behavior-Based Detection of Malicious Code Technology
  3. Research on the Main Techonologies in Malware Code Detection
    ChenLiang ·Yangzhou University ·2012 ·Master's thesis
  4. Research on Subspace Classification Methods and Their Applications
    ZhangJianFei ·Fujian Normal University ·2013 ·Master's thesis
  5. Research on Malicious Code Detection Technology
    WangYingShuang ·Yangzhou University ·2011 ·Master's thesis
  6. Research on Key Technologies of Malicious Code and Emergency Response in Communication Networks
  7. Mobile Code Security Based on Trusted Computing Technology
    LiuWeiWei ·Beijing Jiaotong University ·2009 ·Doctoral dissertation
  8. Windows environment, malicious code detection technology research
  9. Sequential pattern mining algorithm based malicious code detection
  10. Research and Implementation of Sandbox and Simulation Based Executables Malicious Code Detection Tool
  11. Research and Implementation of unknown malicious code detection system based on network behavior analysis
  12. Research and Implementation of malicious code detection system
  13. Malicious code detection technology based on the theory of virtual execution
  14. Research on Key Technologies for Malicious-degree Decision of Program Behaviors Based on Dynamic Fuzzy Neural Network
    YueFeng ·PLA Information Engineering University ·2010 ·Master's thesis