Installing OpenVAS

# apt-get install openvas
After this operation, 1,057 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
# apt autoremove
# openvas-setup
When the OpenVAS setup process is finished the OpenVAS manager, scanner and services are listening on port 9390, 9391, 9392 and on port 80. You can use the following netstat command to check if these services are listening

allow OpenVAS GUI being accessed from any ip
# cd /lib/systemd/system
# sed -e ‘s/’ greenbone-security-assistant.service openvas-manager.service openvas-scanner.service -i
# systemctl daemon-reload
# systemctl restart greenbone-security-assistant.service openvas-manager.service openvas-scanner.service
# ss -nalt

if the ports not there then do
# openvas-start

change openvas admin password
# openvasmd –user=admin –new-password=new_password

login to OpenVAS GUI
if you can’t authenticate, maybe openvasmd isn’t running
# openvasmd
to create a new user with admin role
# openvasad -c add_user -u your_new_login_here -r Admin
to create a normal user
# openvasmd –create-user NEWUSER
to delete an user
# openvasmd –delete-user=NEWUSER

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s