How to install OpenVAS 7 in Ubuntu
OpenVAS is a framework of several services and tools offering a comprehensive and powerful vulnerability scanning and vulnerability management solution.
This is a guide for installing OpenVAS in Ubuntu.
STEP 1:
First we need to prepare our system for installation of OpenVAS. Open a terminal and type the following command:
STEP 2:
Now we need to download the OpenVAS source packages from the OpenVAS website. You can download it from the the website or you can use the terminal to download the files using the following commands:
This is a guide for installing OpenVAS in Ubuntu.
STEP 1:
First we need to prepare our system for installation of OpenVAS. Open a terminal and type the following command:
sudo apt-get install build-essential bison flex cmake pkg-config libglib2.0-0 libglib2.0-dev libgnutls26 libgnutls-dev libpcap0.8 libpcap0.8-dev libgpgme11 libgpgme11-dev doxygen libuuid1 uuid-dev sqlfairy xmltoman libsqlite3-0 libsqlite3-dev libxml2-dev libxslt1.1 libxslt1-dev xsltproc libmicrohttpd-dev libldap-2.4-2 libldap2-dev
STEP 2:
Now we need to download the OpenVAS source packages from the OpenVAS website. You can download it from the the website or you can use the terminal to download the files using the following commands:
mkdir openvas-src cd openvas-src/ wget http://wald.intevation.org/frs/download.php/1638/openvas-libraries-7.0.1.tar.gz wget http://wald.intevation.org/frs/download.php/1640/openvas-scanner-4.0.1.tar.gz wget http://wald.intevation.org/frs/download.php/1637/openvas-manager-5.0.0.tar.gz wget http://wald.intevation.org/frs/download.php/1639/greenbone-security-assistant-5.0.0.tar.gz wget http://wald.intevation.org/frs/download.php/1633/openvas-cli-1.3.0.tar.gz tar zxvf openvas-{component}.tar.gz
You need to replace the {component} in the last command with the package names that you've downloaded.
STEP 3:
Now we start compiling the downloaded packages. You can do this using the following commands. First install the openvas-libraries package and later the order of compiling doesn't matter.
cd {component} mkdir source cd source cmake .. make make installYou need to replace {component} with the package names.
STEP 4:
Now OpenVAS is installed we need to configure it.
openvas-mkcert
ldconfig
openvassd
We need to sync the NVT feed, SCAP data and CERT data:
openvas-nvt-sync
openvas-scapdata-sync
openvas-certdata-sync
After that you have to create a client certificate using the openvas-mkcert-client tool. If -n is specified the tool doesn’t ask any questions and creates a certificate for the user "om". The -i parameter installs the certificate to be used with the OpenVAS manager.
sudo openvas-mkcert-client -n om -i
Now create an user account using :
openvasmd --create-user=admin --role=Admin
Now type the following to start other OpenVAS services:
openvasmd --rebuild --progress
openvasmd
gsad
Now to open GreenBone security assistant open your browser and type:
https://localhost/:443
Comments
Post a Comment