This room moves from Metasploit basics into practical use. It covers scanning with Metasploit modules, using the built-in database and workspaces, running vulnerability scans, exploiting services, and understanding how msfvenom and Meterpreter fit into the workflow.
Core idea: Metasploit becomes much more useful once you stop treating it as a single exploit runner and start using it as an organized framework for discovery, exploitation, and session management.
Metasploit includes many auxiliary modules for reconnaissance and service discovery.
search portscan.auxiliary/scanner/portscan/.RHOSTS, PORTS, THREADS, and CONCURRENCY.The room makes the practical point that Metasploit can scan, but if raw scanning speed matters, Nmap is often the better first choice.
You can run normal Nmap scans directly from within msfconsole.
nmap -sS <target> works from the Metasploit prompt.Practical takeaway: Metasploit integrates well with Nmap, but you should still choose the right tool for the job rather than forcing everything through Metasploit modules.
The room highlights that Metasploit is often strongest when you use focused service scanners instead of generic port scans.
scanner/discovery/udp_sweep can quickly identify services such as DNS or NetBIOS.smb_version and smb_enumshares.For larger engagements, the database feature helps track hosts, services, notes, loot, and vulnerabilities.
db_status.On TryHackMe AttackBox this is usually already configured, but on a local setup you may need to start PostgreSQL and initialize the database first.
Workspaces let you separate different projects or target environments inside the same Metasploit instance.
workspace.workspace -a <name>.workspace <name>.workspace -d <name>.Why this matters: once you have multiple targets or multiple clients, clean separation prevents mistakes and makes findings easier to manage.
When the database is active, Metasploit can store scan results and let you query them later.
db_nmap runs Nmap and saves the results into the database.hosts lists discovered hosts.services lists discovered services.loot, notes, and vulns.This is the main difference between a quick one-off exploit session and a more realistic engagement workflow.
The room’s practical direction is straightforward: enumerate the target, identify a promising service, search for a relevant module, set the required options, choose a payload if needed, and run the exploit.
show options.RHOSTS, RPORT, and payload parameters.The room also introduces msfvenom and Meterpreter at a high level.
msfvenom: used to generate payloads.workspace separates projects; db_nmap stores Nmap results directly in the database.