Win32PE Virus and Its Detection
- Author
- YuanPingHai
- Advisor
- BaiJinRu
- School
- Institute of International Relations
- Major
- Communication and Information System
- Classification
- TP309.5 Computer viruses and prevention
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 144
- Citations
- 1
Abstract
In the first part of this dissertation, virus and anti-virus technology, as well as the confrontation between them were discussed in detail. And two technology difficulties which the current anti-virus products confronted with were referred. One of which is about the virtual machine code simulation technology, which is in an important position in anti-virus field, but some of its inherent defects make it unworkable before a lot of anti-technology. The other one is that, as virus relation technique developing quickly, metamorphic virus makes anti-virus technology facing new challenges. As metamorphic virus without fixed code, any useful signature can’t be extracted from it; this means that scanners can’t detect this kind of virus.Two solutions were put forward in this dissertation. They are "Disassembler Based and Interrupt Guided Virus Detection Platform " and "The Application of Computer Instruction inter-relation in the Detection of Virus."The first solution is a feasible substitute for code simulation technology. This platform permits the suspect procedures directly running in the real compute system. But dozens of breakpoint were set up in the procedures, which will trigger an interrupt when they are executing. And where need to set up a breakpoint is decided by a recursive disassembler, which disassemble the suspect program when an interrupt is triggered as it running, and set up a breakpoint when suspect instructions is found. The so-called“suspect instructions”are those, which have the potential of invoking an API function. In this way to ensure that, those APIs which will threaten the security of the real compute system will not be called and executed. Moreover, communications between the suspect procedure and disassembler are through a SEH function, which is injected into and then became part of the suspect procedure. In this dissertation, a variety of problems the platform in fronted with are discussed and corresponding solutions are proposed.In the study of finding an effective detection method for the metamorphic virus, I realized that the metamorphic techniques are not just useful tools to changing the virus body, but also telltales. Because these technologies are such as equivalent instructions replacement, registers replacement, and garbage instruction filling skills, which will obviously change the statistical characteristics of the code. Comparing to those that not use these skills, we will find that inter-relations of instructions of metamorphic virus are weakened. So that, using statistic characteristic of inter-relation of instructions to detecting metamorphic virus may be a wise tactic. In order to validate this idea, great amount experiments are carried out. Thousands of PE files are processed to extract valuable statistic characteristics——Instruction Relation Map. Then select some procedure as testing objects, disassembling them and considering every 2, 3, 4 consecutive instructions as a unit, and find a corresponding value in the Instruction Relation Map. At the end, use Matlab’s figure process functions to figure out the values. The experiments show that using the inter-relation of instructions as a detecting rule of Metamorphic Virus is feasible.If the two virus detection technologies are put into practice, antivirus products will obviously improve their ability of detecting virus.
Table of contents
Abstract 2-4
Abstract 4-9
Chapter 1 Introduction 9-14
1.1 -virus and anti -virus technology status 9-10
1.2 -virus and anti -virus technology to counter 10-11
1.3 significance of this thesis 11-12
1.4 organizational structure 12 - 14
Chapter 2 virus and anti- virus technology 14-42
2.1 the basic functional structure of the virus 14-22
2.1.1 relocation 14-17
2.1.2 API function to obtain the address 17-22
2.1.3 Search infected target file 22
2.2 extensions viral structural 22-29
2.2.1 structured Exception Handling 22-23
2.2.2 memory mapping document 23-24
2.2.3 memory resident techniques 24-26
2.2.4 stability assurance techniques 26-28
2.2.5 hiding 28-29
2.3 file infection strategies 29-34
2.3.1 takes control strategy 29-32
2.3.2 virion placement strategy 32-34
2.4 virus Detection strategy 34-40
2.4.1 signature scanning 34-36
2.4.2 heuristic detection 36-38
2.4.3 behavior blocking 38-39
2.4.4 sandbox technology 39-40
2.5 Summary 40-42
Chapter 3 virus and anti-virus Technical confrontation 42-60
3.1 code simulation technology 42-45
3.1.1 code simulation purposes 42-43
3.1.2 implementation and disadvantages 43-45
3.2 virus protection technology 45-53
3.2.1 Fanfan assembly techniques 45-47
3.2. two anti-debugging and anti- tracking technology 47-49
3.2.3 anti simulation technology 49-51
3.2.4 other protection technology 51-53 <br / > 3.3 level code evolution technology 53-58
3.3.1 encryption technology 54-55
3.3.2 polymorphic technology 55-56 <br / > 3.3.3 morphing technology 56-58
3.3.4 code integration 58
3.4 Summary 58-60
between machine instructions in Chapter 4 correlation 60-91
4.1 primer - Reflections on the current phenomenon 60-61
4.2 Overview and principles 61-64
4.2. a definition of the term correlation 61-62
4.2.2 correlation testing the feasibility 62-64
4.3 experimental platform to establish 64-70 < br /> 4.3.1 system Block Diagram 65-67
4.3.2 disassembler 67-70
4.4 Get instruction characteristic reference value 70-76 < br /> 4.4.1 file Source 71-72
4.4.2 data storage structure 72-73
4.4.3 processing results 73-76 <br / > 4.5 file command feature detection 76-89
4.5.1 detection Method 76-77
4.5.2 normal file transfer probability with virus detection 77 -82
4.5.3 PE generated assembly language program transition probability detection 82-85
4.5.4 transition probabilities particular virus detection 85-89
4.6 Summary 89-91
Chapter 5 disassembler exception based boot virus detection platform 91-115
5.1 platform introduces 91-96 <br / > 5.1.1 platform running processes described 92
5.1.2 platform issues involved 92-94
5.1.3 security assurance strategies 94 - 96
5.2 platform architecture 96-113
5.2.1 pretreatment system 98-99
5.2.2 disassembly system 99-106
5.2.3 breakpoint processing system 106-109
5.2.4 API functions handle 109-111
5.2.5 inject code function 111
5.2.6 virus detection system 111-113
5.3 application analysis 113-115
Chapter 6 conclusions 115-117 <br / > References 117-120
Thanks 120-121
Related dissertations
- Research and Analysis of Security Protection for the Virtual Data Center
- Studies on Pharmacodynamic Material Basis of Reduning Injection
- Screening of Anti-swine Influenza Virus Traditional Chinese Medicine Ingredients in Vitro
- Studies on the Effects on Cell Apoptosis and the Antagonistic Function to Host Restriction Factors of Significant Viral Disease Pathogens
- Research and Implementation of Network Access Control and Embedded Anti-virus Engine in UTM
- Research on the Key Technologies of Virus Protection in the Cloud Security Environment
- Anti-enterovirus71Activities of Polyoxometalates
- Design,Synthesis and Antiviral Activity of Novel Nucleoside Analogues
- Clinical Observation on the Efficacy of Adefovir Dipivoxil in Patients with Hbeag Positive Chronic Hepatitis B
- The Observation and Experimental Study of Moringa Oleifera Aqueous Extract on Anti-influenza A (FM1Strain)
- Application of HCV Replicon to Screen Anti-hepatitis C Chinese Traditional Medicine Formula
- Proteomics Analysis of Anti Nuclear Polyhedrosis Virus Related Proteins and Male-female Difference in Silkworm, Bombyx Mori
- The Anti-Oxidation Variance of Cef with Chicken Intestinai Lactobacillus after Ibv Infection
- Study on the Absorption Characteristic, Immunomodulation and Anti-virus Activity of Fucoidan from Saccharia Japonica with Different Molecular Weights
- Recombinant Cell Lines Expressing shRNA Targeting HSV2 VP16 Inhibit Virus Replication
- Study on the Inhibition of Xantine Oxidase, Lipoxygenase, and Cyclooxygenase by Seven Kinds of Medicinal Plants from Selaginella
- Design, synthesis and biological activity of imidazo [ 1,2- a ] pyridine Derivatives
- Study on Separation and Derivant Synthesis and Bioactives of Polyprenols from Ginkgo Biloba L(GP)
- Isolation, Purification and Bioactivity Study of Sulfated Polysaccharide-Protein Complex from Laminaria Japonica
- Inhibiting the Expression of UL49 Gene and the Viral Replication of HCMV by EGS