电脑自 [英] Computer Since

查看:54
本文介绍了电脑自的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何使用C#创建自己的USB防病毒软件以及如何捕获病毒
请发送至我的电子邮件[已删除电子邮件爸爸]

Hi
How I can create own USB antivirus by c#?and how capture virus
please send to my email [email addy removed]

推荐答案

创建防病毒算法的技术多种多样,并且它们一直在发展.研究主题数年并获得博士学位,然后让我们知道您的发现.在这里,我将帮助您入门:

对于简单的病毒,您可以对文件进行哈希处理,然后将其存储而不是整个文件.扫描文件时,请将其哈希值与已知病毒的存储哈希值进行比较.您还可以存储有关病毒文件的其他信息,以使扫描过程更快,例如文件大小和文件中的一些随机字节(首先比较该信息以排除大多数结果,比为可疑文件创建散列要快. ).

要获取测试文件,请下载 eicar .

或者,您可以使用API​​下载防病毒程序.或下载开源防病毒程序.
There are various techniques for creating antivirus algorithms, and they evolve all the time. Research the topic for a few years and get your PhD and let us know what you find. Here, I''ll get you started:

For simple viruses, you can take a hash of the file and store that rather than the whole file. When you scan files, compare their hash to the stored hashes of known viruses. You can also store other info about the virus files to make the process of scanning go faster, such as file size and a few random bytes in the file (first comparing that information to exclude most results is faster than creating a hash for the suspect files).

For a test file, download eicar.

Alternatively, you can download an anti-virus program with an API. Or download an open source anti-virus program.


这篇关于电脑自的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆