Тёмный

Easiest Way to Install Greenbone Vulnerability Management (OpenVAS) on Ubuntu 22.04 

The Lazy SysAdmin
Подписаться 4,1 тыс.
Просмотров 8 тыс.
50% 1

In this video, you will learn how to install GVM or Greenbone Vulnerabililty Management, previously known as OpenVAS.
Join this channel to get access to perks: www.youtube.com/@lazysysad/join
PLEASE SUBSCRIBE :)
PLEASE HIT LIKE IF IT HELPED :)
GIVE SUPPORT - / lazysysad
BUY ME A COFFEE - www.buymeacoffee.com/lazysysad
PAYPAL - paypal.me/lazysysad
Steps:
Install PostgreSQL
sudo apt -y install postgresql
Add the GVM repository
sudo add-apt-repository ppa:mrazavi/gvm
Install GVM
sudo apt -y install gvm
Create the notus directory
sudo mkdir /var/lib/notus
sudo chown gvm:gvm /var/lib/notus
Update the Greenbone feeds
sudo -u gvm -g gvm greenbone-nvt-sync
sudo -u gvm -g gvm greenbone-feed-sync-legacy --type CERT
sudo -u gvm -g gvm greenbone-feed-sync-legacy --type SCAP
sudo -u gvm -g gvm greenbone-feed-sync-legacy --type GVMD_DATA
Configure the Greenbone Security Assistant web interface.
sudo vi /etc/default/gsad
GSAD_ADDRESS=0.0.0.0
GSAD_OPTIONS=" "
Restart the Greenbone Security Assistant daemon
sudo systemctl restart gsad
Restart the GVM daemon.
sudo systemctl restart gvmd
Open your browser and input the IP of your server and port 9392 using HTTPS.
192.168.10.172:9392
Sign in
Username: admin
Password: admin
Go to Administration - Feed Status and check the status of the feeds
You should see that all feeds status are current.
Since this looks good, we can now proceed to create a scan.
Click on Scans, then tasks.
Then click on the wand icon, and select task wizard.
And then, input the IP address of the GVM server, then click on Start Scan.
Drop me your feedback and comments below.
That's all for now.
If this video helped you in any way, please like share and subscribe!
Thank you!!!

Опубликовано:

 

4 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@rajpatel3152
@rajpatel3152 Месяц назад
I followed all the steps but this command "sudo -u gvm -g gvm greenbone-nvt-sync" is not working , its showing command not found.
@hometechs007
@hometechs007 5 месяцев назад
Thanks man!
@lazysysad
@lazysysad 5 месяцев назад
No problem!
@linux4free
@linux4free Месяц назад
This part is not working from me: Update the Greenbone feeds sudo -u gvm -g gvm greenbone-nvt-sync rsync: [Receiver] safe_read failed to read 1 bytes: Connection timed out (110) rsync error: error in rsync protocol data stream (code 12) at io.c(282) [Receiver=3.2.7]
@syfullahi3976
@syfullahi3976 5 месяцев назад
When i run the scan its asking me to install the latest version 22.7.3, it is not giving me the result of the scan instead it is suggesting me to upgrade the scanner
@puhacc4736
@puhacc4736 5 месяцев назад
Thank you so much.!
@lazysysad
@lazysysad 5 месяцев назад
You're welcome!
@batsu888
@batsu888 25 дней назад
Thanks for sharing, but there's a situation, the gvmd.service can't not active with an error "Can't open PID file (yet?) after start: Operation not permitted", does anyone have the same problem?
@naveenjha4740
@naveenjha4740 Месяц назад
what permissons gvm user gonna have and is it necessary to have gvm user as owner of notus?
@Anurag-rv1es
@Anurag-rv1es Месяц назад
Hi, I'm getting this issue ""The SCAP database is required"" feeds is up to date, server also reboot but same error
@Taecey
@Taecey 2 месяца назад
I cannot access the web interface, I get a 404. What do I have to do?
@khaykimhong3919
@khaykimhong3919 6 месяцев назад
Hi sir, I hope this message finds you well. May I ask you a question? After following your installation instructions, the process completed successfully. However, I encountered an error message when attempting to start a scan on the target. Error message: "Failed to find config 'daba56c8-73ec-11df-a475-002264764cea'" Are you familiar with this issue? If so, could you kindly provide me with a solution? Thank you!
@lazysysad
@lazysysad 6 месяцев назад
make sure all feeds are updated. Check in Administration > Feed Status
@Sasquacz1993
@Sasquacz1993 5 месяцев назад
Thanks for the tutorial ! Do you know how to update version 22.4.1 to 22.7.3 ? Because from the tutorial installs version 22.4.1
@lazysysad
@lazysysad 5 месяцев назад
Installing latest version 22.7 will require a different procedure. As of the moment, the only available version in Launchpad is 22.4.
@user-eu5cl2ls7p
@user-eu5cl2ls7p 3 месяца назад
on the browser log in page, "The Greenbone Vulnerability Manager service is not responding. This could be due to system maintenance. Please try again later, check the system status, or contact your system administrator." this doesnt allow me to log in please help i've already checked the system status they are up and running
@gabzdev
@gabzdev 5 дней назад
me too
@user-xo4cd1nv7c
@user-xo4cd1nv7c 2 месяца назад
It would be useful to also add a way to change the default password for the admin account
@balys07
@balys07 6 месяцев назад
sudo -u gvm -g gvm greenbone-feed-sync-legacy --type CERT sudo -u gvm -g gvm greenbone-feed-sync-legacy --type SCAP sudo -u gvm -g gvm greenbone-feed-sync-legacy --type GVMD_DATA gives an error: sudo: greenbone-feed-sync-legacy: command not found
@lazysysad
@lazysysad 6 месяцев назад
@balys07 that means you haven't installed gvm Install GVM sudo apt -y install gvm
@user-me1bw8zk2j
@user-me1bw8zk2j 4 месяца назад
@@lazysysad I have the same problem, the gvm is already installed but those command are not found
@mattmeyer5157
@mattmeyer5157 5 месяцев назад
Thanks for the video and great channel - Liked and Subscribed! I've been through this twice and after "sudo systemctl restart gvmd" I get this error message: Job for gvmd.service failed because a timeout was exceeded. gvmd.service: Can't open PID file /run/gvm/gvmd.pid (yet?) after start: Operation not > ...skipping... I'm thinking a permission issue, any thoughts?
@lazysysad
@lazysysad 5 месяцев назад
yeah my initial thought is permission or the directory doesn't exist make sure it exists and is owned by gvm user.
@munnavasu7282
@munnavasu7282 2 месяца назад
when task wizard scan the ip while it's showing error like port not listed..
@nerdfps.
@nerdfps. 5 месяцев назад
I just simply install by using the above. now i m getting invalid login after entering admin,admin
@lazysysad
@lazysysad 5 месяцев назад
🤔
@malikymarn8464
@malikymarn8464 5 месяцев назад
I could not log in using default username& password also
@nerdfps.
@nerdfps. 5 месяцев назад
how to resolve@@lazysysad
@fmt1976
@fmt1976 3 месяца назад
​@@malikymarn8464 default password change
@user-dc2mm1uc5s
@user-dc2mm1uc5s 3 месяца назад
How to change password of admin account ?
@user-xo4cd1nv7c
@user-xo4cd1nv7c 2 месяца назад
you can do it in GUI, use My settings - in the left top corner of web interface find Edit My settings, then change password. That worked for me.
@wiemzoghlami7391
@wiemzoghlami7391 3 месяца назад
how to know my ip address ?
@lazysysad
@lazysysad 3 месяца назад
in the terminal, execute "ip a"
Далее
Июль в Tanks Blitz
51:46
Просмотров 87 тыс.
Can We Save Goku In 5 SECONDS⁉️😰 #dbz #goku
00:15
Scanning for vulnerabilities the right way | OpenVAS
11:27