アンチウィルスの導入2010/06/14 |
アンチウィルスのソフトを導入します。使うのは Clam AntiVirus というソフトです。 |
[root@dlp ~]# yum -y install clamav clamav-update [root@dlp ~]# vi /etc/freshclam.conf # 8行目:コメントにする # Example[root@dlp ~]# freshclam # 定義ファイル更新 ClamAV update process started at Wed Jun 10 20:18:53 2009 main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven) Downloading daily.cvd [100%] daily.cvd updated (version: 9454, sigs: 27600, f-level: 43, builder: acab) Database updated (572635 signatures) from database.clamav.net (IP: 219.94.128.99) [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 654487 Engine version: 0.95.2 Scanned directories: 3 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.691 sec (0 m 1 s) # お試し無害ウィルスをダウンロードして試しにスキャンしてみる [root@dlp ~]# wget http://www.eicar.org/download/eicar.com [root@dlp ~]# clamscan --infected --remove --recursive . ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 654487 Engine version: 0.95.2 Scanned directories: 1 Scanned files: 11 Infected files: 1 # しっかり検出 Data scanned: 0.05 MB Data read: 0.02 MB (ratio 2.00:1) Time: 1.613 sec (0 m 1 s) |