OpenVAS
DOCS: https://github.com/greenbone/openvas-scanner
OpenVAS (Greenbone Vulnerability Management) Setup and Usage on Parrot OS¶
OpenVAS, now known as Greenbone Vulnerability Management (GVM), is a powerful open-source tool for vulnerability scanning and network security assessments. Parrot OS includes OpenVAS in its repository, making installation and setup straightforward.
Step 1: Install OpenVAS on Parrot OS¶
First, update your system and install OpenVAS:
Step 2: Setup OpenVAS¶
Run the initial setup:
This process downloads and configures the necessary components. After setup, verify the installation with:
If there are any issues, follow the script’s recommendations to fix them.
Step 3: Start OpenVAS Services¶
To start OpenVAS:
To check the status of services:
If you reboot your system, restart OpenVAS with:
Step 4: Update Vulnerability Database¶
Manually sync the latest vulnerability feeds:
sudo greenbone-feed-sync --type gvmdata # Updates GVM database
sudo greenbone-feed-sync --type cert # Updates security advisories
sudo greenbone-feed-sync --type scap # Updates SCAP data (CVE, OVAL, CPE)
Once completed, restart OpenVAS services:
Verify the feed updates:
Step 5: Access OpenVAS Web Interface¶
-
Open a browser and go to:
-
Log in with:
If you forgot the password, reset it with:
Step 6: Create a Scan Target¶
-
Navigate to Scans → Targets.
-
Click New Target and enter:
-
Target Name:
My Network -
Hosts:
192.168.1.1-192.168.1.254 -
Port List:
OpenVAS Default
-
-
Click Save.
Step 7: Create and Run a Vulnerability Scan¶
-
Go to Scans → Tasks.
-
Click New Task.
-
Configure the task:
-
Name:
Vulnerability Scan -
Scan Target: Select the previously created target.
-
-
Click Save and then Start.
Step 8: View and Analyze Scan Results¶
-
Navigate to Scans → Reports.
-
Click on a completed scan report.
-
Review vulnerabilities and recommended fixes.
Step 9: Export Reports¶
To generate and download reports:
-
Open the scan report.
-
Click Export and select a format (PDF, XML, CSV).
Step 10: Automate Scans (Optional)¶
To schedule regular scans:
-
Go to Configuration → Schedules.
-
Click New Schedule (e.g., Weekly Scan).
-
Assign it to a scan task.
Troubleshooting Common Issues¶
1. Web Interface Not Loading¶
Check if OpenVAS is running:
If the service is down, restart it:
Or manually start services:
Check if port 9392 is listening:
If it's not listening, check firewall rules: