Clamav

From UVOO Tech Wiki
Revision as of 17:15, 6 November 2021 by Busk (talk | contribs)
Jump to navigation Jump to search
apt-get install -y clamav clamav-daemon
systemctl stop clamav-freshclam
freshclam
systemctl start clamav-freshclam
systemctl enable clamav-freshclam
ls /var/lib/clamav/
mkdir /test
echo "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" > /test/malware-sig-test-eicar.txt
# clamscan --infected --recursive /test | tee clamscan.log  # --remove
clamscan --infected --recursive /test

vim /etc/clamav/freshclam.conf

# Check for new database 24 times a day
Checks 24

Ref: