Clamav アンチウィルス インストール2021/03/08 |
ウィルスからシステムを保護する Clam AntiVirus をインストールします。
|
|
[1] | Clamav をインストールします。 |
[root@dlp ~]#
vi /etc/freshclam.conf # 8行目:コメントにする (もし有効行な場合) # Example
# 定義ファイル手動更新 [root@dlp ~]# freshclam ClamAV update process started at Mon Mar 8 09:22:35 2021 daily database available for update (local version: 26100, remote version: 26101) Current database is 1 version behind. Downloading database patch # 26101... Time: 0.1s, ETA: 0.0s [========================>] 7.80KiB/7.80KiB Testing database: '/var/lib/clamav/tmp.086b237326/clamav-0164a8d6fcb12ded8f5b7d347d283799.tmp-daily.cld' ... Database test passed. daily.cld updated (version: 26101, sigs: 3958228, f-level: 63, builder: raynman) main.cvd database is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr) bytecode.cvd database is up to date (version: 332, sigs: 93, f-level: 63, builder: awillia2) |
[2] | 動作確認としてスキャンを実行します。 |
# /home をスキャン [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 8507879 Engine version: 0.103.0 Scanned directories: 2 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 14.989 sec (0 m 14 s) Start Date: 2021:03:07 09:23:26 End Date: 2021:03:07 09:23:41[root@dlp ~]# clamscan --infected --remove --recursive . # お試しウィルスが検出され削除された /root/eicar.com: Win.Test.EICAR_HDB-1 FOUND /root/eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 8507879 Engine version: 0.103.0 Scanned directories: 1 Scanned files: 9 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 14.991 sec (0 m 14 s) Start Date: 2021:03:07 09:24:55 End Date: 2021:03:07 09:25:10 |
Sponsored Link |