No Malware Scanner Installed
Checks the installed package list for a malware scanner.
- Why It Matters
- Servers that accept uploads or mail can store malicious files for other systems to fetch. A scanner finds known samples, and it cannot find new ones.
- How It Detects
- Reads the installed package list, the same list the package checks use, and looks for clamav, clamd, clamav-daemon, clamscan. It reads no other file and runs no scan of its own. If no package list can be read, the result is Incomplete.
- How to Fix
- Install ClamAV (clamav or clamd), keep its signatures updated and scan upload and mail folders on a schedule.
- How to Verify
Re-run this check. It passes once one of the named packages is installed. It says nothing about whether the machine is clean.- CVSS v3.1 Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N- Control Category
- Secure Configuration: CIS Controls v8 4; NIST CSF 2.0 PR.PS
- Fix Effort
- Low
- CIS Controls v8 Safeguard
- 4.1
- NIST CSF 2.0 Subcategory
- PR.PS-01
- CWE
- CWE-434
- NIST SP 800-53 Rev. 5
- SI-3
- References
- NIST SP 800-83 Rev. 1, Guide to Malware Incident Prevention and Handling
Source Code
The complete file that defines this check. Run it with openvapt scan --only HOST-MAL-002, or read it offline with openvapt explain HOST-MAL-002.
internal/checks/host/malware_tools.go · Lines 1-51View on GitHub at This Commit
| 1 | package host |
| 2 | |
| 3 | import ( |
| 4 | "context" |
| 5 | "strings" |
| 6 | |
| 7 | "github.com/openvapt/openvapt/internal/check" |
| 8 | "github.com/openvapt/openvapt/internal/sys" |
| 9 | ) |
| 10 | |
| 11 | func init() { |
| 12 | for _, spec := range []struct { |
| 13 | id, title, what, why, fix, cwe string |
| 14 | names []string |
| 15 | ref check.Ref |
| 16 | }{ |
| 17 | {"HOST-MAL-001", "No Rootkit Scanner Installed", "rootkit scanner", "A rootkit hides files, processes and accounts from ordinary tools. A scanner gives one more independent view, though a good rootkit can still hide from it, so it never proves a machine is clean.", |
| 18 | "Install rkhunter or chkrootkit from your distribution, and run it on a schedule with its results sent off the machine.", "CWE-778", []string{"rkhunter", "chkrootkit"}, |
| 19 | check.Ref{Title: "NIST SP 800-83 Rev. 1, Guide to Malware Incident Prevention and Handling", URL: "https://csrc.nist.gov/pubs/sp/800/83/r1/final"}}, |
| 20 | {"HOST-MAL-002", "No Malware Scanner Installed", "malware scanner", "Servers that accept uploads or mail can store malicious files for other systems to fetch. A scanner finds known samples, and it cannot find new ones.", |
| 21 | "Install ClamAV (clamav or clamd), keep its signatures updated and scan upload and mail folders on a schedule.", "CWE-434", []string{"clamav", "clamd", "clamav-daemon", "clamscan"}, |
| 22 | check.Ref{Title: "NIST SP 800-83 Rev. 1, Guide to Malware Incident Prevention and Handling", URL: "https://csrc.nist.gov/pubs/sp/800/83/r1/final"}}, |
| 23 | } { |
| 24 | x := spec |
| 25 | check.Register(&check.Check{ |
| 26 | ID: x.id, Title: x.title, Domain: check.DomainHost, Severity: check.Low, Category: check.CatConfig, Effort: check.EffortLow, |
| 27 | CVSS: "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N", |
| 28 | Summary: "Checks the installed package list for a " + x.what + ".", |
| 29 | Rationale: x.why, |
| 30 | Detection: "Reads the installed package list, the same list the package checks use, and looks for " + strings.Join(x.names, ", ") + ". It reads no other file and runs no scan of its own. If no package list can be read, the result is Incomplete.", |
| 31 | Fix: x.fix, |
| 32 | Verify: "Re-run this check. It passes once one of the named packages is installed. It says nothing about whether the machine is clean.", |
| 33 | Refs: []check.Ref{x.ref}, |
| 34 | Standards: check.Standards{CWE: []string{x.cwe}, NIST: []string{"SI-3"}}, |
| 35 | Run: func(ctx context.Context, s sys.System) []check.Result { |
| 36 | pkgs, ok := installedPackages(ctx, s) |
| 37 | if !ok { |
| 38 | return []check.Result{check.IncompleteR("installed packages", "No package database could be read")} |
| 39 | } |
| 40 | for _, p := range pkgs { |
| 41 | for _, n := range x.names { |
| 42 | if p.Name == n { |
| 43 | return []check.Result{check.PassR(n, "Installed: "+n)} |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | return []check.Result{check.FailR("installed packages", "No "+x.what+" package is installed", "looked for: "+strings.Join(x.names, ", "))} |
| 48 | }, |
| 49 | }) |
| 50 | } |
| 51 | } |
Also available as plain Markdown for notes, scripts and AI tools. Same facts, same source, no styling.
Cite This Page
If this page helped your work, please cite it. The version and web address are filled in; the access date is today's date in your browser. Every other style, and when credit is required, is on How to Cite OpenVAPT.
OpenVAPT. (2026). HOST-MAL-002 No Malware Scanner Installed (Version 0.2.0-alpha.1). OpenVAPT Check Catalogue. Retrieved November 4, 2026, from https://openvapt.com/checks/HOST-MAL-002.html
In text: (OpenVAPT, 2026). Accessed: the date shown is today's date from your own browser (the site's build date without JavaScript); change it to the day you read the page.
@misc{openvapt_host_mal_002,
author = {{OpenVAPT}},
title = {{HOST-MAL-002 No Malware Scanner Installed}},
year = {2026},
howpublished = {\url{https://openvapt.com/checks/HOST-MAL-002.html}},
note = {OpenVAPT Check Catalogue, version 0.2.0-alpha.1. Accessed 4 November 2026}
}
Accessed: the date shown is today's date from your own browser (the site's build date without JavaScript); change it to the day you read the page.
Citing OpenVAPT does not mean OpenVAPT endorses, approves or has reviewed your work.