Getting code execution is only half the job — you still need a shell that survives, lets you type, and doesn’t get killed by Defender in the first five seconds. This module covers the payload matrix: what shell to drop on what platform, how to catch it, how to upgrade it into something usable, and what defenders see when you do.
Quick Reference
- 📋 Cheatsheet & Checklist — one-liners, msfvenom recipes, and a step-by-step methodology
Sections
- Shell Types — bind vs reverse, TCP vs UDP, staged vs stageless
- Reverse Shells (Linux) — bash, python, perl, php, nc, socat one-liners
- Reverse Shells (Windows) — PowerShell, nc.exe, cmd payloads
- Webshells — PHP, ASPX, JSP shells and interactive webshell frameworks
- msfvenom — payload generation across every format that matters
- Spawning Interactive Shells — TTY upgrades so you can actually work
- Detection & Prevention — what blue team sees and how to stay quieter
