Linux Malware Detect vs ClamAV: why we dropped ClamAV
Why Jabali Panel replaced the ClamAV daemon with Linux Malware Detect and YARA-X, and how LMD can use the ClamAV engine. Sourced claims.
Started as a Novell NetWare network administrator 35 years ago; system administrator and web developer for more than 25 years.
Linux Malware Detect (LMD) and ClamAV are two free tools that scan Linux files for malware. People often treat them as rivals. In practice LMD can call the ClamAV engine, so the choice depends on how your host runs them. Jabali Panel used to run the ClamAV daemon. It now runs LMD with YARA-X. This post explains that change and how the two tools relate.
We run Jabali Panel, so read this as a comparison by an interested party. We checked each product claim against the project’s own website, README, licence file, changelog or documentation, fetched on 2026-11-22 (UTC). Where we make a judgement, we label it as ours. We ran no detection, speed or memory tests for this post.
The short answer
Choose Linux Malware Detect if you want a scanner that its project says is “designed around the threats faced in shared hosted environments” [2]. It also suits you if you want YARA rules in the same run [2].
Choose ClamAV if you need an antivirus engine that you run as a service. ClamAV’s documentation describes it as “designed especially for e-mail scanning on mail gateways” [5].
These two lines are our judgement. They are not a ranking.
What each one is
LMD is “a malware scanner for Linux released under the GNU GPLv2 license” [2]. Its README says it “uses threat data from network edge intrusion detection systems” [2]. The README also says LMD “focuses on the malware classes that traditional AV products frequently miss” [2]. That is the project’s claim. We did not test it.
ClamAV’s documentation says that “the core of the package is an anti-virus engine available in a form of shared library” [5]. The package also includes a command-line scanner and a daemon [5][7]. The ClamAV packages page lists the freshclam update tool and the clamdscan client as separate programs [7].
How the two relate
LMD can use the ClamAV engine. It does not need it. When ClamAV scanning is on, LMD’s README says it “selects the best available ClamAV engine in priority order” [2]. The order is a remote clamdscan, a local clamd daemon, then the clamscan binary [2].
The setting scan_clamscan controls this. Its value auto means LMD uses ClamAV only if it finds a binary [2]. The value 0 turns the ClamAV step off [2]. The default is auto [2].
LMD also feeds its signatures to ClamAV. Its README says LMD signatures are “automatically symlinked to ClamAV data directories” when install.sh runs [2]. Its project page says the signatures are “easily exported to ClamAV” [1].
LMD’s YARA step is separate. It runs the yara binary, or yr from YARA-X, “independently of ClamAV” [2]. When both are present, “yr (YARA-X) is preferred” [2].
Our judgement: decide first whether ClamAV runs on your host. Then decide on signatures and rules.
What YARA-X is
YARA-X is a re-incarnation of YARA, according to its README [8]. The README says that “the ultimate goal of YARA-X is replacing YARA as the default pattern matching tool for malware researchers” [8]. The command-line program is named yr [11].
YARA-X is not finished. Its comparison page says that “some features are not implemented yet” [9].
Licence
LMD is licensed under GPL version 2 [2][3]. ClamAV is “licensed under the GNU General Public License, Version 2” [5][6].
YARA-X’s LICENSE file says “Redistribution and use in source and binary forms, with or without modification, are permitted” [10]. Our reading: that is a BSD-style licence with three conditions.
Our judgement: the three licences differ in their terms. Read each licence text before you ship a product that bundles one of them.
What Jabali Panel runs
Jabali Panel does not run the ClamAV daemon. Its docs say the ClamAV daemon and its freshclam update timer were removed [13]. It runs LMD 2.0.1 and YARA-X 1.22.1 [13].
The malware page gives two reasons. One is that there is no daily freshclam download. The other is that scans need less memory [12]. We did not measure memory use for this post, so we do not repeat a figure.
In our setup:
- LMD’s native scanner checks HEX, MD5 and SHA-256 signatures [12].
- YARA-X runs the rfxn rule pack, the signature-base rules and any rules an admin uploads [12].
- The LMD real-time monitor is opt-in. It is off by default [12].
- Hits are moved to a quarantine folder. An admin can restore, delete or download them from the panel [12].
Our judgement: one scanner with web-focused signatures is simpler to run on a shared host. The trade-off is that you give up ClamAV’s own signature set. We did not compare coverage of the two. Check your needs first.
Installation and requirements
LMD installs from its Git repository or from a release tarball. The project page gives an MD5 checksum for the tarball [1]. The README gives an install script [2].
ClamAV is packaged for Linux distributions. Its packages page lists separate programs for updates and for the daemon [7].
Our judgement: running ClamAV as a daemon means more services to watch. LMD’s native scanner avoids that if you do not need clamd.
Where Jabali Panel fits
Jabali Panel shows each detector in its malware page. The page lists the last run, the hits in the last 24 hours and the open file hits [12].
Which one fits which job
These judgements are ours.
- Shared PHP hosting with on-demand scans of customer files: LMD with YARA-X. This is Jabali’s choice.
- A mail gateway or upload service that needs a scanner daemon: ClamAV, which its docs describe for mail gateways [5].
- A host that wants both engines: LMD can call ClamAV when it is installed [2]. Test both on a copy of your files first.
Common questions
Does LMD need ClamAV?
No. LMD has its own native scanner [2]. The ClamAV step runs only when the setting allows it and a binary is found [2]. Jabali’s installer turns that step off.
Is LMD free?
Yes. LMD is licensed under GPL version 2 [2][3].
Does Jabali Panel still use ClamAV?
No. The ClamAV daemon and its freshclam timer were removed [13].
Read next
- Mailu vs mailcow: mailcow lists ClamAV as an optional antivirus scanner.
- Malware scanning in Jabali Panel: the detectors, quarantine and CLI.
- Components: the full third-party list.
- phpMyAdmin vs Adminer: another comparison of tools that Jabali runs.
Sources and check dates
All sources were fetched on 2026-11-22 (UTC).
- LMD project page, rfxn: https://www.rfxn.com/projects/linux-malware-detect/
- LMD README: https://raw.githubusercontent.com/rfxn/linux-malware-detect/master/README.md
- LMD licence, GPL version 2: https://raw.githubusercontent.com/rfxn/linux-malware-detect/master/COPYING.GPL
- LMD changelog: https://raw.githubusercontent.com/rfxn/linux-malware-detect/master/CHANGELOG
- ClamAV documentation, home page: https://docs.clamav.net/
- ClamAV README: https://raw.githubusercontent.com/Cisco-Talos/clamav/main/README.md
- ClamAV packages page: https://docs.clamav.net/manual/Installing/Packages.html
- YARA-X README: https://raw.githubusercontent.com/VirusTotal/yara-x/main/README.md
- YARA-X documentation, YARA-X vs YARA: https://virustotal.github.io/yara-x/docs/intro/yara-x-vs-yara/
- YARA-X licence file: https://raw.githubusercontent.com/VirusTotal/yara-x/main/LICENSE
- YARA-X CLI manifest: https://raw.githubusercontent.com/VirusTotal/yara-x/main/cli/Cargo.toml
- Jabali Panel docs, Malware Scanning: https://jabali-panel.com/docs/admin/malware/
- Jabali Panel docs, Components: https://jabali-panel.com/docs/platform/components/