Install OpenVAS On Kali Linux
Install OpenVAS On Kali Linux
Introduction
OpenVAS (Open Vulnerability Assessment System) is a powerful tool for performing vulnerability
assessments and penetration tests. It is included in Kali Linux but may require installation and
configuration. This guide outlines the steps to install and set up OpenVAS on Kali Linux.
Prerequisites
1. Kali Linux Installed: Ensure that you have Kali Linux running on your system with
administrative access.
3. System Resources: Minimum 4GB of RAM and adequate disk space (at least 20GB
recommended).
Before installing OpenVAS, update the system to ensure you have the latest packages and
dependencies.
sudo gvm-setup
Note: If you get the error message The default PostgreSQL version (16) is not 17 that is required by
libgvmd, you need to swap the PostgreSQL listening ports:
sudo gvm-setup
[>] Starting PostgreSQL service
[-] ERROR: The default PostgreSQL version (16) is not 17 that is required by libgvmd
• Use the sed command, which sets port 5432 for PostgreSQL 17 and 5433 for PostgreSQL
16:
sudo gvm-start
sudo gvm-check-setup
3. Log in with the credentials generated during the setup. The default username is admin, and
the password will be displayed in the terminal output of gvm-setup. If you missed it, you can
reset the password using:
To ensure accurate vulnerability assessments, regularly update the feed data for OpenVAS.
sudo greenbone-feed-sync
Step 7: Troubleshooting
If you encounter issues, check the logs for detailed error messages:
You can also rerun the setup check for more insights:
sudo gvm-check-setup
Conclusion
You have successfully installed and configured OpenVAS on Kali Linux. You can now use the tool to
perform vulnerability assessments and enhance your security testing capabilities.
References: