【编者按】网学网VC++频道为大家收集整理了““欢乐时光”病毒检测工具的实现“提供大家参考,希望对大家有所帮助!
包括论文,设计,论文字数:12968,页数:26
摘 要
病毒检测是计算机安全领域的重要技术之一,是反病毒技术的核心。利用病毒检测技术便于发现计算机系统是否受到安全威胁,同时也可以及时通告用户做好病毒防范措施。本论文从计算机病毒及其检测的基本理论出发,对经典的欢乐时光脚本病毒的特点进行分析,提出了预防脚本病毒的主要方法,得出了对欢乐时光脚本病毒有效的检测方法,最后用VC++设计实现了一个对该病毒的检测工具,该病毒检测工具采用匹配病毒感染标识的检测方法,在遍历文件的同时对文件进行检测。同时该检测工具也具有清理相关注册表项及限制使用次数等功能。该病毒检测工具能够准确地检测到计算机系统中被欢乐时光脚本病毒所感染的文件并删除病毒脚本。
关键词:计算机安全;欢乐时光脚本病毒;病毒检测;病毒感染标识的匹配;遍历文件夹
The Implementation of HappyTime Virus Detection Software
Abstract
Virus detection is one of the most significant technologies in computer security field as well as the core technology in anti-virus software. With the technology of virus detection, it is useful to discover whether a computer system is safe or not. Simultaneously, it could also inform users to do some preventive measure for virus promptly. Based on the basic concept and theory of computer virus and virus detection, a classical virus, the HappyTime script virus, is well analyzed first. After that, it points out the main methods of script virus prevention. Then the effective method to detect HappyTime script virus is concluded. Finally a virus detection software for HappyTime virus is designed and realized with VC++. The virus detection software is designed to detect a virus by matching the sign string of a virus while traversing the files. The functions of cleaning up relative registry and limiting the times of using are also available in the software. This virus detection software can accurately detect the files infected by the script of HappyTime virus in the computer system and delete the viral script.
Key words: Computer security; HappyTime script virus; Virus detection; Matching the sign string of a virus; Traversing files
目 录
1 引言 1
2 计算机病毒与病毒检测技术概述 1
2.1 计算机病毒概述 1
2.2 病毒检测概念及其发展历史 4
2.3 病毒检测的发展趋势 5
2.4 论文结构概述 6
3 需求分析 7
3.1 功能需求 7
3.2 运行环境 7
4 欢乐时光脚本病毒及其检测 7
4.1 VBS脚本病毒介绍 7
4.2 欢乐时光脚本病毒 8
4.2.1 欢乐时光病毒部分关键代码分析 8
4.2.2 欢乐时光病毒主要特点 11
4.3 利用匹配病毒感染标识方法检测病毒 11
5 设计与实现 12
5.1 总体设计思想 12
5.2 遍历文件的实现 12
5.3 扫描文件的实现 15
5.4 软件使用次数限制实现 15
5.5 软件功能简介 17
6 检测工具的测试 19
结 论 20
参考文献 20
致 谢 21
声 明 22