Linux安全检测软件ClamAV

介绍

  • ClamAV 杀毒是Linux平台最受欢迎的杀毒软件。
  • 支持多种平台,如:Linux/Unix、MAC OS X、Windows、OpenVMS。
  • ClamAV 是基于病毒扫描的命令行工具,但同时也有支持图形界面的ClamTK 工具。

安装

[root@localhost ~]# yum install -y epel-release
Loaded plugins: fastestmirror, langpacks


......


Updated:
  epel-release.noarch 0:7-14


Complete!
[root@localhost ~]# yum install -y clamav clamav-update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile


......


Installed:
  clamav.x86_64 0:0.103.11-1.el7                                                                     clamav-update.x86_64 0:0.103.11-1.el7


Dependency Installed:
  clamav-filesystem.noarch 0:0.103.11-1.el7  clamav-lib.x86_64 0:0.103.11-1.el7  gnutls.x86_64 0:3.3.29-9.el7_6  libprelude.x86_64 0:5.2.0-2.el7  nettle.x86_64 0:2.7.1-9.el7_9  pcre2.x86_64 0:10.23-2.el7
  trousers.x86_64 0:0.3.14-2.el7


Complete!

更新病毒库:freshclam

[root@localhost ~]# freshclam
ClamAV update process started at Tue Jan 23 14:36:39 2024
daily database available for download (remote version: 27162)
Time:  5m 12s, ETA:    0.0s [========================>]   59.76MiB/59.76MiB
Testing database: '/var/lib/clamav/tmp.119be737ae/clamav-20d80f42317ba596548d1c77bfe208fc.tmp-daily.cvd' ...
Database test passed.
daily.cvd updated (version: 27162, sigs: 2051378, f-level: 90, builder: raynman)
main database available for download (remote version: 62)
Time:  1m 27s, ETA:    0.0s [========================>]  162.58MiB/162.58MiB
Testing database: '/var/lib/clamav/tmp.119be737ae/clamav-9d267c3ce6de037c7bccfe6ae620d445.tmp-main.cvd' ...
Database test passed.
main.cvd updated (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
bytecode database available for download (remote version: 334)
Time:    3.4s, ETA:    0.0s [========================>]  285.12KiB/285.12KiB
Testing database: '/var/lib/clamav/tmp.119be737ae/clamav-0baf9a830c280e1620e9ec79b4bae302.tmp-bytecode.cvd' ...
Database test passed.
bytecode.cvd updated (version: 334, sigs: 91, f-level: 90, builder: anvilleg)

扫描文件或目录:clamscan

# 扫描文件
[root@localhost ~]# clamscan anaconda-ks.cfg
/root/anaconda-ks.cfg: OK


----------- SCAN SUMMARY -----------
Known viruses: 8683109
Engine version: 0.103.11
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 39.211 sec (0 m 39 s)
Start Date: 2024:01:23 14:46:53
End Date:   2024:01:23 14:47:32


# 扫描目录
[root@localhost ~]# clamscan -r /root
/root/.bash_logout: OK
/root/.bash_profile: OK
/root/.bashrc: OK
/root/.cshrc: OK
/root/.tcshrc: OK
/root/anaconda-ks.cfg: OK
/root/.cache/abrt/lastnotification: OK
/root/.bash_history: OK
/root/install_check.sh: OK
/root/.viminfo: OK
/root/testfile: Empty file


----------- SCAN SUMMARY -----------
Known viruses: 8683109
Engine version: 0.103.11
Scanned directories: 7
Scanned files: 10
Infected files: 0
Data scanned: 0.01 MB
Data read: 0.01 MB (ratio 1.50:1)
Time: 36.139 sec (0 m 36 s)
Start Date: 2024:01:23 14:47:58
End Date:   2024:01:23 14:48:35

来自: Linux系统安全及检测icon-default.png?t=N7T8https://mp.weixin.qq.com/s?__biz=Mzk0NTQ3OTk3MQ==&mid=2247487213&idx=1&sn=a24d2a5f23582010ecd8b756a97860b6&chksm=c31586a1f4620fb71063eea7cef691f9bb0c3bce290d944845df107af4e7458625b2c85c4644&token=113329682&lang=zh_CN#rd

  • 4
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Linux技术宅

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值