Clamav AntiVirus : Install2023/03/03 |
Install Clam AntiVirus to protect your System from Virus.
|
|
[1] | Install Clamav. |
[root@dlp ~]#
vi /etc/freshclam.conf # line 8 : comment out if it enabled # Example
# update pattern files manually [root@dlp ~]# freshclam ClamAV update process started at Fri Mar 11 02:18:10 2022 daily database available for download (remote version: 26477) Time: 1.8s, ETA: 0.0s [========================>] 55.31MiB/55.31MiB Testing database: '/var/lib/clamav/tmp.9a1ebd3fbe/clamav-20d5f85036153e8680fc7c7a96abcc1a.tmp-daily.cvd' ... Database test passed. daily.cvd updated (version: 26477, sigs: 1975702, f-level: 90, builder: raynman) main database available for download (remote version: 62) Time: 19.0s, ETA: 0.0s [========================>] 162.58MiB/162.58MiB Testing database: '/var/lib/clamav/tmp.9a1ebd3fbe/clamav-7af2aea2bc48f071d921964027b62615.tmp-main.cvd' ... Database test passed. main.cvd updated (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) bytecode database available for download (remote version: 333) Time: 0.2s, ETA: 0.0s [========================>] 286.79KiB/286.79KiB Testing database: '/var/lib/clamav/tmp.9a1ebd3fbe/clamav-8d6cfea8ff85b8ea3247613391bd78f1.tmp-bytecode.cvd' ... Database test passed. bytecode.cvd updated (version: 333, sigs: 92, f-level: 63, builder: awillia2) |
[2] | Try to scan System. |
# scan /home [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 8607773 Engine version: 0.103.5 Scanned directories: 5 Scanned files: 6 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 17.463 sec (0 m 17 s) Start Date: 2022:03:11 02:19:29 End Date: 2022:03:11 02:19:47[root@dlp ~]# clamscan --infected --remove --recursive . # just detected and removed /root/eicar.com: Win.Test.EICAR_HDB-1 FOUND /root/eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 8607773 Engine version: 0.103.5 Scanned directories: 1 Scanned files: 13 Infected files: 1 Data scanned: 0.03 MB Data read: 0.02 MB (ratio 1.75:1) Time: 17.433 sec (0 m 17 s) Start Date: 2022:03:11 02:20:30 End Date: 2022:03:11 02:20:48 |
|