Malware Scanning (ClamAV & Vinza Scanner)
Malware Scanning
VinzaPanel offers two antivirus apps in the Vinza Store. You can run either one, or both side by side.
| ClamAV Antivirus | Vinza Scanner | |
|---|---|---|
| Engine | Open-source ClamAV (millions of signatures, kept current by freshclam) | VinzaPanel's own Go engine: SHA-256 hashes, webshell/backdoor/miner signatures and a signed central feed |
| Real-time | On-access scanning (clamonacc) of website folders | inotify watcher of the folders you choose |
| Memory | The daemon needs about 1.5 GB of RAM | Lightweight |
| Availability | Free, every plan | Premium app: included with the Enterprise plan, or bought on VinzaWeb (see pricing) |
| Sidebar | Security → Antivirus (/apps/clamav/) | Security → Vinza Scanner (/apps/vinza-scanner/) |
Install either from the Vinza Store. The ClamAV app installs the clamav, clamav-daemon and clamav-freshclam packages if they are missing and pulls a first signature database.
ClamAV Antivirus
The page has the tabs Overview, Scan, Quarantine, Real-time, Schedule & Alerts and Info.
Daemon and signatures
Use the buttons at the top of the page to Start, Stop or Restart the daemon and Update signatures (runs freshclam now). Self-test scans a harmless EICAR test file to confirm detection works. While the daemon runs, scans use clamdscan; when it is stopped they fall back to a standalone clamscan, which is slower but still works.
Scan now
- Open Scan.
- Enter a path, use Browse, or quick-pick a website.
- Optionally tick Quarantine infected files.
- Click Scan now and follow the progress bar. Very large folders may show a bar without a percentage.
Scheduled scans and alerts
- Open Schedule & Alerts and tick Enable scheduled scanning.
- Set Frequency (Daily or Weekly with a day), Time (hour), and What to scan: All websites or Custom paths.
- Under Exclude folders, list folder names to skip (comma-separated), such as build caches and dependencies. This also speeds up manual scans.
- Choose what happens When a threat is found: Show a panel notification, Send an email, and optionally Quarantine infected files automatically.
- Click Save schedule. Run now starts it immediately in the background.
Clean runs stay silent; Scan History keeps the recent results. Threats also reach the channels under Settings → Alert Channels.
Real-time and mail scanning
On Real-time, turn on Scan website files as they are written or opened. It watches the website folders (/home/<user>/web, which also holds FTP uploads) plus any Extra folders. Choose Alert only (log + notification) or Alert and move the file to quarantine. Access is never blocked.
With the Mail Server app installed, Incoming Mail Scanning (Rspamd) can Reject infected messages or Accept, mark as virus (score). Both real-time and mail scanning need the daemon running.
Quarantine
Infected files are moved to /var/lib/vinza-quarantine. On the Quarantine tab you can Restore a file to where it was found, with its original owner and permissions (only if nothing exists at that path now), Delete it, or Delete all.
Vinza Scanner
The page has the tabs Scan, Detections, Quarantine, Protection, Signatures and Ignore list. Vinza Scanner is marked as beta on its page.
- Scan: scan a path on demand, optionally with Quarantine infected. Quarantined files go to
/var/quarantine/vinza-scanner. - Detections: every hit from manual, real-time and scheduled scans, filterable by text, severity, source and quarantine status.
- Protection: start, stop or restart the Real-time watch (
vinza-scanner-watch), set the watched folders as comma-separated absolute paths and Save paths. New and changed files there are scanned instantly and quarantined on a match. The Scheduled full scan runs daily or weekly at a chosen hour, as root from cron. - Signatures: Sync the central feed (a feed that is unsigned or badly signed is refused) and Upload virus sample: the file's SHA-256 is registered and the sample itself is not stored.
- Ignore list: for false positives, ignore one file (by path and SHA-256, so it is scanned again as soon as it changes) or one signature everywhere.
- Quarantine: restore a file to its original path, owner and mode (never over an existing file, only into account homes or
/var/www), or delete it.
What website owners can do
- ClamAV: scan and follow progress only inside their own document roots. Everything else is admin only.
- Vinza Scanner: scan inside their own home folder and see only the detections there. Their scans never quarantine. The watcher, its folders, the quarantine and the ignore list are admin only.
Both apps alert the administrators, and the account whose files are affected, under the bell.
Tips and troubleshooting
- Scan a website's document root after uploads or a migration to catch web shells early.
- A restored file will be flagged again on the next ClamAV scan unless it is clean. Vinza Scanner does not flag a restored file again while it stays unchanged.
- If ClamAV warns that memory is short, keep the daemon off and rely on standalone and scheduled scans, or use Vinza Scanner for real-time protection.
- Site Lock scans the files it sees changing with both engines when they are installed.