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

Поділитися
Вставка
  • Опубліковано 15 чер 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!!!

КОМЕНТАРІ • 32

  • @linux4free
    @linux4free Місяць тому +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]

  • @hometechs007
    @hometechs007 5 місяців тому +1

    Thanks man!

  • @user-eu5cl2ls7p
    @user-eu5cl2ls7p 3 місяці тому +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

  • @puhacc4736
    @puhacc4736 4 місяці тому +1

    Thank you so much.!

  • @rajpatel3152
    @rajpatel3152 15 днів тому +1

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

  • @syfullahi3976
    @syfullahi3976 4 місяці тому

    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

  • @batsu888
    @batsu888 5 днів тому

    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 21 день тому

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

  • @naveenjha4740
    @naveenjha4740 24 дні тому

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

  • @khaykimhong3919
    @khaykimhong3919 5 місяців тому +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  5 місяців тому

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

  • @Taecey
    @Taecey 2 місяці тому

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

  • @Sasquacz1993
    @Sasquacz1993 5 місяців тому +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  5 місяців тому +1

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

  • @balys07
    @balys07 5 місяців тому +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  5 місяців тому

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

    • @user-me1bw8zk2j
      @user-me1bw8zk2j 3 місяці тому

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

  • @mattmeyer5157
    @mattmeyer5157 4 місяці тому +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  4 місяці тому

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

  • @user-xo4cd1nv7c
    @user-xo4cd1nv7c Місяць тому

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

  • @munnavasu7282
    @munnavasu7282 Місяць тому

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

  • @nerdfps.
    @nerdfps. 4 місяці тому

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

    • @lazysysad
      @lazysysad  4 місяці тому

      🤔

    • @malikymarn8464
      @malikymarn8464 4 місяці тому +1

      I could not log in using default username& password also

    • @nerdfps.
      @nerdfps. 4 місяці тому

      how to resolve@@lazysysad

    • @fmt1976
      @fmt1976 2 місяці тому

      ​@@malikymarn8464 default password change

  • @user-dc2mm1uc5s
    @user-dc2mm1uc5s 3 місяці тому

    How to change password of admin account ?

    • @user-xo4cd1nv7c
      @user-xo4cd1nv7c Місяць тому

      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 2 місяці тому

    how to know my ip address ?

    • @lazysysad
      @lazysysad  2 місяці тому

      in the terminal, execute "ip a"