Install OpenVAS(GVM) on Kali
GVM? (or OpenVAS?)
- Greenbone Vulnerability Manager(GVM, a.k.a OpenVAS). OpenVAS is a fork of Nessus.
Install GVM
-
How to install OpenVAS on Kali:
sudo apt install openvas
-
tried
gvm-setup
, but Error occured:$ sudo gvm-setup [>] Starting PostgreSQL service [-] ERROR: The default PostgreSQL version (15) is not 16 that is required by libgvmd [-] ERROR: Use pg_upgradecluster to update your PostgreSQL cluster
-
solve the problem
$ psql --version psql (PostgreSQL) 16.0 (Debian 16.0-2)
$ sudo vi /etc/postgresql/15/main/postgresql.conf ... port = 5433 # it was 5432 ...
and then,
$ sudo vi /etc/postgresql/16/main/postgresql.conf ... port = 5432 # it was 5433 ...
finally, restart postgresql
$ sudo service postgresql restart $ sudo service postgresql status
-
restart gvm-setup
$ sudo gvm-setup $ sudo gvm-check-setup $ sudo gvm-start
-
Access the web interface
- visit https://localhost:9392 (or https://localhost:9392/login)
- etc.
- run
sudo gvm-stop
if you want to stop it - run
$ sudo -E -u _gvm -g _gvm gvmd --user=admin --new-password=<new passwd>
to change the password. In this case, run$ id _gym
first to check if there are a user and a group named_gym
exist.