msfvenom
Generates payloads (reverse shells, executables, webshells).
Metasploit's payload generator. It creates reverse shells and executables in many formats (exe, elf, war, msi, php, aspx) and encodes to avoid badchars in binary exploitation. Pair it with the multi/handler to catch the session.
Family Access, shells & transfer
Flags -p LHOST LPORT -f -e
Cheatsheet Reverse shells
Installation
# ships with the Metasploit Framework
sudo apt install -y metasploit-frameworkUseful commands
Appears in
Some machines where its use is documented; not an exhaustive list.
- AccessProving Grounds Practice
- ArcticHackTheBox
- AtomHackTheBox
- BackdoorHackTheBox
- BlueHackTheBox
- BuffHackTheBox
- ChatterboxHackTheBox
- CompiledHackTheBox
- FishProving Grounds Practice
- HepetProving Grounds Practice
- InternalProving Grounds Practice
- JackoProving Grounds Practice
- KevinProving Grounds Practice
- LegacyHackTheBox
- MedJedProving Grounds Practice
- MiceProving Grounds Practice
- MonsterProving Grounds Practice
- NickelProving Grounds Practice
- ShenziProving Grounds Practice
- SlortProving Grounds Practice