Cyberlium

Metasploit › Module 6 › Lesson 2

BeginnerModule 6Lesson 2/5

Staged vs Stageless

Stager + stage vs single blob — know the tradeoff; demo concepts on $LAB.

15 min+40 XP3 quiz
Module progress2 of 5

Visual · msf_staged_stageless

Staged = two steps; stageless = one. Original Cyberlium.

Opening

Size vs reliability is a design choice — not a excuse to hit real networks.

Staged payloads send a small stager first, then pull the full stage. Stageless ships everything at once — larger, fewer moving parts. Read module info and show options on YOUR lab; do not treat stageless as “stealth permission” on production.

1. Staged flow

Stager runs, connects to handler, downloads stage. Useful when space is tight.

Defenders may see staged retrieval — log correlation matters.

Command guide

Try these commands — Staged flow

═══ TOOLS & WEBSITES ═══ Browse / read these (authorized learning only — stay in YOUR lab / program scope)

Staged payloads — https://docs.rapid7.com/metasploit/working-with-payloads/ Payload architecture — https://docs.rapid7.com/metasploit/msf-overview/

═══ INSTALL ═══

Linux (Debian/Ubuntu): Kali: preinstalled, or: sudo apt install metasploit-framework

macOS: Prefer Kali/Linux VM — brew install metasploit (heavy)

Windows: Use Kali VM or WSL with metasploit-framework — not raw Windows host

═══ LINUX / macOS ═══

Command — copy this

msfconsole -q -x 'search type:payload name:shell; search type:payload name:meterpreter; exit' 2>/dev/null || echo 'Staged vs stageless literacy'

Primary tools to practice this lesson: msfconsole. Reference sites: Staged payloads (https://docs.rapid7.com/metasploit/working-with-payloads/); Payload architecture (https://docs.rapid7.com/metasploit/msf-overview/). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.

2. Stageless flow

Single payload blob. Simpler handler pairing sometimes.

Names often include stageless in the path — read with info, not guess.

3. Literacy commands

info on a payload module shows description and compatible handlers.

show options lists LHOST, LPORT, EXITFUNC — set only for $LAB targets.

4. What you ship: staged vs stageless contrast

Two-step vs one-blob explained. info/show options literacy.

5. What you record before the next lesson

Contrast paragraph + one info excerpt from lab.

6. Wrong vs right: stranger hosts vs YOUR lab VM

Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.

  • Wrong

    Pick stageless to bypass AV on a bank workstation.

  • Right

    Explain tradeoff. Next: handlers lab-only.

Mission: staged contrast

1) Write staged vs stageless. 2) info one payload on lab. 3) show options — list LHOST/LPORT meaning.

Stuck? Ask Cyberlium AI Mentor

Ask Mentor: “When might staged fail closed?”

Knowledge Check

1

APPLY: Staged payloads often:

Multiple choice

Knowledge Check

2

APPLY: True or False: Stageless means authorized on any host.

True or False

Knowledge Check

3

APPLY: Read compatibility with:

Multiple choice

← Previous

Answer all 3 knowledge checks to continue. (0/3 answered)