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

Sdílet
Vložit
  • čas přidán 14. 07. 2024
  • 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!!!

Komentáře • 33

  • @hometechs007
    @hometechs007 Před 6 měsíci +1

    Thanks man!

  • @puhacc4736
    @puhacc4736 Před 5 měsíci +1

    Thank you so much.!

  • @rajpatel3152
    @rajpatel3152 Před měsícem +2

    I followed all the steps but this command "sudo -u gvm -g gvm greenbone-nvt-sync" is not working , its showing command not found.

  • @linux4free
    @linux4free Před 2 měsíci +1

    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 Před 5 měsíci

    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

  • @naveenjha4740
    @naveenjha4740 Před měsícem

    what permissons gvm user gonna have and is it necessary to have gvm user as owner of notus?

  • @batsu888
    @batsu888 Před měsícem

    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?

  • @Anurag-rv1es
    @Anurag-rv1es Před měsícem

    Hi,
    I'm getting this issue ""The SCAP database is required""
    feeds is up to date, server also reboot but same error

  • @khaykimhong3919
    @khaykimhong3919 Před 6 měsíci +1

    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  Před 6 měsíci

      make sure all feeds are updated. Check in Administration > Feed Status

  • @user-eu5cl2ls7p
    @user-eu5cl2ls7p Před 4 měsíci +1

    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

  • @Sasquacz1993
    @Sasquacz1993 Před 6 měsíci +1

    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  Před 6 měsíci +1

      Installing latest version 22.7 will require a different procedure. As of the moment, the only available version in Launchpad is 22.4.

  • @Taecey
    @Taecey Před 3 měsíci

    I cannot access the web interface, I get a 404. What do I have to do?

  • @user-xo4cd1nv7c
    @user-xo4cd1nv7c Před 2 měsíci

    It would be useful to also add a way to change the default password for the admin account

  • @mattmeyer5157
    @mattmeyer5157 Před 5 měsíci +1

    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  Před 5 měsíci

      yeah my initial thought is permission or the directory doesn't exist
      make sure it exists and is owned by gvm user.

  • @balys07
    @balys07 Před 6 měsíci +1

    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  Před 6 měsíci

      @balys07 that means you haven't installed gvm
      Install GVM
      sudo apt -y install gvm

    • @user-me1bw8zk2j
      @user-me1bw8zk2j Před 4 měsíci

      @@lazysysad I have the same problem, the gvm is already installed but those command are not found

  • @munnavasu7282
    @munnavasu7282 Před 2 měsíci

    when task wizard scan the ip while it's showing error like port not listed..

  • @nerdfps.
    @nerdfps. Před 5 měsíci

    I just simply install by using the above. now i m getting invalid login after entering admin,admin

    • @lazysysad
      @lazysysad  Před 5 měsíci

      🤔

    • @malikymarn8464
      @malikymarn8464 Před 5 měsíci +1

      I could not log in using default username& password also

    • @nerdfps.
      @nerdfps. Před 5 měsíci

      how to resolve@@lazysysad

    • @fmt1976
      @fmt1976 Před 3 měsíci

      ​@@malikymarn8464 default password change

  • @user-dc2mm1uc5s
    @user-dc2mm1uc5s Před 4 měsíci

    How to change password of admin account ?

    • @user-xo4cd1nv7c
      @user-xo4cd1nv7c Před 2 měsíci

      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 Před 3 měsíci

    how to know my ip address ?

    • @lazysysad
      @lazysysad  Před 3 měsíci

      in the terminal, execute "ip a"