Fedora 10
Sponsored Link

アンチウィルスの導入2008/11/30

  アンチウィルスのソフトを導入します。使うのは Clam AntiVirus というソフトです。
[root@mail ~]#
yum -y install clamav clamav-update


[root@mail ~]#
vi /etc/freshclam.conf


# 8行目:コメントにする

#
Example

[root@mail ~]#
freshclam
# 定義ファイル更新

ClamAV update process started at Sun Nov 30 18:32:39 2008
main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven)
WARNING: Removing corrupted incremental directory daily.inc
WARNING: Removing obsolete daily.cvd
Downloading daily.cvd [100%]
daily.cvd updated (version: 4746, sigs: 34671, f-level: 21, builder: ccordes)
Database updated (167834 signatures) from database.clamav.net (IP: 61.205.61.201)
# 初回のみ上記のようなエラーが出るが問題ない


[root@mail ~]#
clamscan --infected --remove --recursive /home


----------- SCAN SUMMARY -----------
Known viruses: 468855
Engine version: 0.94.1
Scanned directories: 23
Scanned files: 33
Infected files: 0
Data scanned: 0.16 MB
Time: 2.721 sec (0 m 2 s)
# お試し無害ウィルスをダウンロードして試しにスキャンしてみる

[root@mail ~]#
wget http://www.eicar.org/download/eicar.com


[root@mail ~]#
clamscan --infected --remove --recursive .

./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed

----------- SCAN SUMMARY -----------
Known viruses: 468855
Engine version: 0.94.1
Scanned directories: 5
Scanned files: 12
Infected files: 1
# しっかり検出している

Data scanned: 0.02 MB
Time: 2.599 sec (0 m 2 s)
関連コンテンツ