Fedora 11
Sponsored Link

アンチウィルスの導入
2009/06/11
  アンチウィルスのソフトを導入します。使うのは 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: 572049
Engine version: 0.95.1
Scanned directories: 9
Scanned files: 8
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.793 sec (0 m 0 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: 572049
Engine version: 0.95.1
Scanned directories: 4
Scanned files: 10
Infected files: 1
# しっかり検出

Data scanned: 0.04 MB
Data read: 0.02 MB (ratio 2.00:1)
Time: 0.817 sec (0 m 0 s)
関連コンテンツ
 
Tweet