Open In App

Legion Tool in Kali Linux

If you are using Kali Linux 2020.1 or up, then instead of Sparta, Kali Linux comes with the Legion, fork version of Sparta with improved features. Legion tool is a super-extensible and semi-automated network penetration testing framework. Legion is very easy to operate. 

Features of Legion Tool:  



Notable changes from Sparta tool:

Installation of Legion tool: Usually Legion tool comes pre-installed with Kali Linux but, if we need to install it we can run the following command :



sudo apt-get install legion -y

After the complete execution of the above command, you can start the legion tool from any terminal by simply “legion” command.

legion

In the Hosts section, we have an option to add hosts to the scope. Simply click on add hosts and you will get the below screen :

Here we can add a single IP, a range of IPs, or hostnames in the section. In order to add multiple targets simply separate them with a semicolon. Then there is the option for Mode selection, in this section, we have Easy and Hard mode. In Easy mode, we got nmap scanning options like staged scan and nmap host discovery. In Hard mode, we get options like host discovery, custom port scanning, and custom discovery options. In the additional arguments we have -O flag for OS detection and -sV flag for service version.

Performing scan with Legion Tool: We are performing an Easy mode scan on yahoo.com with -sV and -O arguments.

We will get results as shown in the below image.

Article Tags :