Hydra Supported Protocols

A comprehensive guide to all protocols supported by Hydra and their specific options

Hydra supports a wide range of protocols for password cracking and brute force attacks. This guide provides details on each supported protocol and their specific options.

Network Services

SSH Protocol

The SSH (Secure Shell) protocol module allows you to test SSH authentication.

Basic Usage:

hydra -l username -P passwords.txt ssh://192.168.1.100

Module Options:

  • -s PORT: Specify a non-standard port
  • -m OPTIONS: Additional module options

SSH-Specific Options:

# Use SSH key authentication
hydra -l username -P keyfiles.txt -m 1 ssh://192.168.1.100

# Specify SSH protocol version
hydra -l username -P passwords.txt -m ssh2 ssh://192.168.1.100

Example:

# SSH with keyboard-interactive authentication
hydra -l admin -P passwords.txt -e nsr ssh://192.168.1.100

Web Services

HTTP-GET Form

The HTTP-GET module allows you to test web applications using GET requests.

Basic Usage:

hydra -l admin -P passwords.txt 192.168.1.100 http-get "/login.php"

Module Options:

  • /path: The URL path
  • :parameters: Form parameters with ^USER^ and ^PASS^ placeholders
  • :fail_string: String indicating failed login

Example:

hydra -l admin -P passwords.txt 192.168.1.100 http-get-form "/login.php:username=^USER^&password=^PASS^:Login failed"

Database Services

MySQL Protocol

The MySQL module allows you to test MySQL database authentication.

Basic Usage:

hydra -l root -P passwords.txt mysql://192.168.1.100

Module Options:

  • -s PORT: Specify a non-standard port

Example:

# MySQL on non-standard port
hydra -l root -P passwords.txt -s 3307 mysql://192.168.1.100

Email Services

SMTP Protocol

The SMTP module allows you to test email server authentication.

Basic Usage:

hydra -l admin -P passwords.txt smtp://192.168.1.100

Module Options:

  • -s PORT: Specify a non-standard port

SMTP-Specific Options:

# SMTP with TLS (SMTPS)
hydra -l admin -P passwords.txt -S smtp://192.168.1.100

# SMTP with specific authentication method
hydra -l admin -P passwords.txt -m LOGIN smtp://192.168.1.100

Example:

# SMTP with PLAIN authentication
hydra -l admin@example.com -P passwords.txt -m PLAIN smtp://192.168.1.100

Other Protocols

Hydra also supports many other protocols, including:

  • LDAP: Lightweight Directory Access Protocol

    hydra -l "cn=admin,dc=example,dc=com" -P passwords.txt ldap://192.168.1.100
    
  • VNC: Virtual Network Computing

    hydra -P passwords.txt vnc://192.168.1.100
    
  • Cisco: Cisco device authentication

    hydra -l admin -P passwords.txt cisco://192.168.1.100
    
  • Cisco-Enable: Cisco enable password

    hydra -l admin -P passwords.txt cisco-enable://192.168.1.100
    
  • CVS: Concurrent Versions System

    hydra -l admin -P passwords.txt cvs://192.168.1.100
    
  • Firebird: Firebird database

    hydra -l SYSDBA -P passwords.txt firebird://192.168.1.100
    
  • HTTP-Proxy: HTTP proxy authentication

    hydra -l admin -P passwords.txt http-proxy://192.168.1.100
    
  • ICQ: ICQ protocol

    hydra -l 123456789 -P passwords.txt icq://192.168.1.100
    
  • IRC: Internet Relay Chat

    hydra -l admin -P passwords.txt irc://192.168.1.100
    
  • NCP: NetWare Core Protocol

    hydra -l admin -P passwords.txt ncp://192.168.1.100
    
  • NNTP: Network News Transfer Protocol

    hydra -l admin -P passwords.txt nntp://192.168.1.100
    
  • PCNFS: PC Network File System

    hydra -l admin -P passwords.txt pcnfs://192.168.1.100
    
  • Redis: Redis database

    hydra -P passwords.txt redis://192.168.1.100
    
  • Rexec: Remote execution

    hydra -l admin -P passwords.txt rexec://192.168.1.100
    
  • Rlogin: Remote login

    hydra -l admin -P passwords.txt rlogin://192.168.1.100
    
  • Rsh: Remote shell

    hydra -l admin -P passwords.txt rsh://192.168.1.100
    
  • RTSP: Real Time Streaming Protocol

    hydra -l admin -P passwords.txt rtsp://192.168.1.100
    
  • SOCKS5: SOCKS version 5

    hydra -l admin -P passwords.txt socks5://192.168.1.100
    
  • SVN: Subversion

    hydra -l admin -P passwords.txt svn://192.168.1.100
    
  • Teamspeak: Teamspeak server

    hydra -l admin -P passwords.txt teamspeak://192.168.1.100
    
  • Vmauthd: VMware Authentication Daemon

    hydra -l admin -P passwords.txt vmauthd://192.168.1.100
    
  • XMPP: Extensible Messaging and Presence Protocol

    hydra -l admin -P passwords.txt xmpp://192.168.1.100
    

Next Steps

Now that you understand the protocols supported by Hydra, explore the following topics: