---
description: 'Tag: Network'
---

# Legion

### Introduction 🖐 <a href="#introduction" id="introduction"></a>

In this post, you will learn what is legion and a full tutorial on the legion tool

Legion is an OSINT tool used for mapping and information gathering and this is the best tool for beginners to do network mapping.

The favourite part is the tool is in GUI format and why not everyone will like to work with GUI format…

The tool was developed by a NY based company called Govanguard and the source code is available on GitHub here is the link 👇 and also the link to the Govanguard company and their contact page. 🔻

1. Automatic recon and scanning with NMAP, Shodan, whataweb, nikto, Vulners, Hydra, SMBenum, dirbuster, sslyzer, webslayer. Got a lot of tools twisted ito the tool…
2. GUI (grahical user interface) Very easy to use this tool.
3. Easily customizable and can load own scripts against target.
4. Highly customizable stage scanning for ninja-like IPS evasion.
5. Automatic detection of CVEs (Common Vulnerabilities and Exposures)
6. Realtime result saving.

The feature above is really 💯❤ Awesome and let’s see the commands in the tool…

Wait a min there is no command in the tool because the tool legion is in GUI format. 🤣

Just follow the below examples by end of this video you will be a pro in working with this tool cheers 🍻

#### Example1: Installing Legion <a href="#example1-installing-legion" id="example1-installing-legion"></a>

To install the tool just enter, I am on root so I am not entering **sudo**…

<pre><code><strong>sudo apt-get install legion 
</strong></code></pre>

<figure><img src="https://www.techyrick.com/wp-content/uploads/2021/09/2021-09-24-16_48_17-Debian-10.x-64-bit-VMware-Workstation-16-Player-Non-commercial-use-only.webp" alt="legion"><figcaption></figcaption></figure>

#### Example2: Load Legion <a href="#example2-load-legion" id="example2-load-legion"></a>

To load the tool enter **legion** on terminal

#### Example3: Interface <a href="#example3-interface" id="example3-interface"></a>

Click on the red marked area

<figure><img src="https://www.techyrick.com/wp-content/uploads/2021/09/2021-09-24-16_58_57-Debian-10.x-64-bit-VMware-Workstation-16-Player-Non-commercial-use-only.webp" alt="legion"><figcaption></figcaption></figure>

Once you click you will see GUI like this 👇🏽

<figure><img src="https://www.techyrick.com/wp-content/uploads/2021/09/2021-09-24-17_02_21-Debian-10.x-64-bit-VMware-Workstation-16-Player-Non-commercial-use-only.webp" alt="legion scanning easy"><figcaption></figcaption></figure>

In the above image we are going with easy mode, Firstly enter IP or domain name on the target, Next, choose the mode I selected easy. Only if you select easy mode the easy mode option will be chosen.

Now select the host discovery and staged Nmap scan.

Next, select the time speed of the scan, I am going with normal use drag to set the time speed.

Once you click on submit

The scan will run and display the info 🔻

<figure><img src="https://www.techyrick.com/wp-content/uploads/2021/09/2021-09-24-17_14_37-Debian-10.x-64-bit-VMware-Workstation-16-Player-Non-commercial-use-only.webp" alt="scanning target"><figcaption></figcaption></figure>

So, this is how to do a scan using legion tool and top you could find various features just go through it which are pretty simple.

#### Example4: Scanning <a href="#example4-scanning" id="example4-scanning"></a>

Doing hard scan,

To do a hard scan just enter the target in the box, you can also enter multiple targets and then choose hard as the mode.

<figure><img src="https://www.techyrick.com/wp-content/uploads/2021/09/2021-09-24-18_25_22-Debian-10.x-64-bit-VMware-Workstation-16-Player-Non-commercial-use-only.webp" alt="scanning hard"><figcaption></figcaption></figure>

Once you select hard you can choose the scan you wanna scan, An amazing feature and also down below you can enter your custom nmap command.

Then give submit ✔

This is how to do a hard scan in the legion tool

To learn more about the tool watch the video I made on Legion the video will be at the top of the post.

### Conclusion <a href="#conclusion" id="conclusion"></a>

According to my knowledge, this is an amazing tool for beginners and this tool is dependent on others so, better learn here and move to advance tools like nmap.&#x20;
