Clam AntiVirus インストール2024/05/08 |
アンチウィルスソフトウェア 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 ClamAV update process started at Wed May 8 14:09:44 2024 Wed May 8 14:09:44 2024 -> daily.cvd database is up-to-date (version: 27268, sigs: 2060748, f-level: 90, builder: raynman) Wed May 8 14:09:44 2024 -> main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) Wed May 8 14:09:44 2024 -> bytecode.cvd database is up-to-date (version: 335, sigs: 86, f-level: 90, builder: raynman)root@dlp:~# systemctl start clamav-freshclam
|
[2] | 動作確認としてスキャンを実行します。 |
root@dlp:~# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 8692578 Engine version: 1.0.5 Scanned directories: 4 Scanned files: 4 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 12.707 sec (0 m 12 s) Start Date: 2024:05:08 14:10:34 End Date: 2024:05:08 14:10:47 # お試し無害ウィルスをダウンロード
root@dlp:~#
root@dlp:~# wget https://files.trendmicro.com/products/eicar-file/eicar.com clamscan --infected --remove --recursive ./ /root/eicar.com: Win.Test.EICAR_HDB-1 FOUND /root/eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 8692578 Engine version: 1.0.5 Scanned directories: 3 Scanned files: 6 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 12.682 sec (0 m 12 s) Start Date: 2024:05:08 14:11:55 End Date: 2024:05:08 14:12:08 |
Sponsored Link |