Installing OpenVAS GVM on KALI Linux the right way - no config issues!

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • 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

ความคิดเห็น • 77

  • @TerryForeverYoung
    @TerryForeverYoung 11 หลายเดือนก่อน +5

    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

    • @kilzygrey
      @kilzygrey 2 หลายเดือนก่อน

      Were you able to fix this error?.. if so, please kindly assist.

    • @zk-mc
      @zk-mc หลายเดือนก่อน +1

      @@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

    • @kilzygrey
      @kilzygrey หลายเดือนก่อน

      @@zk-mc Thank you so much for your help man. I appreciate it. You have actually helped a lot of people lol..

  • @tyroneml3674
    @tyroneml3674 ปีที่แล้ว +5

    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

    • @wided.ghrairi9560
      @wided.ghrairi9560 ปีที่แล้ว

      Même problème tu as une solution s'il vous plaît

    • @floydian4evr
      @floydian4evr ปีที่แล้ว

      I am dealing with the same issue....any fix????

    • @junkai6877
      @junkai6877 ปีที่แล้ว

      Any fix?

    • @mrskeptic9957
      @mrskeptic9957 ปีที่แล้ว

      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 !

    • @zk-mc
      @zk-mc หลายเดือนก่อน

      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

  • @alexanderparkhomenko4471
    @alexanderparkhomenko4471 2 ปีที่แล้ว +1

    Thanks , Bro. From far eastent, russian vladivostok, fefu. Best guide!!!

  • @dhsahay1
    @dhsahay1 2 ปีที่แล้ว +2

    Awesome! Successfully installed in one go! Thanks a lot for this amazing video

  • @wanderingjeff
    @wanderingjeff ปีที่แล้ว

    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!

    • @jeepfreak9880
      @jeepfreak9880 ปีที่แล้ว

      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!

  • @ayazahmed6085
    @ayazahmed6085 17 วันที่ผ่านมา

    Thanks Dear, its Working.

  • @vladzvs1613
    @vladzvs1613 ปีที่แล้ว

    thanks a lot! Successfully installed. Some other tutorials before were failed

  • @Nogali
    @Nogali 2 ปีที่แล้ว +3

    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.

  • @vinodghodke3517
    @vinodghodke3517 ปีที่แล้ว +1

    Excellent :) It helps a lot. Thank you so much for sharing.

  • @markdudov2508
    @markdudov2508 2 ปีที่แล้ว +3

    gvm-setup does not working
    Show me: gvm-setup command not found

    • @martialking4092
      @martialking4092 ปีที่แล้ว

      Did u install openvas using command:apt-get install openvas

    • @raihanbhura9084
      @raihanbhura9084 ปีที่แล้ว

      bro try sudo

  • @jameelkhan570
    @jameelkhan570 ปีที่แล้ว

    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

  • @rosslight7355
    @rosslight7355 2 ปีที่แล้ว +4

    Hi, Why does it say (Failed to find port_list '33d0cd82-57c6-11e1-8ed1-406186ea4fc5') when i put in the Target? thanks

    • @emaanrad1624
      @emaanrad1624 2 ปีที่แล้ว +2

      how did u solve this problem ? :(

  • @Heelo_0
    @Heelo_0 9 หลายเดือนก่อน

    didn't work for me, it keeps showing a lot of error 404 failed to fetch kali http

  • @superedesca
    @superedesca 2 ปีที่แล้ว +1

    Great video Dan !!!

  • @blackranger07
    @blackranger07 2 ปีที่แล้ว

    Thanks a lot! Followed step by step and got it working.

  • @cemiltaskn7645
    @cemiltaskn7645 ปีที่แล้ว

    you are awesome bro! its finally work for me

  • @andresarredondo8903
    @andresarredondo8903 7 หลายเดือนก่อน

    Is any way to change the format of the reports? Like adding a own logo for example or changing font type and size?

  • @ericl.6875
    @ericl.6875 9 หลายเดือนก่อน

    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!

  • @jeffblank9767
    @jeffblank9767 2 ปีที่แล้ว

    Thanks, you are a life savior!

  • @cyrilokonkwo3323
    @cyrilokonkwo3323 ปีที่แล้ว

    Thanks for this. Really helpful

  • @Loyalty2024
    @Loyalty2024 ปีที่แล้ว

    i continue to get that upgrade for postgresql 14 to 15 but i have the version 15 install SMH.... need guidance

  • @hackerz54
    @hackerz54 ปีที่แล้ว

    Hi, i am getting error at gvm-setup, it says cannot change directory to"/ankur" permission denied, i ran this as root.

  • @FunnyHaHa23
    @FunnyHaHa23 ปีที่แล้ว

    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?

  • @aessi2746
    @aessi2746 2 ปีที่แล้ว

    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

  • @md-imran-hossain-imue
    @md-imran-hossain-imue 5 หลายเดือนก่อน

    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 ?

  • @cesarcasas
    @cesarcasas 2 ปีที่แล้ว

    Excellent tutorial. Thank you so much for sharing it.

  • @noepol
    @noepol ปีที่แล้ว

    You are amazing. Great video. Thank you very much.

  • @paulbunion584
    @paulbunion584 ปีที่แล้ว

    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!

  • @andersonbervanger2311
    @andersonbervanger2311 ปีที่แล้ว

    You're the real MVP

  • @lutforalamsohan7948
    @lutforalamsohan7948 ปีที่แล้ว

    GREAT MAN. THANK YOU a lot.

  • @AjayKumarajayoad
    @AjayKumarajayoad ปีที่แล้ว

    great work. thanks

  • @jpgress
    @jpgress ปีที่แล้ว

    thank you, bro. help me a lot.

  • @hamidrezaahmadi2206
    @hamidrezaahmadi2206 2 ปีที่แล้ว

    Thank you bro❤❤❤

  • @hassanazad5134
    @hassanazad5134 ปีที่แล้ว

    Thank you

  • @jimmyhernandez5393
    @jimmyhernandez5393 2 ปีที่แล้ว

    Bnas me sale error en octavo paso del check

  • @hejejddj9509
    @hejejddj9509 2 ปีที่แล้ว

    Thank you bro

  • @workwork1849
    @workwork1849 2 ปีที่แล้ว

    how to run scans on schedule

  • @georgiamilton3265
    @georgiamilton3265 ปีที่แล้ว

    Can i scan a URL such as WebGoat??

  • @user-qs5cr9gn5s
    @user-qs5cr9gn5s ปีที่แล้ว

    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?

    • @zk-mc
      @zk-mc หลายเดือนก่อน

      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.

  • @simonsedarsenghor4868
    @simonsedarsenghor4868 ปีที่แล้ว

    j ai probleme j arrrive pas a creer un task

  • @descartes3576
    @descartes3576 ปีที่แล้ว

    PERFECT

  • @exfo01
    @exfo01 ปีที่แล้ว

    I lost my password, how do I recover it?

  • @earthlyelder
    @earthlyelder 2 ปีที่แล้ว

    Thanks bro

  • @DJNanchini
    @DJNanchini ปีที่แล้ว

    Nice master

  • @danilodantas7638
    @danilodantas7638 2 ปีที่แล้ว

    what database do you use?

  • @yashmodi1408
    @yashmodi1408 2 ปีที่แล้ว

    Thanks bhai

  • @Pritchii
    @Pritchii 2 ปีที่แล้ว +1

    └─# 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

    • @Pritchii
      @Pritchii 2 ปีที่แล้ว

      any idea how to fix?

    • @Leo1964
      @Leo1964 2 ปีที่แล้ว +4

      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.

  • @dilovankonya4556
    @dilovankonya4556 ปีที่แล้ว

    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

    • @mrman2478
      @mrman2478 ปีที่แล้ว

      Have you found solution?

    • @mrman2478
      @mrman2478 ปีที่แล้ว

      I have same error

  • @micdestefano
    @micdestefano 2 ปีที่แล้ว +1

    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?

    • @prakharjadon954
      @prakharjadon954 2 ปีที่แล้ว

      Two solutions to this either update port number for 14 to 5432 or stop 13.

    • @micdestefano
      @micdestefano 2 ปีที่แล้ว

      @@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

  • @muzahidhossain3362
    @muzahidhossain3362 ปีที่แล้ว

    Interrupted at 0.

  • @jm1503
    @jm1503 5 หลายเดือนก่อน

    just type su....

  • @nobleinfosec571
    @nobleinfosec571 2 ปีที่แล้ว

    lol virtual box

  • @cybernaut263
    @cybernaut263 2 ปีที่แล้ว +2

    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'"

    • @waxbang297
      @waxbang297 2 ปีที่แล้ว

      +

    • @aaronpropes9134
      @aaronpropes9134 2 ปีที่แล้ว

      Same

    • @coconman1
      @coconman1 ปีที่แล้ว

      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'....