Kali Linux: OpenVAS Installation (en)

From OnnoWiki
Jump to navigation Jump to search

OpenVAS Installation

apt update
apt install openvas

Set up OpenVAS, obtain your password at this stage,

openvas-setup


[*] [1/3] Updating: NVT
--2018-05-17 15:23:58--  http://dl.greenbone.net/community-nvt-feed-current.tar.bz2
Resolving dl.greenbone.net (dl.greenbone.net)... 89.146.224.58, 2a01:130:2000:127::d1
Connecting to dl.greenbone.net (dl.greenbone.net)|89.146.224.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28795347 (27M) [application/octet-stream]
Saving to: ‘/tmp/greenbone-nvt-sync.o11hGkJSm7/openvas-feed-2018-05-17-12160.tar.bz2’
..
..
[*] Opening Web UI (https://127.0.0.1:9392) in: 5... 4... 3... 2... 1...
[>] Checking for admin user
[*] Creating admin user
User created with password '359f7eab-e3aa-4a69-b19f-a8c264f79021'.

Make sure you get the password.

Check Routing

Check Routing

netstat -antp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address         Foreign Address        State       PID/Program name
tcp        0      0 127.0.0.1:9390        0.0.0.0:*              LISTEN      9583/openvasmd
tcp        0      0 127.0.0.1:9391        0.0.0.0:*              LISTEN      9570/openvassd: Wai
tcp        0      0 127.0.0.1:9392        0.0.0.0:*              LISTEN      9596/gsad

Run

Start OpenVAS

openvas-start

Check OpenVAS

openvas-check-setup

Access

https://127.0.0.1:9392