Pi – Security (AntiVirus + AntiMalware)

Install an antivirus scanner

sudo apt install clamav
sudo pkill -15 -x freshclam
sudo freshclam

Caution: Scanning will heavily impact the CPU of your Raspberry Pi

Install a malware checker

sudo apt install rkhunter
sudo rkhunter −−update

If the update fails, update the following file: /etc/rkhunter.conf as below:

change UPDATE_MIRRORS=0 to UPDATE_MIRRORS=1
change MIRRORS_MODE=1 to MIRRORS_MODE=0
change WEB_CMD="/bin/false" to WEB_CMD=""

Run a full automated rootkit verification check of your system with only issues highlighted:

sudo rkhunter -c --enable all --rwo --sk

One thought on “Pi – Security (AntiVirus + AntiMalware)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s