Clam AntiVirus : インストール2021/08/19 |
アンチウィルスソフトウェア Clam AntiVirus をインストールします。
|
|
[1] | Clamav をインストールします。 |
root@dlp:~#
apt -y install clamav
root@dlp:~#
sed -i -e "s/^NotifyClamd/#NotifyClamd/g" /etc/clamav/freshclam.conf root@dlp:~# systemctl stop clamav-freshclam
# パターンファイル手動更新 root@dlp:~# freshclam Thu Aug 19 14:54:04 2021 -> ClamAV update process started at Thu Aug 19 14:54:04 2021 Thu Aug 19 14:54:04 2021 -> daily.cvd database is up-to-date (version: 26267, sigs: 1966936, f-level: 90, builder: raynman) Thu Aug 19 14:54:04 2021 -> main.cvd database is up-to-date (version: 61, sigs: 6607162, f-level: 90, builder: sigmgr) Thu Aug 19 14:54:04 2021 -> bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2)root@dlp:~# systemctl start clamav-freshclam
|
[2] | 動作確認としてスキャンを実行します。 |
root@dlp:~# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 8558867 Engine version: 0.103.2 Scanned directories: 2 Scanned files: 4 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 17.884 sec (0 m 17 s) Start Date: 2021:08:19 14:55:49 End Date: 2021:08:19 14:56:06 # お試し無害ウィルスをダウンロード
root@dlp:~#
root@dlp:~# wget http://www.eicar.org/download/eicar.com clamscan --infected --remove --recursive ./
/root/eicar.com: Win.Test.EICAR_HDB-1 FOUND
/root/eicar.com: Removed. # 削除された
----------- SCAN SUMMARY -----------
Known viruses: 8558867
Engine version: 0.103.2
Scanned directories: 1
Scanned files: 5
Infected files: 1
Data scanned: 0.01 MB
Data read: 0.00 MB (ratio 2.00:1)
Time: 18.336 sec (0 m 18 s)
Start Date: 2021:08:19 14:56:31
End Date: 2021:08:19 14:56:50
|
Sponsored Link |
|