GO KALI FREE
BeginnerTools

Medusa Guide: Parallel Network Login Auditor

Learn Medusa for parallel network authentication testing with support for multiple protocols, modular design, and practical security assessment examples.

#medusa#password attacks#brute force#authentication testing#network security

Why You Need Medusa

You need to test credentials against multiple network services in parallel — Medusa is a massively parallel login auditor that supports SSH, FTP, HTTP, SMB, RDP, and many more protocols. Its modular design and parallel threading make it faster than sequential tools for large-scale password testing.

Prerequisites

  • Understanding of network authentication protocols
  • Familiarity with the Linux command line
  • Authorization for testing
  • Installation

    sudo apt install medusa
    

    Basic Usage

    medusa -h 192.168.1.100 -u admin -P passwords.txt -M ssh
    

    Key Options

    OptionDescription
    -h HOSTTarget host
    -u USERSingle username
    -U FILEUsername file
    -p PASSSingle password
    -P FILEPassword file
    -M MODULEModule name
    -t THREADSThread count
    -fStop on first success
    -o FILEOutput file
    -dList modules

    Protocol Examples

    # SSH
    medusa -h 192.168.1.100 -U users.txt -P passwords.txt -M ssh
    
    # FTP
    medusa -h 192.168.1.100 -U users.txt -P passwords.txt -M ftp
    
    # SMB
    medusa -h 192.168.1.100 -u administrator -P passwords.txt -M smbnt
    
    # MySQL
    medusa -h 192.168.1.100 -u root -P passwords.txt -M mysql
    

    Listing Modules

    medusa -d
    

    Common Mistakes

    Too many threads trigger lockouts. Wrong module selection. Forgetting -f to stop on success.

    Best Practices

    Start with few threads. Use targeted credentials. Log everything with -o.

    Related Tools

  • Hydra: Similar parallel login cracker
  • Ncrack: High-speed network cracker
  • Patator: Multi-purpose brute-forcer
  • Related Articles

  • Hydra Guide
  • CeWL Guide
  • Password Security Guide
  • Summary

    Medusa is a massively parallel network login auditor with modular protocol support.

    Knowledge Check

  • How is Medusa different from Hydra?
  • What does -M specify?
  • How to list all modules?
  • Default thread count?
  • Why use -f flag?
  • Frequently Asked Questions

    What is Medusa?

    Medusa is a massively parallel network login auditor that tests credentials against multiple protocols including SSH, FTP, SMB, MySQL, and HTTP. It is pre-installed on Kali Linux and supports modular protocol testing.

    How is Medusa different from Hydra?

    Medusa uses a threaded architecture for parallel logins across multiple hosts simultaneously. Hydra is more commonly used for single-target attacks. Medusa excels when testing many services or hosts in parallel.

    What does the -M flag specify?

    The -M flag specifies the protocol module to use, such as ssh, ftp, smbnt, or mysql. List available modules with medusa -d.

    How do you list all available modules?

    Run medusa -d to display all supported protocol modules. Each module handles authentication for a specific service like HTTP, SSH, FTP, or database systems.

    What is the default thread count?

    Medusa defaults to 10 threads. Use -t to adjust: -t 5 for slower, stealthier testing or -t 20 for faster attacks. Too many threads may trigger account lockouts.

    Why use the -f flag?

    The -f flag stops Medusa after finding the first valid credential, preventing unnecessary continued testing. This is useful when you only need one successful login per account.

    How do you brute force SMB with Medusa?

    Use medusa -h target -u admin -P passwords.txt -M smbnt to test SMB authentication. The smbnt module handles NTLM authentication for Windows file shares.

    How do you test multiple hosts at once?

    Use -H hosts.txt with a file containing one host per line. Medusa tests all hosts in parallel with the same credentials, efficient for network-wide assessments.

    Continue Learning

    Tools · Beginner

    Hydra Guide: Network Login Cracking Tool

    A comprehensive guide to using Hydra for network authentication testing with common protocols, practical examples, and security best practices.

    Tools · Beginner

    Nmap Beginner Tutorial: Mastering Network Scanning

    Learn Nmap from scratch covering host discovery, port scanning, service detection, NSE scripts, and practical examples.

    Tools · Intermediate

    Masscan Guide: High-Speed Network Scanner

    Learn Masscan for high-speed network scanning with millions of packets per second, covering options, output formats, and practical scanning examples.

    Tools · Intermediate

    Responder Guide: LLMNR/NBT-NS Poisoning Tool

    A comprehensive guide to Responder for LLMNR, NBT-NS, and MDNS poisoning attacks, credential harvesting, and network authentication testing.

    Related Security Tools

    Password Attacks

    Medusa

    Medusa is a speedy, parallel, and modular login brute-forcer. It supports many protocols including HTTP, FTP, SSH, SMB, MySQL, and more.

    Password Attacks

    Hydra

    Hydra is a parallelized login cracker that supports numerous protocols including FTP, HTTP, HTTPS, SMB, SSH, and many more. It performs rapid dictionary attacks against login pages and services to test password strength.

    Password Attacks

    Ncrack

    Ncrack is a high-speed network authentication cracking tool built by the Nmap team. It supports RDP, SSH, HTTP, SMB, FTP, and more protocols.

    Password Attacks

    Hashcat

    Learn how to use Hashcat in Kali Linux as a beginner, from checking the install and selecting the right modes to running a wordlist crack and reading results.

    Written by GO KALI FREE Team