Raspberry Pi – building a Vulnerability Scanner OpenVAS (Greenbone) 20.8.0 with Kali Linux 2020.4

# apt-get update -y
# apt-get full-upgrade -y
# apt-get autoremove
# hostnamectl set-hostname rpi-iot-jsho-openvas-01
# apt-get update -y
# apt-get install ssh
# systemctl enable ssh
# service ssh start
# apt-get update -y
# apt-get install xrdp
# systemctl enable xrdp
# service xrdp start
# apt-get install gvm
the setup & update command …
# gvm-setup

[+] Done
[*] Please note the password for the admin user
[*] User created with password ’08a6c148-7084-4b9d-a03d-da1364fe1bf0′.
# gvm-check-setup
It seems like your GVM-20.8.0 installation is OK
# gvmd –version
Greenbone Vulnerability Manager 20.08.0
Manager DB revision 233
Copyright (C) 2010-2020 Greenbone Networks GmbH
License: AGPL-3.0-or-later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law
# vi /lib/systemd/system/greenbone-security-assistant.service
[Unit]
Description=Greenbone Security Assistant (gsad)
Documentation=man:gsad(8) https://www.greenbone.net
After=network.target
Wants=gvmd.service
[Service]
Type=forking
User=_gvm
Group=_gvm
ExecStart=/usr/sbin/gsad –listen=0.0.0.0 –port=9392
Restart=always
TimeoutStopSec=10
[Install]
WantedBy=multi-user.target
Alias=gsad.service
# gvm-start
# ss -nalt
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 128 0.0.0.0:9392 0.0.0.0:*
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 128 127.0.0.1:5432 0.0.0.0:*
LISTEN 0 128 [::]:22 [::]:*
LISTEN 0 2 [::1]:3350 [::]:*
LISTEN 0 128 [::1]:5432 [::]:*
LISTEN 0 2 *:3389 *:*
# runuser -u _gvm — gvmd –user=admin –new-password=<password>
https://<IP@>:9392
# gvm-stop

Leave a Reply

You must be logged in to post a comment.