Bobcares

Quick way to install OpenVAS on the Ubuntu server

by | Jul 10, 2020

Installation of OpenVAS is necessary on Ubuntu as it protects the server from unauthenticated access. OpenVAS is an open-source suite that can be used for vulnerability scanning and vulnerability management.

In this article, we discuss how we support our customers to install OpenVAS as part of our Server Management Services.

What is OpenVAS?

It stands for the Open Vulnerability Assessment System which helps to find any vulnerability on the server. It is an excellent alternative to commercial security scanners such as Nessus, QualysGuard, etc.

Again, OpenVAS is divided into three parts: OpenVAS Scanner, OpenVAS Manager, and OpenVAS CLI.

OpenVAS consists of,

  • Database that stores results and configurations.
  • A regularly updated feed of Network Vulnerability Tests (NVTs).
  • Scanner, which runs the NVTs.
  • The Greenbone Security Assistant, a graphical interface that allows you to manage vulnerability scans from a web application.

 

How to install and Configure OpenVAS on Ubuntu

Here, let’s see how our Support Engineers install OpenVAS on Ubuntu.

1. Initially, update the system by running the following commands,

apt-get update
apt-get upgrade

2. Then, install required dependencies, Before installing OpenVAS,  the following dependencies need to install on the Ubuntu server. To install them, run the following command,

apt-get install python-software-properties

3. Next, install SQLite for OpenVAS manager,

apt-get install sqlite3

4. By default, the OpenVAS package is not available in the Ubuntu repository, so it needs to add OpenVAS PPA to the system’s repository list.

add-apt-repository ppa:mrazavi/openvas

5. After that update the repository.

apt-get update

6. Finally, install OpenVAS.

apt-get install openvas

7. After the installation of OpenVAS, start the OpenVAS service with the following commands,

service openvas-scanner start
service openvas-manager start
service openvas-gsa start

That’s it.

In addition, to access the OpenVAS web interface, the vulnerability database should be updated. Update the vulnerability database by using the following command.

openvas-nvt-sync

 

Once the database is up-to-date, OpenVAS can access via a web browser by typing the URL. The OpenVAS web interface looks like,

 

How we Configure OpenVAS Remote Access

To access the Greenbone Security Assistant web interface remotely, it must configure to listen to the public IP address.

Therefore, our Support Engineers edit the configuration file under the /etc/init.d/openvas-gsa, and specify the public IP address like below,

DAEMON_ARGS= --listen "IP_ADDRESS"

At last, we save the changes and restart openvas-gsa.

service openvas-gsa restart

 

Install OpenVAS on Ubuntu – Common error and fix

Now, let’s see the major reasons for OpenVAS error and how our  Support Engineers fix the top errors.

 

Improper firewall configuration

Importantly, if the server has firewall protection like UFW, CSF, OpenVAS needs to allow through the system firewall.

By default, OpenVAS runs on port 443 and it is necessary to allow this port through the firewall.

For Example, in UFW firewall,

ufw allow https

 

[Need assistance to manage OpenVAS? We’ll help you.]

 

Conclusion

In short, OpenVAS is a powerful tool that uses for vulnerability scanning and management. Today, we saw how our Support Engineers install OpenVAS on Ubuntu and fix the related errors.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF