CentOS 5
Sponsored Link

アンチウィルスの導入2015/01/13

  アンチウィルスソフトウェア Clam AntiVirus をインストールします。
[root@dlp ~]#
yum --enablerepo=epel -y install clamav
 
# EPELからインストール
[root@dlp ~]#
freshclam
   
# 定義ファイル更新

ClamAV update process started at Sun Jun 26 01:55:08 2011
main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cld is up to date (version: 13239, sigs: 130903, f-level: 60, builder: guitar)
bytecode.cvd is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin)
# 試しにスキャンしてみる

[root@dlp ~]#
clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 3727340
Engine version: 0.98.5
Scanned directories: 5
Scanned files: 16
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 11.643 sec (0 m 11 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: 3727340
Engine version: 0.98.5
Scanned directories: 1
Scanned files: 18
Infected files: 1
Data scanned: 0.04 MB
Data read: 0.03 MB (ratio 1.57:1)
Time: 11.305 sec (0 m 11 s)
関連コンテンツ