A while back I wrote myself a small cheat-sheet for getting OpenVAS started in Backtrack 5 R3, and I thought some of you might find it useful. I don’t like bouncing between menus and terminals, so I wrote the steps to be run sequentially in the terminal.
- Make the OpenVAS SSL certificate
- Create the client certificate
- Download the latest NVTs
- Start the scanner service
- Rebuild the NVT database
- Create and Administrator account
- Start the manager
- Start the Administrator
- Start Greenbone security assistant
openvas-mkcert
openvas-mkcert-client -n om -i
openvas-nvt-sync
openvassd
openvasmd --rebuild
openvasad -c 'add_user' -n openvasadmin -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
Then login at http://127.0.0.1:9392 using the username and password from step 6. If you have any issues, troubleshoot with:
/pentest/misc/openvas/openvas-check-setup
Image may be NSFW.
Clik here to view.

Clik here to view.
