---
title: "5. OpenVAS (open-source vulnerability scanner)"
date: 2024-07-20
draft: false
---

https://academy.hackthebox.com/module/108/section/1463
## Installing Package

First, we can start by installing the tool:

  Getting Started with OpenVAS

```shell-session
stejwes@htb[/htb]$ sudo apt-get update && apt-get -y full-upgrade
stejwes@htb[/htb]$ sudo apt-get install gvm && openvas
```

Next, to begin the installation process, we can run the following command below:

  Getting Started with OpenVAS

```shell-session
stejwes@htb[/htb]$ gvm-setup
```

This will begin the setup process and take up to 30 minutes.

## Starting OpenVas

Finally, we can start OpenVas:

  Getting Started with OpenVAS

```shell-session
stejwes@htb[/htb]$ gvm-start
```

**Note:** The VM provided in the `OpenVAS Skills Assessment` section has OpenVAS pre-installed and the targets running. You can go to that section and start the VM and use OpenVAS throughout the module, which can be accessed at `https://< IP >:8080`. The OpenVAS credentials are: `htb-student`:`HTB_@cademy_student!`. You may also use these credentials to SSH into the target VM to configure OpenVAS.
