Basic Openvas Tutorial
Basic Openvas Tutorial
On the first run of ovenvas scanner on kali linux you need to run a setup script – if you do
this as part of this OpenVas tutorial for beginners, then you will not need to do it again.
apps > kali > vlnerability analysis > openvas > openvas initial setup
You only need to run this once
OpenVAS web ui
OpenVAS inside metasploit
Web ui
Once openvas has started, open your browser and point it to:
https://127.0.0.1:9392
This opens the ‘greenbone’ web interface for openvas and sign in.
To initiate a simple scan of an ip address or hostname, click the small (tiny) purple icon
with the wand in it. This will take you to a screen with an input where you can perform a
full fast scan of a host.
Scan management
The most important entry in this menu is ‘New Task’ – you can start complex scans from
this screen.
Asset Management
Currently contains a single item: Hosts
This is where the list of accumulated hosts form all your scans appear.
Sec Info Management
Contains a few items, each representing the vulnerability databases that openvas knows
about
Configuration
Various configuration options, targets and scan configurations
Extras
Configuration of the web ui itsself
Administration
User management, Feed synchronisation, update, etc
You can do lots of things from the web ui. I use it to start scans and sometimes to export
scans to import into metasploit. For more advanced usage, its usually better to use the
msfconsole:
inside metasploit
Open a terminal and type:
msfconsole
This will load msfconsole. For a beginners metasploit tutorial, please see my post on
metasploit for beginners)
To show help for openvas inside metasploit type the command:
openvas_help
To start using openvas inside metasploit, you need to select the openvas modules:
load openvas
openvas_config_list
openvas_task_list
openvas_task_start task_id
openvas_task_list
This command will show the reports once the scans have completed
openvas_report_list
And this command will show the available formats for export
openvas_format_list
You can download reports in any of the formats from the above command..
Or you can import reports into metasploit – metasploit can only import xml and nbe reports
Once the report has imported into metasploit then the vulnerabilites will be available in the
metasploit database / on the web ui for metasploit :D
You can find out more information on openvas at the projects website
I hope you have enjoyed this OpenVas tutorial for beginners and that it helps you get to
grips with Openvas.