Antivirus

From Blue-IT.org Wiki

Revision as of 17:21, 30 June 2015 by Apos (talk | contribs) (Crash on 64bit system)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Antivirus engines are not only common with windows. Also with linux it is necessary to scan dokuments an files. Even more important, since plattform independent viruses and worms are getting more common due to framework based software engeneering:

Read about:

  • ClamAV
  • Free Avast
  • Free AVG
  • F-Prot
  • Bit Defender

I by myself am using clamav and bitdefender due to its very good integration in the debian package system

ClamAV

Use the Ubuntu software center ;-)

Bit Defender

sudo echo "deb http://download.bitdefender.com/repos/deb/ bitdefender non-free" >> /etc/apt/sources.list.d/bitdefender.list
wget http://download.bitdefender.com/repos/deb/bd.key.asc 
sudo apt-key add bd.key.asc
rm bd.key.asc
apt-get update && \ 
sudo apt-get install bitdefender-scanner-gui bitdefender-samba bitdefender-mail

Crash on 64bit system

Due to a problem in 64bit environment do

rm /opt/BitDefender-scanner/var/lib/scan/bdcore.so
ln -s /opt/BitDefender-scanner/var/lib/scan/bdcore.so.linux-x86_64 /opt/BitDefender-scanner/var/lib/scan/bdcore.so
sudo bash
rm /opt/BitDefender-scanner/var/lib/scan/bdcore.so
cat /opt/BitDefender-scanner/var/lib/scan/versions.dat.* |awk '/bdcore.so.linux/{print $3}'|while read bdcore_so;do touch /opt/BitDefender-scanner/var/lib/scan/$bdcore_so;bdscan  --update;ln -s /opt/BitDefender-scanner/var/lib/scan/$bdcore_so /opt/BitDefender-scanner/var/lib/scan/bdcore.so;done
exit

Tip: if that did not work, first run

bdscan --update

in a terminal and accept the licence!