Home Hacking Tools Leviathan – Mass Audit Toolkit for Networks and Applications

Leviathan – Mass Audit Toolkit for Networks and Applications

by Unallocated Author
leviathan

Leviathan is an open source toolkit that can be used for auditing networks and web applications. The types of audits that can be performed with Leviathan include discovery of services running on machines, identifying SQL injections in web applications, analyzing the possibility of bruteforce attacks on discovered machines, and testing the security of pre-discovered machines with custom exploits.

Within the service discovery option, Leviathan checks for the presence of SSH, RDP, MYSQL, FTP, and Telnet services running on machines located in a specific IP range or country. Leviathan makes use of Shodan, Censys, and Masscan utilities to find the running services. The bruteforce option allows to brute force the discovered services to see if they can be exploited. Leviathan uses the ncrack tool and a default passwords combination list. Similarly, the SQL injection option allows the assessment of sql injections on web applications.

Leviathan Installation Guide

leviathan cloning

Leviathan is python toolkit that requires Python 2.7.x and is supported by Linux (Ubunto, Kali, Debian) and MacOS.  The toolkit can be cloned from github using the following command.

git clone https://github.com/leviathan-framework/leviathan.git

Leviathan toolkit requires Shodan, bs4, lxml, google-api-python-clinet, and requests packages. These dependencies can be installed by running the following commands.

cd leviathan
pip install –r requirements.txt

leviathan requirements

How Leviathan Toolkit Works

Once the toolkit is successfully installed, it can be run using the following command.

python leviathan.py

The above command runs the Leviathan toolkit with multiple options to start the auditing.

leviathan menu list

Start with the discovery module. The discovery module gives the option to discover the running services on specific machines in a specific region or ip range, or web applications with specific extensions. For instance, we select the Masscan option to discover services running on our client machines.

discovery module options

After selecting Masscan, the tool asks for IP range and the type of service to start scanning the machines. For demonstration purposes, we give the local ip range to the tool. The tool scans the target machines and saves the results in Leviathan’s assets folder.

running discovery utility

In the next steps, we can audit the machines by running the bruteforce attack for the discovered services on the target machines.

What Bunny rating does it get?

Leviathan toolkit is very helpful in discovering running services on specific machines in a given IP range and exploiting them with the built in exploit features. However, the tookit does not allow the audit for a specific web application. As a result we will be awarding this tool a rating of 3.5 out of 5 bunnies.

half bunny

Want to learn more about ethical hacking?

We have a  networking hacking course that is of a similar level to OSCP, get an exclusive 95% discount HERE

Do you know of another GitHub related hacking tool?

Get in touch with us via the contact form if you would like us to look at any other GitHub ethical hacking tools.

You may also like

Latest Hacking News

Privacy Preference Center

Necessary

The __cfduid cookie is used to identify individual clients behind a shared IP address and apply security settings on a per-client basis.

cookie_notice_accepted and gdpr[allowed_cookies] are used to identify the choices made from the user regarding cookie consent.

For example, if a visitor is in a coffee shop where there may be several infected machines, but the specific visitor's machine is trusted (for example, because they completed a challenge within your Challenge Passage period), the cookie allows Cloudflare to identify that client and not challenge them again. It does not correspond to any user ID in your web application, and does not store any personally identifiable information.

__cfduid, cookie_notice_accepted, gdpr[allowed_cookies]

Advertising

DoubleClick by Google refers to the DoubleClick Digital Marketing platform which is a separate division within Google. This is Google’s most advanced advertising tools set, which includes five interconnected platform components.

DoubleClick Campaign Manager: the ad-serving platform, called an Ad Server, that delivers ads to your customers and measures all online advertising, even across screens and channels.

DoubleClick Bid Manager – the programmatic bidding platform for bidding on high-quality ad inventory from more than 47 ad marketplaces including Google Display Network.

DoubleClick Ad Exchange: the world’s largest ad marketplace for purchasing display, video, mobile, Search and even Facebook inventory.

DoubleClick Search: is more powerful than AdWords and used for purchasing search ads across Google, Yahoo, and Bing.

DoubleClick Creative Solutions: for designing, delivering and measuring rich media (video) ads, interactive and expandable ads.

doubleclick

Analytics

The _ga is asssociated with Google Universal Analytics - which is a significant update to Google's more commonly used analytics service. This cookie is used to distinguish unique users by assigning a randomly generated number as a client identifier. It is included in each page request in a site and used to calculate visitor, session and campaign data for the sites analytics reports. By default it is set to expire after 2 years, although this is customisable by website owners.

The _gat global object is used to create and retrieve tracker objects, from which all other methods are invoked. Therefore the methods in this list should be run only off a tracker object created using the _gat global variable. All other methods should be called using the _gaq global object for asynchronous tracking.

_gid works as a user navigates between web pages, they can use the gtag.js tagging library to record information about the page the user has seen (for example, the page's URL) in Google Analytics. The gtag.js tagging library uses HTTP Cookies to "remember" the user's previous interactions with the web pages.

_ga, _gat, _gid