你好,游客 登录 注册 搜索
背景:
阅读新闻

完全开源的杀病毒软件ClamAV

[日期:2013-08-17] 来源:Linux社区  作者:linuxblind [字体:大 中 小]

七、GUI
  基于GTK+ &Perl: ClamTK
基于KDE: Klamav


八、自动化处理(定时)

#crontab –e  //加入下面两行
0 3 * * * root /usr/bin/freshclam --quiet -l/var/log/clamav/freshclam.log  #每天3点升级病毒库
0 0 * * * clamscan –r --remove/location_of_files_or_folders  # 扫描文件或文件夹,发现问题自动删除


下面给出我们线上服务器被攻击后检测出的结果:

[root@test2 ~]# freshclam
ClamAV update process started at Fri Aug 16 17:32:54 2013
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.97.7 Recommended version: 0.97.8
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
Downloading daily-17687.cdiff [100%]
Downloading daily-17688.cdiff [100%]
Downloading daily-17689.cdiff [100%]
daily.cld updated (version: 17689, sigs: 1611932, f-level: 63, builder: guitar)
bytecode.cld is up to date (version: 221, sigs: 42, f-level: 63, builder: dgoddard)
Database updated (2656361 signatures) from db.cn.clamav.net (IP: 202.118.1.40)
Clamd successfully notified about the update.

 

[root@test2 xxx]# ll
总用量 10224
-rw-r--r-- 1 root root 10414080 4月  27 21:49 ftp.tar
-rw-r--r-- 1 root root    51200 4月  28 09:58 h.tar
[root@test2 xxx]# clamscan ftp.tar
LibClamAV Warning: **************************************************
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***  Please update it as soon as possible.    ***
LibClamAV Warning: **************************************************
ftp.tar: Trojan.Linux.RST.b FOUND
----------- SCAN SUMMARY -----------
Known viruses: 1258735
Engine version: 0.97.7
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.01 MB
Data read: 9.93 MB (ratio 0.00:1)
Time: 2.153 sec (0 m 2 s)
[root@test2 xxx]# clamscan h.tar
LibClamAV Warning: **************************************************
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***  Please update it as soon as possible.    ***
LibClamAV Warning: **************************************************
h.tar: Trojan.Tsunami.B FOUND
----------- SCAN SUMMARY -----------
Known viruses: 1258735
Engine version: 0.97.7
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.04 MB
Data read: 0.05 MB (ratio 0.75:1)
Time: 2.113 sec (0 m 2 s)

linux
相关资讯       ClamAV 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款