Implementation of a Kind of Simple Computer Virus
Abstract
The computer virus is a self-copy computer program or a set of instruction that disturbs the computer’s normal operation. It can cause the computer software and hardware breakdown, and destroy the computer data. With the widespread application of computer in the social life of each area, the technology of computer virus assault and anti-virus is continuously developing, the technology of anti-virus attract more and more attention. Based on the script virus’s theory and script virus’s essential technology, a simple script virus is implemented and the script virus’s mechanism and principle is analyzed. We outlined computer virus's history, tendency, some simply basic knowledge of VBScript, Windows Script Host and registry which the implementation of script virus requires. Then we focus on the principle of script virus and the main technology of each module, take the source code for instance, analyze the thought of the design, the function of infection module, deleting module and marking module. At last we introduce the infection mechanism and the disk searching mechanism which the recursion algorithm carries on.
Key words: Computer virus; registry; Windows Script Host; Recursion algorithm