ClamAV is an open-source antivirus engine designed for detecting trojans, viruses, malware, and other malicious threats. It is particularly popular for mail gateway scanning and file server protection.
📑 Table of Contents
Key Features
- Signature Database: Regular updates for new threats
- Multiple Scan Modes: On-demand and on-access scanning
- Archive Support: Scan inside compressed files
- Mail Integration: Integration with mail servers
- Cross-Platform: Linux, BSD, macOS, and Windows
Installation
Install ClamAV on Ubuntu:
sudo apt update
sudo apt install clamav clamav-daemon
sudo systemctl stop clamav-freshclam
sudo freshclam
sudo systemctl start clamav-freshclam clamav-daemon
Usage Examples
Scan files and directories:
# Scan a directory
clamscan -r /home/user/downloads
# Scan and remove infected files
clamscan -r --remove /var/www
# Scan with progress
clamscan -r --bell -i /path/to/scan
Benefits
ClamAV provides enterprise-grade malware detection without licensing costs. Its open-source nature allows customization while regular signature updates ensure protection against current threats.
Was this article helpful?