Number one of the biggest security holes are passwords, as every password security study shows. Hydra is a parallized login cracker which supports numerous protocols to attack. New modules are easy to add, beside that, it is flexible and very fast.
This fast, and many will say fastest network logon cracker supports many different services. Deemed ‘The best parallelized login hacker’: for Samba, FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP, NNTP, MySQL, VNC, ICQ, Socks5, PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
THC-Hydra v8.5 Released
Currently THC-Hydra supports:
- Cisco AAA,
- Cisco auth,
- Cisco enable,
- CVS, Firebird,
- Oracle Listener,
- Oracle SID,
- SMTP Enum,
- SSH (v1 and v2),
- Teamspeak (TS2),
- VNC and
For HTTP, POP3, IMAP and SMTP, several login mechanisms like plain and MD5 digest etc. are supported.
THIS TOOL IS FOR LEGAL PURPOSES ONLY!
This tool is a proof of concept code, to give researchers and security consultants the possibility to show how easy it would be to gain unauthorized access from remote to a system.
$ cd /data/src/ $ wget http://www.thc.org/releases/hydra-8.1.tar.gz $ tar xzvf hydra-8.1.tar.gz $ cd hydra-8.1/ $ ./configure $ make $ sudo make install
If you want the ssh module, you have to setup libssh (not libssh2!) on your system, get it from http://www.libssh.org, for ssh v1 support you also need to add “-DWITH_SSH1=On” option in the cmake command line.
If you use Ubuntu/Debian, this will install supplementary libraries needed for a few optional modules:
apt-get install libssl-dev libssh-dev libidn11-dev libpcre3-dev libgtk2.0-dev libmysqlclient-dev libpq-dev libsvn-dev firebird2.1-dev libncp-dev
Hydra was tested and compiles on:
- All UNIX platforms (linux, *bsd, solaris, etc.)
- Mac OS/X
- Windows with Cygwin (both IPv4 and IPv6)
- Mobile systems based on Linux, Mac OS/X or QNX (e.g. Android, iPhone, Blackberry 10, Zaurus, iPaq)
$ hydra [[[-l LOGIN|-L FILE] [-p PASS|-P FILE]] | [-C FILE]] [-e ns] [-o FILE] [-t TASKS] [-M FILE [-T TASKS]] [-w TIME] [-f] [-s PORT] [-S] [-vV] server service [OPT]
If you just enter “hydra”, you will see a short summary of the important options available. Type “./hydra -h” to see all available command line options. For Linux users, a GTK gui is available, try “./xhydra”
Restoring an aborted session
When hydra is aborted with Control-C, killed or crashs, it leavs a “hydra.restore” file behind which contains all necessary information to restore the session. This session file is written every 5 minutes.
How To Scan/Crack Over a Proxy
The environment variable HYDRA_PROXY_HTTP defines the web proxy (this works just for the http/www service!).
The following syntax is valid:
For all other services, use the HYDRA_PROXY variable to scan/crack via by default a web proxy’s CONNECT call. It uses the same syntax.
If you require authentication for the proxy, use the HYDRA_PROXY_AUTH environment variable: