Awesome
<p align="center"> <img src="levlogo.png" width="50%"></img> </p> <p align="center"> <a href="https://www.blackhat.com/us-17/arsenal.html#leviathan-framework"><img src="https://img.shields.io/badge/Blackhat%20USA%2017-Arsenal-blue.svg"></a> <a href="https://www.defcon.org/html/defcon-25/dc-25-demolabs.html"><img src="https://img.shields.io/badge/DEF%20CON%2025-Demo%20Labs-red.svg"> <a href="http://www.toolswatch.org/2018/01/black-hat-arsenal-top-10-security-tools/"><img src="https://tearsecurity.com/assets/images/toolswatch.svg"></a> </p>Leviathan is a mass audit toolkit which has wide range service discovery, brute force, SQL injection detection and running custom exploit capabilities. It consists open source tools such masscan, ncrack, dsss and gives you the flexibility of using them with a combination.
The main goal of this project is auditing as many system as possible in country-wide or in a wide IP range.
Main Features
Discovery: Discover FTP, SSH, Telnet, RDP, MYSQL services running inside a specific country or in an IP range via Shodan, Censys. It's also possible to manually discover running services on a IP range by integrated “masscan” tool.
Short Demo: https://asciinema.org/a/617bsxl1y84bav9f5bcwllx7r
Brute Force: You can brute force the discovered services with integrated “ncrack” tool. It has wordlists which includes most popular combinations and default passwords for specific services.
Short Demo: https://asciinema.org/a/43y2j38zu7hbnuahrj233d5r0
Remote Command Execution: You can run system commands remotely on compromised devices.
Short Demo: https://asciinema.org/a/0xcrhd12f2lpkbktjldwtab16
SQL Injection Scanner: Discover SQL injection vulnerabilities on websites with specific country extension or with your custom Google Dork.
Short Demo: https://asciinema.org/a/2mwfmd9afsuyg5p0vzcq5e6si
Exploit Specific Vulnerabilities: Discover vulnerable targets with Shodan, Censys or masscan and mass exploit them by providing your own exploit or using preincluded exploits.
Short Demo: https://asciinema.org/a/9uqsjvnru780h0ue6ok9j9ktb
Integrated Tools
Masscan: It’s a very fast TCP port scanner by Robert David Graham. Leviathan uses masscan for detecting services on a huge IP range. https://github.com/robertdavidgraham/masscan
Ncrack: Ncrack is a high-speed network authentication cracking tool. Leviathan uses ncrack to brute force services such as FTP, SSH, RDP, Telnet, MYSQL etc. https://github.com/nmap/ncrack
DSSS (Damn Small SQLi Scanner): DSSS is a fully functional and minimal SQL injection vulnerability scanner by Miroslav Stampar. Leviathan uses DSSS to identify SQL Injection vulnerabilities on specific URLs. https://github.com/stamparm/DSSS
Installation
For detailed installiation, please visit our wiki page.
Kali Linux:
Download leviathan by cloning the Git repository:
git clone https://github.com/leviathan-framework/leviathan.git
Go inside the folder
cd leviathan
Install Python libraries:
pip install -r requirements.txt
It's done!
Debian/Ubuntu:
Download leviathan by cloning the Git repository:
git clone https://github.com/leviathan-framework/leviathan.git
Go inside the folder
cd leviathan
Run installiation script. It will setup required tools (ncrack, masscan) and python libraries.
bash scripts/debian_install.sh
It's done!
macOS:
If homebrew is not installed on your system, please install it first:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Download leviathan by cloning the Git repository:
git clone https://github.com/leviathan-framework/leviathan.git
Go inside the folder
cd leviathan
Run installiation script. It will setup required tools (ncrack, masscan) and python libraries.
bash scripts/macos_install.sh
It's done!
Requirements
Python version 2.7.x is required for running this program.
Supported platforms: Linux (Kali Linux, Debian, Ubuntu), macOS
Usage
Run the program with following command:
python leviathan.py
You can get basic usage information inside the menus. For detailed usage manual, visit our wiki page.
Screenshots
<img src="screenshots/levsc1.png" width="32%"></img> <img src="screenshots/levsc2.png" width="32%"></img> <img src="screenshots/levsc3.png" width="32%"></img> <img src="screenshots/levsc4.png" width="32%"></img> <img src="screenshots/levsc5.png" width="32%"></img> <img src="screenshots/levsc6.png" width="32%"></img>
Authors
This project is written by Utku Sen and Ozge Barbaros
Legal Warning
While this may be helpful for some, there are significant risks. You could go to jail on obstruction of justice charges just for running leviathan, even though you are innocent. Your are on notice, that using this tool outside your "own" environment is considered malicious and is against the law. Use with caution.