• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install OpenVAS Vulnerability Scanner in Ubuntu

{{postValue.id}}

To Install OpenVAS Vulnerability Scanner in Ubuntu

OpenVAS is an Open Vulnerability Assessment System, which is a framework of several services and tools. OpenVAS Manager handles SQL Database of stored configurations and scanned results. Installation of OpenVAS Vulnerability Scanner in Ubuntu is discussed in this manual.

Installation of OpenVAS Vulnerability Scanner

Before installing OpenVAS, install sqlite by using below command.

root@linuxhelp:/home/user1# apt-get install sqlite3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
&hellip 
&hellip 
Unpacking sqlite3 (3.11.0-1ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up sqlite3 (3.11.0-1ubuntu1) ...

Run the below command to install the additional dependency packages.

root@linuxhelp:/home/user1# apt-get install python-software-properties -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
&hellip 
&hellip 
Setting up python-apt (1.1.0~beta1build1) ...
Setting up python-pycurl (7.43.0-1ubuntu1) ...
Setting up python-software-properties (0.96.20.2) ...

Create PPA repositorty for OpenVAS with below command.

root@linuxhelp:/home/user1# add-apt-repository ppa:mrazavi/openvas
 OpenVAS is a framework of several services and tools offering a comprehensive and powerful vulnerability scanning and vulnerability management solution.
Homepage: http://www.openvas.org/
* Openvas 9 (beta 3) is now available *
..
&hellip 
gpg: keyring `/tmp/tmpctr2f6d5/pubring.gpg'  created
gpg: requesting key 4AA450E0 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpctr2f6d5/trustdb.gpg: trustdb created
gpg: key 4AA450E0: public key " Launchpad PPA for Mohammad Razavi"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

Update with the below given command.

root@linuxhelp:/home/user1# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease          
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease   
Get:3 http://ppa.launchpad.net/mrazavi/openvas/ubuntu xenial InRelease [17.6 kB]
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease                 
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease                
Get:6 http://ppa.launchpad.net/mrazavi/openvas/ubuntu xenial/main amd64 Packages [2,900 B]
Get:7 http://ppa.launchpad.net/mrazavi/openvas/ubuntu xenial/main i386 Packages [2,908 B]
Get:8 http://ppa.launchpad.net/mrazavi/openvas/ubuntu xenial/main Translation-en [1,044 B]
Fetched 24.4 kB in 1s (12.7 kB/s)    
Reading package lists... Done

Finally, install openVAS by using the following command.

root@linuxhelp:/home/user1# apt-get install openvas
Reading package lists... Done
Building dependency tree       
Reading state information... Done
&hellip 
&hellip 
Setting up libruby2.3:amd64 (2.3.1-2~16.04) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...

config_openvas_scanner

Once the package is installed, restart the services.

root@linuxhelp:/home/user1# /etc/init.d/openvas-scanner restart
[....] Restarting openvas-scanner (via systemctl): openvas-scanner.service
. ok 
root@linuxhelp:/home/user1# /etc/init.d/openvas-manager restart
[ ok ] Restarting openvas-manager (via systemctl): openvas-manager.service.
root@linuxhelp:/home/user1# /etc/init.d/openvas-gsa restart
[ ok ] Restarting openvas-gsa (via systemctl): openvas-gsa.service.

Run the following command to upgrade network vulnerability tests.

root@linuxhelp:/home/user1# openvas-nvt-sync 
[i] Thisscript synchronizes an NVT collection with the ' OpenVAS NVT Feed' .
[i] The ' OpenVAS NVT Feed'  is provided by ' The OpenVAS Project' .
[i] Online information about this feed: ' http://www.openvas.org/openvas-nvt-feed.html' .
[i] NVT dir: /var/lib/openvas/plugins
&hellip 
&hellip 
&hellip 
 [i] Download complete
[i] Checking dir: ok
[i] Checking MD5 checksum: 
ok

After installed OpenVAS successfully, open the Browser and enter the following URL.
https://localhost/login/login.html

In this page, select the option Advanced -> Add Exception -> Confirm Security Exception. Now login with default user name ‘ admin’ and password ‘ admin’ .

login_page

For scanning process, enter the ipaddress and click start scan.

ipaddress

Next click Immediate scan link.

scan_link

Now the scan details will display as given below.

scan_details

You can see the scan management reports by using the below steps.

scan_management_reports

You can also see the OpenVAS configuration with the configuration option.

OpenVAS_configuration

Tags:
william
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How are local tests conducted on nodes with OpenVAS Vulnerability Scanner?

A

There are various mechanisms.
For Linux systems SSH is used to connect and perform local tests and the SLAD mechanism can be used to perform more extensive testing (e.g. password auditing).

Q

Exact and expected results are noting getting displayed why?

A

Many tests (both local and remote) require access credentials. Make sure they are filled out.

Q

What is OpenVAS?

A

OpenVAS is an Open Vulnerability Assessment System, which is a framework of several services and tools. OpenVAS Manager handles SQL Database of stored configurations and scan results.

Q

What are the required packages to be enabled in OpenVAS Vulnerability Scanner?

A

For OpenVAS Vulnerability Scanner install SQLite and additional dependency packages by apt-get install sqlite3 and apt-get install python-software-properties -y.

Q

Where can I check for results and reports in OpenVAS interface?

A

In OpenVAS interface check for results and reports under scan Management tab.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.