Hydra tests remote logins across many protocols in parallel, for authorized security research and consultancy demonstrations. It supports numerous services from SSH and FTP to HTTP forms and databases.
Overview
Hydra is a password-guessing tool aimed at showing how weak credentials can grant unauthorized remote access. It targets the login interfaces of network services rather than local password files, and is intended for legal security testing only.
Unlike many older tools, Hydra runs parallel connection attempts and supports a wide module list covering Asterisk, FTP, HTTP and HTTPS form and page modes, SSH, RDP, SMB, databases such as MySQL and PostgreSQL, SNMP, VNC, XMPP, and dozens of other protocols. New services can be added through a modular engine.
Attacks are driven from the command line or an optional GTK front end on Linux. You point it at a host, CIDR range, or host list, pick a protocol module, and supply logins and passwords via flags, word lists, colon-separated pairs, or brute-force charset rules. SSL, IPv6, proxy environment variables, session restore files, and JSON or text output formats are supported.
It builds on Linux, BSD, Solaris, macOS, Windows with Cygwin, and some mobile Linux or QNX systems. A Docker image offers another way to obtain the current codebase without compiling locally.
Key features
- Parallelized login attempts
- Many protocol modules
- IPv4 and IPv6 attack modes
- Word lists and brute-force modes
- HTTP and HTTPS form support
- Session restore after interruption
- Optional GTK GUI on Linux
- JSON and text result output
Use cases
- Authorized penetration testing
- Credential policy demonstrations
- Multi-protocol login audits
- Security consultant proof-of-concept
- Password hygiene research