Raspberry Pi – Guide to configuring Security (Anti-Virus + Anti-Malware)

Shell instructions as follows:

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 “Raspberry Pi – Guide to configuring Security (Anti-Virus + Anti-Malware)

Leave a reply to SoloRider Cancel reply