Results 1 to 7 of 7

Thread: [HowTo] Installation procedure of OpenVAS on Kali Linux 2022.1

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Lightbulb [HowTo] Installation procedure of OpenVAS on Kali Linux 2022.1 - 2023.1

    I. POSTGRESQL.


    Start the service for the gvm module (Greenbone Vulnerability Management)

    To do this, open a terminal window:

    Code:
    sudo /etc/init.d/postgresql start

    II. INSTALLATION OF GVM.


    In a terminal window:



    Code:
    sudo apt install --install-recommends gvm -y
    Code:
    sudo gvm-setup



    Be patient it will take a long time.

    Once the installation is complete, let's go to the setup check:

    Code:
    sudo gvm-check-setup




    Once the setup is complete you will have this type of output:




    To avoid a "FIX" error message on next boot:




    To do this, simply start the redis-server service:

    Code:
    sudo systemctl start [email protected]




    Enable this same service on every boot:

    Code:
    sudo systemctl enable [email protected]







    Perform a final check of the setup which will tell us that the installation is ok:




    Then let's add a "kali" user and his password: (by default but both need to be changed)

    Code:
    sudo runuser -u _gvm -- gvmd --create-user=kali --password=kali



    Once the installation is complete, let's go to the management console.

    To do this, open a web window and enter the following address:

    Code:
    https://127.0.0.1:9392/login




    Press ?Advanced? to accept the self-signed certificate despite the alert:




    Fill in the identifiers created previously:




    And here you are in the dashboard:




    If any time after a restart of your Kali Linux OpenVAS does not start, redo
    a setup check:


    Code:
    sudo gvm-check-setup

    UPDATE KALI 2022.4:


    it turns out after updating to kali linux version 2022.4, that in OpenVas it is impossible for the utility to get access to the logs. Just give the right rights to correct the incident with the line below:

    Code:
    sudo chmod 666 /var/log/gvm/openvas.log
    This action is no longer required in version 2023.1
    Last edited by wingcommander'99; 2023-04-20 at 15:37.

Similar Threads

  1. [HowTo] Procedure for scanning a target with OpenVAS
    By wingcommander'99 in forum How-To Archive
    Replies: 0
    Last Post: 2022-04-08, 18:50
  2. [HowTo]Perform a Scan Task on OpenVAS
    By wingcommander'99 in forum How-To Archive
    Replies: 0
    Last Post: 2022-04-08, 11:37
  3. Replies: 3
    Last Post: 2015-11-13, 21:21
  4. Howto HDD installation on a USB key
    By Quest in forum How-To Archive
    Replies: 5
    Last Post: 2015-02-12, 16:18
  5. Kali Linux Live USB Install Procedure with UNetbootin
    By Stormtide31 in forum Installing Archive
    Replies: 11
    Last Post: 2014-01-17, 17:27

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •