Metasploit: Meterpreter

Overview

This room introduces Meterpreter, Metasploit’s advanced payload and post-exploitation environment. It explains how Meterpreter runs on the target, why it is useful, how payload flavors differ, and which commands matter most once you land a session.

Core idea: a Meterpreter session gives you a more capable post-exploitation interface than a simple shell, but you still need to understand the target, pick the right payload, and use the right built-in commands.

1) What Meterpreter Is

Meterpreter is a Metasploit payload that runs as an agent on the compromised target and provides specialized post-exploitation functionality.

2) Why Meterpreter Is Considered Stealthier

The room emphasizes that Meterpreter is meant to reduce obvious artifacts on the target.

Important limit: this does not mean Meterpreter is invisible. Modern antivirus and security products still detect it frequently.

3) Process Context and PIDs

The room shows how getpid reveals the process ID Meterpreter is using, and how ps can list running processes on the target.

4) Meterpreter Flavors

Meterpreter is available in multiple variants depending on the target environment.

Your choice depends on:

5) Payload Selection Inside Exploits

Many Metasploit exploit modules already suggest or default to a Meterpreter payload.

Practical rule: do not blindly accept the default payload. Check architecture, network constraints, and whether a staged or stageless option makes more sense.

6) Core Meterpreter Commands

Once you land a session, help should be one of the first commands you run.

Available commands vary by Meterpreter flavor, so the help menu is always the authoritative reference for the current session.

7) Useful Command Categories

The room groups Meterpreter functionality into practical categories.

These built-in commands run through Meterpreter itself, which is often cleaner than dropping additional tools to disk.

8) Practical Post-Exploitation Mindset

This room is mainly about using the session effectively after exploitation succeeds.

Exam Notes (PT1)