For this lesson, you’ll need a Kali VM. (VMWare Local.)

Metasploit is a framework that has been developed over the last 20 years that allows for the automation of reconnaissance, exploitation, and post-exploitation. It’s extensible and new modules are constantly being released that automate the process of vulnerability assessment and penetration testing.

This Episode of Darknet Diaries is really good. It’s an interview with the creator of Metasploit. Metasploit has been a —very— controversial subject over the last couple of decades. It’s great to provide security professionals with tools that automate exploitation, but at the same time these tools are just as available to the bad guys.

There’s been a shift in recent years towards ‘responsible disclosure.’ When a vulnerability is discovered, a zero-day (key term), security professionals and independent researchers like bug-bounty hunters will go through a process like this:

I think the Darknet Diaries episode above really does a good job of illustrating exactly what has gone on in the cybersecurity industry that has led to this acceptance of this responsible disclosure process. Metasploit has played a big role here!

In this lab:

Part 1: EternalBlue

Metasploit is an open-source project that can be found on GitHub, but it ships by default with Kali Linux. Let’s start it as the root user. Type:

sudo su
msfconsole

Untitled

When you start Metasploit it will give you a summary of the ‘modules’ that are available.