What is Legba?
Legba is a multiprotocol credentials bruteforcer, password sprayer, and enumerator built with Rust and the Tokio asynchronous runtime. It is designed for penetration testers and security researchers who need a high-performance, low-resource tool that supports a wide range of protocols and services.
How to use Legba?
Legba can be installed via Homebrew, Docker, or from source with Cargo. Detailed building instructions, usage options, and configuration for MCP server mode are provided in the project Wiki. The tool is invoked as a command-line executable, with specific flags for target, protocol, wordlist, and concurrency.
Key features of Legba
- Supports AMQP, Cassandra, DNS, FTP, HTTP, IMAP, IRC, Kerberos, LDAP, MongoDB, MQTT, MSSQL, MySQL, Oracle, PostgreSQL, POP3, RDP, Redis, Samba, SSH, SMTP, Socks5, STOMP, TCP/UDP scanning, Telnet, VNC.
- HTTP features: basic auth, NTLMv1/v2, multipart forms, custom requests with CSRF support, file/folder enumeration, virtual host enumeration.
- MCP server integration since version 0.11.0.
- Asynchronous runtime delivers up to 55x faster performance than hydra on SSH.
Use cases of Legba
- Penetration testing: Credential bruteforcing and password spraying across multiple protocols in a single tool.
- Network enumeration: Subdomain enumeration via DNS, port scanning with banner grabbing, and virtual host discovery.
- Security auditing: Validate weak passwords and authentication mechanisms in services like SSH, RDP, HTTP, and databases.
- Automated AI agent integration: Use Legba as an MCP server so AI agents can perform credential testing and enumeration tasks.
コメント