OpenVAS 4 HowTo

My last experience with OpenVAS was in Backtrack 4.  Back then, things were easy.

openvas-adduser
openvas-mkcert
openvas-nvt-sync (update, optional)
openvasd
#start client from menu and connect
Then Greenbone took over the GUI.  About the same time, OpenVAS got insanely complexity.  Why?  I think because it was too easy to use.
OpenVAS Pre 4 OpenVAS 4

https://i2.wp.com/www.openvas.org/compendium/images/OpenVAS-Structure.png?resize=651%2C395

http://www.openvas.org/compendium/images/OpenVAS-Structure.png

https://i2.wp.com/www.openvas.org/img/OpenVAS4-Structure.png?resize=500%2C264

http://www.openvas.org/img/OpenVAS4-Structure.png

Things got much more complicated.  OpenVAS Server became 3 components.  The fact that there are 3 components to OpenVas (Scanner, Manager, Administrator) just makes it annoyingly complicated to use, and figure out what is wrong.  So how do you get it running?

#update the plugins
openvas-nvt-sync
#make the certs needed for operation, these 2 steps are only required to be performed once
openvas-mkcert
openvas-mkcert-client -n om -i
#start the server this will take a few mintues
openvassd
openvasmd --rebuild
#not required after first use
openvasad -c 'add_user' -n root -r Admin
openvasmd -p 9390 -a 127.0.0.1
openvasad -a 127.0.0.1 -p 9393
gsad --http-only --listen=127.0.0.1 -p 9392
#connect to the gui
firefox 127.0.0.1:9392

Comments are closed