Tool Documentation:

Screenshots

gvm


Packages and Binaries:

gvm

The Greenbone Vulnerability Manager is a modular security auditing tool, used for testing remote systems for vulnerabilities that should be fixed.

This package installs all the required packages. It provides scripts to setup, start and stop the GVM services.

The tool was previously named OpenVAS.

Installed size: 48 KB
How to install: sudo apt install gvm

Dependencies:
  • gsad
  • gvmd
  • notus-scanner
  • openvas-scanner
  • ospd-openvas
  • psmisc
  • rsync
  • xsltproc
gvm-check-setup
root@kali:~# gvm-check-setup -h
gvm-check-setup 25.04.0
 This script is provided and maintained by Debian and Kali.
  Test completeness and readiness of GVM-25.04.0
Step 1: Checking OpenVAS (Scanner)... 
        OK: OpenVAS Scanner is present in version 23.20.1.
        OK: Notus Scanner is present in version 22.6.5.
        OK: Server CA Certificate is present as /var/lib/gvm/CA/servercert.pem.
Checking permissions of /var/lib/openvas/gnupg/*
        OK: _gvm owns all files in /var/lib/openvas/gnupg
        OK: redis-server is present.
        OK: scanner (db_address setting) is configured properly using the redis-server socket: /var/run/redis-openvas/redis-server.sock
        OK: the mqtt_server_uri is defined in /etc/openvas/openvas.conf
        ERROR: Directories containing the NVT collection not found.
        FIX: Run the NVT synchronization script greenbone-feed-sync.
        sudo greenbone-feed-sync --type nvt

 ERROR: Your GVM-25.04.0 installation is not yet complete!

Please follow the instructions marked with FIX above and run this
script again.

 IMPORTANT NOTE: this script is provided and maintained by Debian and Kali.
 If you find any issue in this script, please report it directly to Debian or Kali

gvm-feed-update
root@kali:~# gvm-feed-update -h
[>] This script is now deprecated
[>] Please use 'sudo greenbone-feed-sync' instead

gvm-setup
root@kali:~# gvm-setup -h
This script is provided and maintained by Debian and Kali.
 If you find any issue in this script, please report it directly to Debian or Kali

[>] Starting PostgreSQL service

[>] Creating GVM's certificate files

[>] Creating PostgreSQL database
[i] User _gvm already exists in PostgreSQL
[i] Database gvmd already exists in PostgreSQL
[i] Role DBA already exists in PostgreSQL

[*] Applying permissions
GRANT ROLE
[i] Extension uuid-ossp already exists for gvmd database
[i] Extension pgcrypto already exists for gvmd database
[i] Extension pg-gvm already exists for gvmd database
[>] Migrating database
[>] Checking for GVM admin user
[*] Configure Feed Import Owner
[*] Define Feed Import Owner

gvm-start
root@kali:~# gvm-start -h
[>] Please wait for the GVM services to start.
[>]
[>] You might need to refresh your browser once it opens.
[>]
[>]  Web UI (Greenbone Security Assistant): https://127.0.0.1:9392


gvm-stop
root@kali:~# gvm-stop -h
[>] Stopping GVM services
* gsad.service - Greenbone Security Assistant daemon (gsad)
     Loaded: loaded (/usr/lib/systemd/system/gsad.service; disabled; preset: disabled)
     Active: inactive (dead)
       Docs: man:gsad(8)
             https://www.greenbone.net

* gvmd.service - Greenbone Vulnerability Manager daemon (gvmd)
     Loaded: loaded (/usr/lib/systemd/system/gvmd.service; disabled; preset: disabled)
     Active: inactive (dead)
       Docs: man:gvmd(8)

Aug 26 06:25:43 kali systemd[1]: Stopping gvmd.service - Greenbone Vulnerability Manager daemon (gvmd)...
Aug 26 06:25:43 kali systemd[1]: gvmd.service: Deactivated successfully.
Aug 26 06:25:43 kali systemd[1]: Stopped gvmd.service - Greenbone Vulnerability Manager daemon (gvmd).
Aug 26 06:25:43 kali systemd[1]: gvmd.service: Consumed 3.162s CPU time, 8.9M memory peak.
Aug 26 16:03:54 kali systemd[1]: Starting gvmd.service - Greenbone Vulnerability Manager daemon (gvmd)...
Aug 26 16:03:55 kali systemd[1]: gvmd.service: Can't open PID file '/run/gvmd/gvmd.pid' (yet?) after start: No such file or directory
Aug 26 16:03:56 kali systemd[1]: Started gvmd.service - Greenbone Vulnerability Manager daemon (gvmd).
Aug 26 16:04:07 kali systemd[1]: Stopping gvmd.service - Greenbone Vulnerability Manager daemon (gvmd)...
Aug 26 16:04:07 kali systemd[1]: gvmd.service: Deactivated successfully.
Aug 26 16:04:07 kali systemd[1]: Stopped gvmd.service - Greenbone Vulnerability Manager daemon (gvmd).

* ospd-openvas.service - OSPd Wrapper for the OpenVAS Scanner (ospd-openvas)
     Loaded: loaded (/usr/lib/systemd/system/ospd-openvas.service; disabled; preset: disabled)
     Active: inactive (dead)
       Docs: man:ospd-openvas(8)
             man:openvas(8)

Aug 26 06:25:43 kali systemd[1]: Stopping ospd-openvas.service - OSPd Wrapper for the OpenVAS Scanner (ospd-openvas)...
Aug 26 06:25:44 kali systemd[1]: ospd-openvas.service: Deactivated successfully.
Aug 26 06:25:44 kali systemd[1]: Stopped ospd-openvas.service - OSPd Wrapper for the OpenVAS Scanner (ospd-openvas).
Aug 26 06:25:44 kali systemd[1]: ospd-openvas.service: Consumed 3.412s CPU time, 100.2M memory peak.
Aug 26 16:03:52 kali systemd[1]: Starting ospd-openvas.service - OSPd Wrapper for the OpenVAS Scanner (ospd-openvas)...
Aug 26 16:03:54 kali systemd[1]: Started ospd-openvas.service - OSPd Wrapper for the OpenVAS Scanner (ospd-openvas).
Aug 26 16:04:07 kali systemd[1]: Stopping ospd-openvas.service - OSPd Wrapper for the OpenVAS Scanner (ospd-openvas)...
Aug 26 16:04:08 kali systemd[1]: ospd-openvas.service: Deactivated successfully.
Aug 26 16:04:08 kali systemd[1]: Stopped ospd-openvas.service - OSPd Wrapper for the OpenVAS Scanner (ospd-openvas).
Aug 26 16:04:08 kali systemd[1]: ospd-openvas.service: Consumed 3.911s CPU time, 101.8M memory peak.

* notus-scanner.service - Notus Scanner
     Loaded: loaded (/usr/lib/systemd/system/notus-scanner.service; disabled; preset: disabled)
     Active: inactive (dead)
       Docs: https://github.com/greenbone/notus-scanner

Aug 26 16:04:03 kali notus-scanner[129567]: Exception ignored in atexit callback <function exit_cleanup at 0x7ffff4af65c0>:
Aug 26 16:04:03 kali notus-scanner[129567]: Traceback (most recent call last):
Aug 26 16:04:03 kali notus-scanner[129567]:   File "/usr/lib/python3/dist-packages/notus/scanner/utils.py", line 101, in exit_cleanup
Aug 26 16:04:03 kali notus-scanner[129567]:     sys.exit()
Aug 26 16:04:03 kali notus-scanner[129567]: SystemExit:
Aug 26 16:04:03 kali systemd[1]: notus-scanner.service: Main process exited, code=exited, status=1/FAILURE
Aug 26 16:04:03 kali systemd[1]: notus-scanner.service: Failed with result 'exit-code'.
Aug 26 16:04:03 kali systemd[1]: notus-scanner.service: Consumed 1.100s CPU time, 43M memory peak.
Aug 26 16:04:07 kali systemd[1]: Stopped notus-scanner.service - Notus Scanner.
Aug 26 16:04:07 kali systemd[1]: notus-scanner.service: Consumed 1.100s CPU time, 43M memory peak.



Learn more with OffSec

Want to learn more about gvm? get access to in-depth training and hands-on labs:




Updated on: 2025-Aug-26