Reverse Shell vs Bind Shell
by HHHHarshil
What is a Shell?
A program that takes input from a keyboard and gives it to the OS to process.
Commonly referred to as the terminal/command prompt.
Different Types of Shells include:
- ZSH
- Bash
- CMD
- Powershell
- SH
What is a Bind Shell?
Binds a command prompt to a port on the server which the client can then connect to.
What are common issues associated with Bind Shells?
- Anyone that sees the open port can access the machine.
- Most current gen firewall have allow lists of only certain ports/services that are open.
What is a Reverse Shell?
Server creates a connection then attempts to reach back out to the client.
What are common issues associated with Reverse Shells?
- Modern day firewalls block unencrypted traffic
- This can be solved through tunneling through SSH which is an encrypted protocol