How To Setup OpenVAS [Kali Linux][Debian]

Hello Fellas, this time I’m going to share how to setup OpenVAS. Let’s get started

Step 1: Configuring OBS Repository [Root]

echo "deb ./" >> /etc/apt/sources.list
apt-key add ./Release.key
sudo apt-get update

Step 2: Installing OpenVAS [Root]

apt-get -y install greenbone-security-assistant openvas-cli openvas-manager openvas-scanner openvas-administrator sqlite3 xsltproc rsync

To install supporting packages for report generation:

apt-get -y install texlive-latex-base texlive-latex-extra texlive-latex-recommended htmldoc

To install supporting packages for autogenerated LSC credential packages:

apt-get -y install alien rpm nsis fakeroot

Step 3: Starting OpenVAS [Root]

test -e /var/lib/openvas/CA/cacert.pem  || openvas-mkcert -q
test -e /var/lib/openvas/users/om || openvas-mkcert-client -n om -i
/etc/init.d/openvas-manager stop
/etc/init.d/openvas-scanner stop
openvasmd --rebuild
test -e /var/lib/openvas/users/admin || openvasad -c add_user -n admin -r Admin
killall openvassd
sleep 15
/etc/init.d/openvas-scanner start
/etc/init.d/openvas-manager start
/etc/init.d/openvas-administrator restart
/etc/init.d/greenbone-security-assistant restart

Step 4: Log into OpenVAS as “admin”

OpenĀ https://localhost:9392/

In the Future To get this Running

/etc/init.d/openvas-scanner start
/etc/init.d/openvas-manager start
/etc/init.d/openvas-administrator restart
/etc/init.d/greenbone-security-assistant restart

That’s all folks Happy Scanning. Cheers :p

Leave a Reply

Your email address will not be published. Please enter your name, email and a comment.