A simple realization of the computer virus

Qinghong Liang, Shangying Cao, Zhengan Qi


A computer virus is a computer program or instruction set that can interfere with the normal operation of the computer and cause the computer hardware and software to malfunction and destroy the computer data. With the computer in various fields of social life widely used, computer virus attack and prevention technology is also constantly expanding, to prevent computer viruses are also more and more attention. This paper starts from the basic theory of script virus and the key technology of scripting virus, and realizes a simple script virus, and deeply analyzes the mechanism and principle of script virus. This paper summarizes the development history and development trend of computer virus, briefly introduces the basic knowledge of VBScript, Windows Script Host (WSH) and registry required to realize script virus. This paper focuses on the working principle of the script virus and the main techniques used in each module. Taking the source code of the script virus as an example, it analyzes the function of design idea, infection module, damage module and tag module, and implements the script virus Recursive algorithm for searching disk mechanisms and infection mechanisms.

Full Text:



Zhang Shibin, Tan San. Network security technology [M]. Beijing: Tsinghua University Press, 2004.

Zhang Yousheng, Mian Ran. Computer virus and Trojan horse program design analysis [M]. Beijing: Beijing Kehai Electronic Publishing House, 2003.

Zhang Hanting. Computer virus and anti-virus technology [M]. Beijing: Tsinghua University Press, 1996.

Yuan Zhongliang. Computer virus prevention technology [M]. Beijing: Tsinghua University Press, 1998.

Yi Hong. Computer virus is now found to kill [M]. Beijing: China Materials Publishing House, 1999.


  • There are currently no refbacks.

Creative Commons License

This site is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.