| Field | Detail |
|---|---|
| Summary | Scan hosts for known vulnerabilities (open-source, NVTs) |
| Category | Vulnerability scanning |
| Phase | scanning, vulnerability-analysis |
| Interface | Web UI (+ CLI) |
| Platform | Linux |
| Licence | Open source (GPL; Greenbone Enterprise is commercial) |
| Docs | https://greenbone.github.io/docs/ |
| Related | Nessus, Nmap, Searchsploit and Exploit-DB, Reporting and engagement management |
The fully open-source vulnerability scanner — the FOSS counterpart to Nessus. "OpenVAS" is the scanner engine; the whole stack is the Greenbone Vulnerability Manager (GVM), driven from the Greenbone Security Assistant (GSA) web UI. Uses NVTs (Network Vulnerability Tests) instead of Nessus plugins.
⚠️ Warning — Same fragility caveats as any scanner Active checks can crash fragile/OT kit. Use low concurrency and ICS-awareness near anything industrial (see OT-ICS testing methodology and safety); in scope only.
Setup
# Kali
sudo apt install gvm
sudo gvm-setup # first-time: creates DB, downloads feeds (SLOW — NVTs/CVE/SCAP)
sudo gvm-check-setup # verify everything's healthy
sudo gvm-feed-update # refresh NVT/SCAP/CERT feeds (do before a real scan)
sudo gvm-start # start services -> UI on https://127.0.0.1:9392
# admin password is printed during gvm-setup; reset with:
sudo runuser -u _gvm -- gvmd --user=admin --new-password='NewPass'
Workflow (GSA web UI)
- Configuration → Targets → New Target: hosts/CIDR, port list, optional credentials (SSH/SMB) for authenticated scans.
- Scans → Tasks → New Task: pick the target + a Scan Config.
- Run the task; watch progress.
- Scans → Reports → open results, filter by severity, export.
Scan configs (≈ Nessus templates)
| Config | Use |
|---|---|
| Discovery | Host/service discovery, no vuln checks |
| Host Discovery | Just find live hosts |
| System Discovery | Identify OS/devices |
| Full and fast | Default general scan (good starting point) |
| Full and very deep | Thorough, much slower, more intrusive |
| Empty | Build your own from NVT families |
Authenticated scanning
As with Nessus, credentials massively improve accuracy:
- Credentials section → add SSH (Linux) / SMB (Windows) creds → attach to the Target.
- Confirm the report shows authenticated checks ran (local security checks populated), else you effectively did an unauthenticated scan.
CLI (gvm-tools) for automation
pip install gvm-tools
gvm-cli --gmp-username admin --gmp-password 'Pass' socket --xml "<get_version/>"
# scripts via gvm-script for creating targets/tasks and pulling reports as XML
Reading & exporting
- Severity uses CVSS; each result has NVT detail, affected service, solution, references (CVE/CERT).
- Export PDF/XML/CSV; the XML imports into reporting tools (see Reporting and engagement management).
- Validate before reporting — like all scanners it produces false positives (banner/version guesses); confirm with Nmap NSE and manual checks, cross-ref Searchsploit and Exploit-DB.
OpenVAS vs Nessus
| OpenVAS/Greenbone | Nessus | |
|---|---|---|
| Cost | Free (community) | Free Essentials (16 IPs) / paid Pro |
| Checks | NVTs (open feed) | Tenable plugins |
| Setup | Heavier (feed sync) | Simpler installer |
| Industry use | Common where budget/openness matters | De-facto commercial standard |
Know both: Nessus dominates industry reports, OpenVAS is the no-licence option for labs and cost-sensitive clients.
More GMP / gvm-tools
# GMP (Greenbone Management Protocol) queries over the local socket
gvm-cli socket --xml "<get_tasks/>" # tasks + status
gvm-cli socket --xml "<get_results filter='severity>7 rows=100'/>" # high-sev results
gvm-cli socket --xml "<get_reports/>"
gvm-cli socket --xml "<get_configs/>" # scan-config UUIDs
gvm-cli socket --xml "<get_scanners/>"
# Export one report in a given format (get format UUIDs from <get_report_formats/>)
gvm-cli socket --xml "<get_reports report_id='RPT-UUID' format_id='PDF-UUID'/>" > report.pdf
# Repeatable task creation/launch via the bundled Python scripts
gvm-script --gmp-username admin --gmp-password 'pass' socket create-and-start-task.gmp.py
Default socket is /run/gvmd/gvmd.sock (add socket --socketpath <path> if yours differs). <get_report_formats/> lists the PDF/CSV/XML format UUIDs you plug into exports.
Kill-chain usage
Scanning
# Host Discovery scan config -> live hosts & ports
Vulnerability analysis
# Full and fast (credentialed) -> CVSS-scored findings
Where it fits
Same slot as Nessus in the scanning/vuln-analysis phase — reach for it when you want a free, self-hosted scanner. Feed it live hosts from Nmap, validate findings manually, and export into Reporting and engagement management.