How to install gvm on kali linux

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 4, 2026

Quick Answer: Installing the Greenbone Vulnerability Management (GVM) framework on Kali Linux typically involves updating your package lists, installing the necessary GVM components using `apt`, and then running a setup script. This process ensures you have the latest versions of GVM and its dependencies for effective vulnerability scanning.

Key Facts

Overview

The Greenbone Vulnerability Management (GVM) framework, formerly known as Greenbone Security Assistant (GSA), is a powerful and widely used open-source tool for vulnerability scanning and management. It provides a comprehensive suite of tools to detect security weaknesses in networks and systems. Kali Linux, a distribution specifically designed for penetration testing and digital forensics, offers excellent support for installing and running GVM, making it an accessible option for security professionals and enthusiasts.

Why Install GVM on Kali Linux?

Kali Linux is built with security in mind, and integrating GVM enhances its capabilities significantly. GVM allows users to:

Installing GVM on Kali Linux provides a robust, all-in-one platform for proactive security assessment.

Prerequisites

Before you begin the installation, ensure that your Kali Linux system is up-to-date. Open a terminal and run the following commands:

sudo apt updatesudo apt upgrade -y

This ensures that all your system packages are current, minimizing potential conflicts during the GVM installation.

Installation Steps

The installation of GVM on Kali Linux can be achieved through the distribution's package manager. The primary package to install is typically named `gvm`.

Step 1: Install the GVM Package

Execute the following command in your terminal:

sudo apt install gvm -y

This command will download and install the core GVM components, including the Greenbone Security Assistant (GSA) web interface, the scanner (OpenVAS), and supporting libraries. The installation process can take a considerable amount of time, as it may involve downloading several gigabytes of data and potentially compiling some components.

Step 2: Run the GVM Setup Script

Once the package installation is complete, you need to run the GVM setup script. This script initializes GVM, configures its databases, and downloads the initial vulnerability feed data. Run the following command:

sudo gvm-setup

This script performs several critical tasks:

Step 3: Start GVM Services

After the setup script finishes, you need to start the GVM services. The command to manage GVM services is typically `gvm-start`.

sudo gvm-start

This command starts the GVM daemon, the scanner daemon, and the GVM-Tools daemon, enabling the web interface and scanning functionalities.

Step 4: Check GVM Status

To verify that GVM is running correctly, you can check its status:

sudo gvm-tools --status

This command should show that all GVM components are active.

Step 5: Access the GVM Web Interface

The Greenbone Security Assistant (GSA) web interface is the primary way to interact with GVM. By default, it runs on port 9392. Open your web browser and navigate to:

https://localhost:9392

You will be prompted to log in. Use the username `admin` and the password you set during the `gvm-setup` process. You might encounter a security warning due to the self-signed certificate; you can proceed by accepting the risk.

Post-Installation and Updates

Once GVM is installed and running, it's essential to keep its vulnerability feeds updated. The feeds contain the information GVM uses to identify vulnerabilities.

To update the feeds manually, you can use:

sudo runuser -u _gvm -- greenbone-nvt-syncsudo runuser -u _gvm -- greenbone-feed-sync --type SCAPsudo runuser -u _gvm -- greenbone-feed-sync --type CERT

Alternatively, you can often restart GVM services, which may trigger an update, or configure automatic updates.

Periodically, you may also need to update the GVM software itself. This is typically done using `apt`:

sudo apt updatesudo apt upgrade gvm -y

It is recommended to run these updates regularly to ensure GVM is effective against the latest threats.

Troubleshooting Common Issues

Long Feed Synchronization Times: The initial feed synchronization can take many hours. Ensure you have a stable internet connection and sufficient disk space. If it fails, you can try running the sync commands manually again.

Web Interface Not Accessible: Verify that GVM services are running using `sudo gvm-tools --status`. Check firewall rules if you are trying to access it from a different machine. Ensure you are using `https` and the correct port (9392).

Login Issues: Double-check the password you set during `gvm-setup`. If you've forgotten it, you might need to reset it, which can involve reconfiguring GVM or finding password reset scripts specific to your GVM version.

Conclusion

Installing and configuring GVM on Kali Linux provides a powerful vulnerability assessment tool. By following these steps, you can set up a system capable of identifying security risks and helping you maintain a more secure environment. Remember to keep your GVM feeds and software updated for optimal performance and accuracy.

Sources

  1. Installing and Using GVM on Kali | Kali Linux DocumentationCC-BY-SA-4.0
  2. Greenbone Security Assistant (GVM) - GitHubGPL-2.0-or-later
  3. OpenVAS Official Websitefair-use

Missing an answer?

Suggest a question and we'll generate an answer for it.