Greenbone Vulnerability Manager (Old OpenVAS)

Here is a list of commands to install GVM on Kali Linux 2020. I have compiled the commands after tried to install using source code. So, Kali Linux has the bin package to install it using apt.

 sudo apt update && apt upgrade
 sudo apt-get install gvm
 sudo runuser -u _gvm -- gvm-manage-certs -a -f
 sudo runuser -u _gvm -- gvmd –create-user=<UserName> –password=<Password>

 sudo systemctl enable [email protected]
 sudo systemctl start [email protected]

 sudo runuser -u _gvm -- greenbone-nvt-sync
 sudo runuser -u _gvm -- greenbone-feed-sync --type SCAP
 sudo runuser -u _gvm -- greenbone-feed-sync --type CERT
 sudo runuser -u postgres -- /usr/share/gvm/create-postgresql-database

Verifying the setup

 sudo gvm-check-setup 

Starting the setup

 sudo gvm-setup

 sudo gvm-feed-update
 sudo runuser -u _gvm -- greenbone-nvt-sync
 sudo runuser -u _gvm -- greenbone-scapdata-sync
 sudo runuser -u _gvm -- greenbone-nvt-sync
 sudo systemctl enable /lib/systemd/system/greenbone-security-assistant.service
 sudo gvm-start

Now you are able to access the admin page using:

To change the listening IP you have to change the file /lib/systemd/system/greenbone-security-assistant.service

List of resources:

Thanks for following!