Installing OpenVAS GVM on KALI Linux the right way - no config issues!
HTML-код
- Опубликовано: 2 окт 2021
- Installing #OpenVAS can be tricky, especially because of problems with the feeds from Greenbone (GVMD_DATA, SCAP and CERT). You may get errors such as the famous "Failed to find config."
In this video, I show you how to successfully install OpenVAS by checking that the feeds are installed properly and doing a few tricks by checking the gvm-check-setup, tailing the /var/log/gvm/gvmd.log as well as launching htop to see if feeds have been updated.
Please provide your comments below.
🤓 Follow Me:
/ danduran-ca
/ danduran.ca
/ danduran
/ danduran.ca
/ danduran.ca
DanDuran.ca Наука
Awesome! Successfully installed in one go! Thanks a lot for this amazing video
Thanks a lot! Followed step by step and got it working.
Great video Dan !!!
thanks a lot! Successfully installed. Some other tutorials before were failed
Excellent :) It helps a lot. Thank you so much for sharing.
Thanks for this. Really helpful
Thanks, you are a life savior!
you are awesome bro! its finally work for me
You are amazing. Great video. Thank you very much.
Excellent tutorial. Thank you so much for sharing it.
Thanks , Bro. From far eastent, russian vladivostok, fefu. Best guide!!!
after several tries at getting greenbone running in a docker container on ubuntu as they describe on their website I threw in the towel and tried this with Kali Linux 2022.4 on VMware Workstation 17, followed the instructions exactly from the video and it worked for me. Thank you!
You're giving me hope!! I'm on day 5 of trying different VM's / tutorials / etc... I'll try it on 2022.4 with this tutorial now!
thank you, bro. help me a lot.
great work. thanks
GREAT MAN. THANK YOU a lot.
Thank you bro❤❤❤
You're the real MVP
Thank you bro
Thank you
Thanks bro
PERFECT
Nice master
Thanks bhai
Arghhh.. After all that I am still getting the "Failed to find config 'daba56c8-73ec-11df-a475-002264764cea'" error when trying to start a scan
Were you able to fix this error?.. if so, please kindly assist.
@@kilzygrey Hi, I managed to fix it if yours is the same, the feed owner isn't set.
You must run two commands, both as the gvm user which is either called gvm or _gvm (_gvm on Kali), i.e. starting the two commands with sudo -u _gvm on Kali.
The first command is sudo -u _gvm gvmd --get-users --verbose
You can then copy the long UUID string for your admin user (or the user you use).
The second command is sudo -u _gvm gvmd --modify-setting 78eceaec-3385-11ea-b237-28d24461215b --value
Here you replace with what you copied from the output of the first command.
Hope this is clear and sorts your solution out. Noticed you only posted 6 days ago so hopefully this is timely for you.
All the best
@@zk-mc Thank you so much for your help man. I appreciate it. You have actually helped a lot of people lol..
thanks for the tutorial btw is it necessary to install the feeds like the scap and all that stuff i think i didn't needed to do that or should i do it anyway
I spent many hours finding solutions to the issue:
Failed to find config 'daba56c8-73ec-11df-a475-002264764cea
Still cant find even a single fix. I am not able to create a new task and scan config has no options.
I give up
Même problème tu as une solution s'il vous plaît
I am dealing with the same issue....any fix????
Any fix?
I found this in another comment section on a different video: sudo -u _gvm greenbone-nvt-sync I let it fully update and it`s worked for me, so fingers crossed for you !
Hi, I managed to fix it if yours is the same, the feed owner isn't set.
You must run two commands, both as the gvm user which is either called gvm or _gvm (_gvm on Kali), i.e. starting the two commands with sudo -u _gvm on Kali.
The first command is sudo -u _gvm gvmd --get-users --verbose
You can then copy the long UUID string for your admin user (or the user you use).
The second command is sudo -u _gvm gvmd --modify-setting 78eceaec-3385-11ea-b237-28d24461215b --value
Here you replace with what you copied from the output of the first command.
Hope this is clear and sorts your solution out.
All the best
Hi just curious as you mention that there are feeds that greenbone send to your computer will there be possibility that our scans and result will be sent to green bone?
Is any way to change the format of the reports? Like adding a own logo for example or changing font type and size?
Sorry for the noob question, but what are the specs for the vm as far as memory and cores for this environment? 2 cpu and 4GB is enough for scanning? Any info would be helpful. Thanks guys!
Hi, i am getting error at gvm-setup, it says cannot change directory to"/ankur" permission denied, i ran this as root.
i continue to get that upgrade for postgresql 14 to 15 but i have the version 15 install SMH.... need guidance
what database do you use?
how to run scans on schedule
Can i scan a URL such as WebGoat??
Bnas me sale error en octavo paso del check
while gvm-setup I keep getting this and after complete installation I cannot scan a new target
Creating PostgreSQL database
could not change directory to "/home/kali": Permission denied
Hi guys.... in my case don't shoe this Checking default scanner.... how can i get this? [+] GVM feeds updated
[*] Checking Default scanner
[*] Modifying Default Scanner
Scanner modified.
me too
I installed the latest Kali 2023.3 and tried to install openvas/gvm-setup. But I am having an issue which I don't know how to fix it.
I was able to pg_upgradecluster from 15 to 16. But the gvm-setup gives an ERROR which is not related to cluster:
Creating extension pg-gvm
ERROR: extension "pg-gvm" is not available
DETAIL: Could not open extension control file "/usr/share/postgresql/16/extension/pg-gvm.control": No such file or directory.
I wonder whether you had seen this error before? Thanks in advance!
Hi, Why does it say (Failed to find port_list '33d0cd82-57c6-11e1-8ed1-406186ea4fc5') when i put in the Target? thanks
how did u solve this problem ? :(
j ai probleme j arrrive pas a creer un task
I lost my password, how do I recover it?
Muchas gracias por el video, me sale el siguiente error, ¿sabrías usted que podría ser? Failed to find config 'daba56c8-73ec-11df-a475-002264764cea' o ¿cómo solucionarlo?
Hi,
Puedes probar el texto siguiente (lo siento para mi español y que no lo he traducido todo):
I managed to fix it if yours is the same, the feed owner isn't set.
You must run two commands, both as the gvm user which is either called gvm or _gvm (_gvm on Kali), i.e. starting the two commands with sudo -u _gvm on Kali.
The first command is sudo -u _gvm gvmd --get-users --verbose
You can then copy the long UUID string for your admin user (or the user you use).
The second command is sudo -u _gvm gvmd --modify-setting 78eceaec-3385-11ea-b237-28d24461215b --value
Here you replace with what you copied from the output of the first command.
Hope this is clear and sorts your solution out.
gvm-setup does not working
Show me: gvm-setup command not found
Did u install openvas using command:apt-get install openvas
bro try sudo
didn't work for me, it keeps showing a lot of error 404 failed to fetch kali http
Wtf the second video how locks very easy and i do all steps same like u but my fault ist error no user found why ? I crate a new user and mache the check. It say again user not found -.- and its a new maschine
Have you found solution?
I have same error
just type su....
Interrupted at 0.
└─# gvm-setup
[>] Starting PostgreSQL service
[-] ERROR: The default PostgreSQL version (13) is not 14 that is required by libgvmd
[-] ERROR: Use pg_upgradecluster to update your PostgreSQL cluster
any idea how to fix?
Kali linux is running postgresql-13 on port 5432 and postgresql-14 on port 5433.
GVM will call for port 5432 and get version 13 instead of 14 so you'll have to go into the conf file using
sudo nano /etc/postgresql/14/main/postgresql.conf
and change the port number to 5432, also remember to change version 13 to a different port to avoid conflict.
Following the same instructions does not work for me. First of all, I needed to uninstall postgres because openvas requires version 14 and version 13 was installed. Even after that, after having installed openvas, when I run "gvm-setup" I get a lot of errors, for example:
[>] Creating PostgreSQL database
could not change directory to "/root": Permission denied
[*] Creating database user
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
[*] Creating database
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
[*] Creating permissions
could not change directory to "/root": Permission denied
CREATE ROLE
...
Do you have any suggestion?
Two solutions to this either update port number for 14 to 5432 or stop 13.
@@prakharjadon954 As I was telling initially, I did the installation procedure After having uninstalled PostgeSQL 13. I had cheched Also the "change Port option" even before resorting to the "uninstall 13" solution. The Port Number Is 5432
lol virtual box
When I try to run "gvm-check-setup" it's gives me this error 😞
"Job for ospd-openvas.service failed because the control process exited with error code.
See "systemctl status ospd-openvas.service" and "journalctl -xeu ospd-openvas.service" for details"
Would you please tell me what is the solution of this problem ?
My installation doesn't show my UDID, it says its modiftyed default scanner. only password is available. and I get this error when trying to add target "Failed to find config 'daba56c8-73ec-11df-a475-002264764cea'"
+
Same
Same here what's the deal?? I have made sure to resync everything manually ran a gvm-setup again and still failed to find config'....