计算机平台下的PE文件病毒的实现和防止
摘要
在计算机病毒技术与反病毒技术激烈斗争的今天,病毒技术的复杂多变,发展迅速给计算机用户同时也给反病毒技术带了巨大的挑战。本文详细剖析了时下较流行的Windows 32位操作系统平台下最为常见的PE病毒机制,配合以代码实现的方式,从一个病毒编写者的角度展示病毒基本原理,并以此为契机从而做到更好的防范病毒。第一部分分别介绍了Windows病毒的基本原理、分类,并着重介绍PE病毒基本原理,基本机制;第二部分则根据PE病毒原理用编写实际代码的方式实现一个感染正常EXE文件(如WinRAR.exe)、关机并通过U盘传播等功能的病毒程序;第三部分则通过功能测试(白盒测试)、杀毒软件测试,总结并展望病毒技术;最后通过此次课题的研究成果,结合当今主流反病毒技术,总结Windows PE病毒防范技术。
关键字:Windows病毒;PE病毒;反病毒技术;PE文件格式;PE病毒实现
The Research and Implementation of PE Documentary Virus
base on Win32 Platform
Abstract
Nowadays, computer virus
technology is growing rapidly as fast as development speed of anti-virus
technology.Computer virus technology is becoming complex and changing rapidly.
It brings enormous challenges to anti-virus technology. This paper analyzes the
most common PE virus mechanism base on Win32 platform that is explained by the
way of code realization. The article also demonstrates the basic mechanism of
virus from the perspective of the virus creator and gives the suggestion to
achieve a better anti-virus result. At the beginning, the article introduces
the basic knowledge of Windows virus and classification. This part highlights
the basic tenets of PE virus and basic mechanism. The second part compiles the
code realization according to the principles. It can infect an EXE program
(e.g. WinRAR.exe) and spread by u disk. The third part shows the result of
passing the test (white box testing) and makes the summary and forecast. The
last part summarizes the Windows PE anti-virus technology through the research
on this topic with mainstream anti-virus technology.
Key Words:Windows
virus; PE virus; anti-virus technology; PE
format; implementation of virus program