Post

HackTheBox_Legacy | w/ Metasploit

HTB - Legacy

Overview

Nmap Scan Results

Legacy is an easy-tier machine on Hack The Box, providing a good introduction to basic enumeration, vulnerability identification, and exploitation techniques using Metasploit.

Enumeration

Nmap Scan Results

To start the enumeration, I performed an Nmap scan to discover open ports and services running on the target machine.

Nmap Scan Results

SMB Vulnerability Check

I then checked for known vulnerabilities in the SMB service running on the machine.

SMB Vulnerability Check

Vulnerabilities

Port 445/tcp

The SMB service running on port 445 was found to be vulnerable.

Port 445 Vulnerability

Exploitation

Using Metasploit, I exploited the vulnerability to gain access to the system.

Exploitation Process

Initial Foothold

Shell Access

After gaining shell access, I proceeded to locate and capture the flags.

User Flag

User Flag

Root Flag

Root Flag

Pwned

This post is licensed under CC BY 4.0 by the author.

Comments powered by Disqus.