EN:OpenVAS

From aldeid
Jump to navigation Jump to search
DRAFT
This page is still a draft. Thank you for your understanding.

Description

INCOMPLETE SECTION OR ARTICLE
This section/article is being written and is therefore not complete.
Thank you for your comprehension.

Installation

From packages

Description

This method is the recommended one for Ubuntu users. For other distributions, please refer to the official site: http://www.openvas.org/install-packages.html.

The version of OpenVAS available in Ubuntu repositories is quite old (version 2.0) and if you want to have the last available one (version 4.0), you will have to add the OBS repositories, as explained below.

Pre-requisites

$ sudo apt-get -y install python-software-properties

Add the repository and update

First add the OBS repository:

$ sudo add-apt-repository "deb http://download.opensuse.org/repositories/security:/OpenVAS:/STABLE:/v4/xUbuntu_10.04/ ./"
$ sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys BED1E87979EAFD54
$ sudo apt-get update

Install OpenVAS

$ sudo apt-get -y install greenbone-security-assistant gsd openvas-cli \
  openvas-manager openvas-scanner openvas-administrator sqlite3 xsltproc

Initialize OpenVAS

$ test -e /var/lib/openvas/CA/cacert.pem  || sudo openvas-mkcert -q
$ sudo openvas-nvt-sync
$ test -e /var/lib/openvas/users/om || sudo openvas-mkcert-client -n om -i
$ sudo /etc/init.d/openvas-manager stop
$ sudo /etc/init.d/openvas-scanner stop
$ sudo openvassd
$ sudo openvasmd --migrate
$ sudo openvasmd --rebuild
$ sudo killall openvassd
$ sleep 15
$ sudo /etc/init.d/openvas-scanner start
$ sudo /etc/init.d/openvas-manager start
$ sudo /etc/init.d/openvas-administrator restart
$ sudo /etc/init.d/greenbone-security-assistant restart
$ test -e /var/lib/openvas/users/admin || sudo openvasad -c add_user -n admin -r Admin

From sources

INCOMPLETE SECTION OR ARTICLE
This section/article is being written and is therefore not complete.
Thank you for your comprehension.

Configuration

INCOMPLETE SECTION OR ARTICLE
This section/article is being written and is therefore not complete.
Thank you for your comprehension.

Usage

OpenVAS client

https://localhost:9392/
INCOMPLETE SECTION OR ARTICLE
This section/article is being written and is therefore not complete.
Thank you for your comprehension.