Greenbone is the world’s most trusted provider of open source vulnerability management. Their core competence lies in developing algorithms and programs that detect vulnerabilities in customers’ IT systems before attackers can exploit them. Founded in 2008, Greenbone has been a pioneer in this field, helping organizations identify security weaknesses and reduce the risk and impact of cyber attacks. Their feed includes over 150,000 vulnerability tests, and they continuously work to add more tests that identify newly discovered vulnerabilities. With a strong market presence, over 50,000 installations worldwide, and solutions available in three product lines (hardware, virtual, and cloud), Greenbone is committed to proactive security for businesses and government agencies of all sizes.
there are so many ways to use Greenbone such as:
📌a. Greenbone Community Containers
📌b. Building from Source
📌c. Kali Linux Install Guide
for the first way i put my guidline on my linkdin Page to install the Greenbone as fasr as you can!
for the second way as you can see thare is a long way with so many operations that you should do to have a clear installation or so one little mistake can make a big problem for you and making you confuse and take so much time to solve it!
maybe it happans to you and making you crazy(LOL:joy:) so the sollution is here (: i aggregate all the cmd's and neccesory dependency's toghether in a shell script and you can just with 3 cmd's install the OpenVas Scanner. i dont want to making you crazy with unneccecery information so lest Start out jorney!
to use My Program first of all you should download it.
after downloading you should give the permision to run the shell script to do that you should run the below cmd:
chmod +x $Direction/NAME.sh
now you have permision to run the Shell script 👏.
📌 but befor start to install ensure that you dont have Conflict package (for example the Greenbone needs postsql version 14 but you have installed version 16. or you have older version of a package that in installation we install the newest version beside older one)
i recommended to you if you have tried to installed the Greenbone and it was unsuccesfully please clean your machine and then jump to next step!
so in this Step we should Creating a User and a Group i put this action on the shell script but unfortunatly some of Client report that it was not working well so i recommended befor run the Bash file run the two cmds below:
sudo useradd -r -M -U -G sudo -s /usr/sbin/nologin gvm
after that you should Added the GVM Group so run the below cmd:
$ sudo usermod -aG gvm $USER
$ su $USER
in this step you should setting Up sudo For scanning for this requirment you should edit the sudoers.tmp file and to do that you should use visudo like this :
sudo visudo
after running the above operation the sudoers.tmp is open so you shoud add the following role at the middle of the openned file .
# allow users of the gvm group run openvas
%gvm ALL = NOPASSWD: /usr/local/sbin/openvas
📌a. ensure you connection is stable.
📌b. some of link that you should download file from it has slow speed connection so you should pay patiant!
📌c. don't forgot to give me Star!
at the end run the following cmd:
$Direction/NAME.sh
and after installation is done you can check to see the installation succesfully or not :
sudo systemctl status notus-scanner
sudo systemctl status ospd-openvas
sudo systemctl status gvmd
sudo systemctl status gsad
and by this cmd xdg-open "http://127.0.0.1:9392" 2>/dev/null >/dev/null &
you can see the Greenbone interface on your browser.