Pi – Security

Install an antivirus scanner

Download it: sudo apt install clamav

Update it: sudo freshclam (if it fails run this first and try again: sudo pkill -15 -x freshclam)


Install a malware checker

Download it: sudo apt install rkhunter

Update it: 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

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 )

Google photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s