Spread the word.

Share the link on social media.

Share
  • Facebook
Have an account? Sign In Now

Sign Up

Have an account? Sign In

Have an account? Sign In Now

Sign In

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Don't have account, Sign Up Here
Please subscribe to paid membership

Sorry, you do not have a permission to add a post. Please subscribe to paid membership

Forgot Password?

Don't have account, Sign Up Here
Please subscribe to paid membership

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

GEKOOK.COM
Sign InSign Up

GEKOOK.COM

Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Communities
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Chat with an expert
Home/ Questions/Q 454
Asked: May 25, 20222022-05-25T13:45:49+00:00 2022-05-25T13:45:49+00:00In: Linux

How to Install and Configure OpenVAS on Kali Linux

ITCOM
ITCOM

OpenVAS or Open Vulnerability Assessment System is a Pen-testing framework whose collection of tools allow you to scan and test systems for known vulnerabilities. OpenVAS uses a database containing a collection of known exploits and vulnerabilities.

 

OpenVAS consists of:

  • A database comprised of results and configurations
  • A Scanner that runs various Network Vulnerability Tests
  • A Collection of Network Vulnerability tests
  • A Greenbone Security Assistant, a web interface that allows you to run and manage scans in the browser

In this tutorial, we will cover how to install and configure the OpenVAS tool on Kali Linux.

Installing OpenVAS

Before installing OpenVAS, the first thing we need to do is ensure your system is up to date.

NOTE: Skip this step if you have an updated system:

sudo apt-get update
sudo apt-get dist-upgrade

Once you have your system up to date, we can install OpenVAS:

sudo apt-get install openvas

Having installed OpenVAS successfully, you will have access to the setup script. Launch it to configure OpenVAS for first-time use:

sudo gvm-setup

NOTE: Depending on your system configuration, you may need to install an SQLite database.

Remember to note down the password generated during the setup process as you will require it to log in to the Greenbone Security Assistant web interface.

Starting and Stopping OpenVAS

If you have OpenVAS configured properly, you can run it by executing the command:

sudo gvm-start

This command should launch the OpenVAS service and open the browser. You can manually navigate to the web interface using the default listening ports.

This command should launch the services listening on port 9390 and 9392

Troubleshooting Errors

Installing OpenVAS on older versions of Kali and other Debian flavors may result in some errors. Here’re some possible ways of fixing possible errors:

Install PostgreSQL or SQLite3 database

sudo apt-get install postgresql
sudo service postgresql start
sudo apt-get install sqlite3
sudo service sqlite3 start
Next, use gvm commands:
sudo apt install gvm –y
sudo gvm-setup
sudo gvm-feed-update
sudo gvm-start

NOTE: Depending on the version you have installed, you may need to use the gvm (Greenbone Vulnerability Manager) command other than OpenVAS.

Accessing OpenVAS Web UI

Using the Greenbone Security Assistant features, you can access the OpenVAS web UI from your local machine. You will need to have OpenVAS running to access the interface.

Open your browser and navigate to http://localhost:9392

se the username as admin and the password generated in the setup process.

Once you log in, you should have access to OpenVAS web UI, which you can configure to suit your needs.

Add Target

The first step to using the Security Assistant is to add targets. Navigate to the configuration menu and select targets.

On the top left corner, select a blue icon to start adding targets. Doing that will launch a dialogue window that allows you to add information about the target, such as:

  • Target Name
  • The IP address

Once you add all the relevant information about the target, you should see it listed in the targets section.

Creating a Scan Task

Let us now proceed to create a scan task. A task in OpenVAS defines the target(s) you want to be scanned and the required scanning parameters. For the sake of simplicity, we will use the default scan options.

Navigate to Scans sections and select Tasks in the dropdown menu. Click on the icon on the left-hand side to create a new task.

That will launch a window allowing you to provide all relevant information for a scanning task.

  • Task name
  • Scan target
  • Schedule

Use the default settings and click on Create.

To run a task, click on the Play icon on the bottom left of the task list.

Adding Users

OpenVAS allows you to add various users and assign various roles to them. To add a user or role, navigate to the administration section and click on users. Select the add new icon and add the user information:

Conclusion

OpenVAS is a powerful tool that brings the power of cybersecurity research into your hands. You can use it to monitor devices in your network and websites on remote servers.

Author : John Otieno

kalilinuxopenvassecurity
  • 0
  • 00
  • 23
  • 0
  • 0
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Ask A Question

    Stats

    • Questions 84
    • Answers 75
    • Popular
    • Answers

    Trending Tags

    Analytics (2) Company (3) CRM (2) Docking (1) Drupal (1) Hardware (1) HTML (2) Language (4) Laptop (1) Linux (1) Management (2) Networking (1) Programmers (6) Programs (5) Project management (2) Security (5) Teams (1) University (1) Windows (2) Windows 10 (2)

    Last registered users

    Sinus Treatment in Coimbatore

    Sinus Treatment in Coimbatore

      Begginer
      HappyBear

      HappyBear

        Begginer
        purerawhoney

        purerawhoney

          Begginer
          Craftsman Storage Systems

          Craftsman Storage Systems

            Begginer
            Blushing Bride

            Blushing Bride

              Begginer

              Explore

              • Home
              • Add group
              • Groups page
              • Communities
              • Polls
              • Tags
              • Badges
              • Users
              • Help
              • Chat with an expert

              Footer

              GEKOOK.COM

              Gekook is a questions & Answers plateform which will help you establis your community and connect with other people.

              About Us

              • Meet The Team
              • Community
              • About Us
              • Contact Us

              Legal Stuff

              • Terms of Use
              • Privacy Policy
              • Cookie Policy

              Help

              • Knowledge Base
              • Support

              Follow

              © 2022. All Rights Reserved
              Gekook Brainstorm | Gekook Canada Inc