Info Sec Daily
Published in

Info Sec Daily

Vulnerability Scanning With OpenVAS and Metasploit Framework

In this article we will be demonstrating briefly how to use OpenVAS and the Metasploit framework to conduct vulnerability scanning on a a target. OpenVAS and Metasploit are powerful open-source softwares which are even more powerful when used together.

First, you will need some form of Kali Linux. I will be using a virtual machine and conducting scans on a virtual network.

Start postgresql to connect to the database, then start OpenVAS with these two commands:

service postgresql start

openvas-start

The information given after start-up will show you which port OpenVAS is running on, which should be 9392.

Next, run msfconsole to start the Metasploit framework, and then run

load OpenVAS

to begin using OpenVAS within Metasploit.

Here is a website I found helpful that covers how to navigate OpenVAS in Metasploit and some of the commands. Here is a screenshot from that website with some of the basics that we will be using:

OpenVAS Help

Run

openvas_connect admin Pa$$w0rd localhost 9390 ok

to connect with OpenVAS.

Create the target you will be scanning using this command:

openvas_target_create “pc2” 10.1.0.102 “PC2”

--

--

--

Cyber security and information assurance

Recommended from Medium

Forge HackTheBox writeup

https://app.hackthebox.com/machines/376

Try Hack Me: Madness Walkthrough with Pwncat

#GameInfinity #Privatesale Is Live!

Most Enterprises are Unprepared to Face Botnet Attacks on APIs

Botnet Attacks on APIs

{UPDATE} Arabian Princess Dress Hack Free Resources Generator

Digital Certificate series — Part 2

7 Steps to Take During a Cyber Attack

Cyber Defense: Andrew Wright of Snyk on the 5 Things Every American Business Leader Should Do to…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ricky Bennett

Ricky Bennett

More from Medium

How Stories Define System Behaviour In Agile?

User Research Exercise

Week 12 | Fall Project Documentation with Reflective Assessment

Capstone Project Kick-off