- Description: ClamAV is a powerful open-source antivirus engine that scans for malware, including Windows viruses. It’s lightweight and widely used.
- Installation:
sudo dnf install clamav clamav-update
- Update Virus Definitions:
sudo freshclam
- Run a Scan:
sudo clamscan -r /path/to/scan
- Graphical Frontend (ClamTK):
sudo dnf install clamtk
- Description: rkhunter scans for rootkits, backdoors, and other malicious software.
- Installation:
sudo dnf install rkhunter
- Update Database:
sudo rkhunter --update
- Run a Scan:
sudo rkhunter --check
- Description: Lynis is a security auditing tool that scans for vulnerabilities and provides hardening recommendations.
- Installation:
sudo dnf install lynis
- Run a Scan:
sudo lynis audit system
- Description: chkrootkit is a lightweight tool for detecting rootkits.
- Installation:
sudo dnf install chkrootkit
- Run a Scan:
sudo chkrootkit
- Description: Sophos provides a free version of its antivirus software for Linux. It’s not open-source but is free for personal use.
- Installation:
- Download the installer from the Sophos website.
- Extract and run the installer:
tar -xzvf sav-linux-free-9.tgz cd sav-linux-free-9 sudo ./install.sh
- Update virus definitions:
sudo /opt/sophos-av/bin/savupdate
- Run a scan:
sudo /opt/sophos-av/bin/savscan /path/to/scan
- Description: Comodo offers a free antivirus solution for Linux with both CLI and GUI options.
- Installation:
- Download the installer from the Comodo website.
- Install the package:
sudo dnf install ./comodo-antivirus-for-linux.rpm
- Launch the GUI or use the CLI for scanning.
- Description: Firejail is not an antivirus but a sandboxing tool that adds an extra layer of security by isolating applications.
- Installation:
sudo dnf install firejail
- Usage:
Run any application in a sandbox:
firejail firefox
- Description: Fedora comes with SELinux (Security-Enhanced Linux) enabled by default. It provides mandatory access control (MAC) to enhance security.
- Check Status:
sestatus
- Manage SELinux:
Use tools like
setenforce
,getenforce
, andsemanage
to configure SELinux policies.
- For Malware Scanning: Use ClamAV for general malware scanning and Sophos for more advanced features.
- For Rootkit Detection: Use rkhunter or chkrootkit.
- For System Hardening: Use Lynis to audit and secure your system.
- For Sandboxing: Use Firejail to isolate applications.