A Malicious Code Analysis System for E-Mail Attachments

Author
RenZhuoRan
Advisor
ZhangHongLi
School
Harbin Institute of Technology
Major
Computer Science and Technology
Classification
TP393.098 E-mail ( E -mail )
Degree
Master's thesis
Year
2011
Downloads
16
Citations
0

Request the full text

Abstract

In recent years, for the rapid development of Internet, new network applications come out everyday. The trends have seriously affected the traditional Internet business. Many well-known service have disappeared one by one.The E-mail,however, for the advantages as huge user groups, convenient form of operation, and stability of the service, not only did not die out but alive with a new attitude appeared in the Internet arena.E-mail provides a platform for the criminals. They spread malicious code through e-mail, so they can damage user’s files, steal user’s data. Through analysis, malicious code spreads using e-mail attachments, so the malicious code detection system for e-mail atta-chments is very necessary.To cope with the mode that malicious codes spread through E-mail attachments, in this paper we firstly reform the system model by analyzing the E-mail communication model and then we establish a restore machine model based on RFC822 packets analysis module after analysising the working process, message format and command details of the three application layer protocols, POP3, SMTP and IMAP. The restore machine extracts the sender, the receiver, the sending date, the mail subject and other necessary information and records them into the log. Finally, we analysed the the working principle of Libnids and established the packet capturing model from link layer to transport layer.In the paper we use a feature called structured dactylogram for static detection for malicious codes. As software can be manifested by network structure, we present routine calling as images, extract the color moments and shape moments as structured dactylogram for this software using CBIR based on image details.We use HSV color space instead of RGB color space in the original algorithm so the consistency, integrity, compactedness, naturalness and other aspects of the color moment can be improved.Also the shift, flexibility, and rotation of shape invariant moment are demonstrated. Experimental evidence manifests that structured dactylogram has good uniqueness, constantness and sensibility, and the two factor witch can cause inaccurate judgement are analysed later.Finally, the paper presents a program and implementation details and test results of the malicious code detection system for e-mail attachments.

Table of contents

Summary 4-5 Abstract 5-9 Chapter 1 Introduction 9-18 1.1 subject background and significance 1.2 e-mail and its security 9-13 1.2.1 e-mail history TCP / IP e-mail systems 1.2.2 Overview 9-10 10-11 1.2.3 e-mail security issues 11-13 1.3 malicious code types and detection and analysis technology 13-17 1.3.1 the type of malicious code 13-14 1.3.2 malicious code detection 14-16 1.3.3 malicious code analysis methods 16 - 17 1.4 this study 17-18 Chapter 2 e-mail protocol analysis and reduction are found; 18-29 2.1 Application Layer mail message introduced 18-26 2.1.1 e-mail message format 18-20 2.1.2 SMTP 20-22 2.1.3 POP3 22-24 2.1.4 IMAP 24-26 2.2 Libnids the working mechanism 26-28 2.3 Chapter Summary 28-29 Chapter 3 malicious code static detection methods based on structural fingerprints 29-55 3.1 software flow diagram 29-31 3.2 content-based image retrieval technology foundation 31-34 3.2.1 color features 32-33 3.2.2 texture features 33 3.2.3 shape feature 33 - 34 3.3 based color moment software structure fingerprint extraction 34-38 3.3.1 Structure Matrix to the RGB color space mapping 34-36 3.3. 2 from the RGB color space to HSV color space conversion 36-38 3.3.3 based color moment structure fingerprint extraction methods 38 3.4 Based on Moment Invariant the software the structural fingerprints extract 38-44 3.4.1 shape invariant moments theory 39-41 3.4.2 Invariant Moments nature prove its tectonic nbsp density distribution function f; 41-43 3.4.3 two-dimensional? x, y? choice 43-44 to 3.5 similarity measure 44-46 the 3.6 structure fingerprint performance the only 46-54 3.6.1 46-49 3.6.2 invariance, 49-50 3.6. 3 sensitivity 50-51 3.6.4 structure fingerprint malicious code static detection the 51-54 3.7 This chapter summary 54-55 the design and implementation of Chapter 4 of malicious code detection system for e-mail attachments 55-69 4.1 overall architecture design 55-57 4.2 fishing charter implementation 57 4.3 restore the machine to achieve program the 57-64 4.4 database implementation program 64-67 4.5 system operation 67-68 4.6 Chapter Summary 68-69 conclusion a References 69-70 70-76 Acknowledgements 76 - 77 personal resume 77

Related dissertations

  1. Research on Content-Based Image Retrieval
  2. Blind Forensics of Recaptured Images
    DiXiaoBo ·Beijing Jiaotong University ·2014 ·Master's thesis
  3. Laser Strapdown Inertial sampling and pretreatment of the MDRLG
  4. Strength Calculation Analysis and Experimental Study of Diesel Engine Connecting Rod
    WangChenChen ·Harbin Engineering University ·2013 ·Master's thesis
  5. Research on the Constructional Unloading Process and Model Experiment of a Steel Roof Stadium
    XuMengYa ·Zhejiang University ·2014 ·Master's thesis
  6. Test Research on the Behavior of the Penetration Connections between Composite Beams and Concrete Filled Tubular Columns
    ZhangHuaShuai ·Central South University ·2013 ·Master's thesis
  7. Investigation of Buckling Load of Thin Spherical Shells and Single-layer Reticulated Spherical Shells
    ZhengZhiGang ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. The Research on Loading Efficiency in Load Test of Small-span and Middle-span Beam Bridges
    WangYuLong ·Chang'an University ·2013 ·Master's thesis
  9. Quick Test Technique on Dynamic and Static Test of Single Beam
    BiShuoSong ·Chang'an University ·2013 ·Master's thesis
  10. Optimization Design of Composite Wing Structure of UVA
  11. The Reseaarh of Test Technology about High Temperature Pressure Sensor’s Characteristics
    LiYe ·University of North ·2012 ·Master's thesis
  12. Research on Content-Based Image Retrieval
    ChengZuo ·Wuhan University of Technology ·2012 ·Master's thesis
  13. Research of Ping-pong Referee Assistant System Based on Digital Image Processing
    MaXiaoZuo ·Northeastern University ·2010 ·Master's thesis
  14. Image Retrieval Technology Integration of Color and Shape Feature
    ZhangShuChen ·Jilin University ·2012 ·Master's thesis
  15. Research of Equipment Software Static Testing Base on Testbed and Polyspace
    YinJin ·Harbin Engineering University ·2012 ·Master's thesis
  16. Research on the Way of Quality Evaluation of Embedded Software in Electronic Metrology Products
    ZhuJiang ·China Jiliang University ·2012 ·Master's thesis
  17. Research on Application of Data Type Abstract Modeling to Improve the Accuracy of Software Static Test
  18. Research and Performance Analysis of the Test Program of High-precision ΣΔADC
  19. Strength Analysis of a High-power Long-stroke Diesel Engine Crankshaft
    ZhaoJianLi ·Harbin Engineering University ·2012 ·Master's thesis
  20. Experimental Investigations on Static Behavior of Uniplanar Gapped K-type Chs Joints Reinforced with Longitudinal Plates
    PanZuoKang ·Harbin Institute of Technology ·2013 ·Master's thesis