<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MFriedl</id>
	<title>Elvis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MFriedl"/>
	<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php/Special:Contributions/MFriedl"/>
	<updated>2026-09-10T15:30:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10902</id>
		<title>Hak5 LAN Turtle</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10902"/>
		<updated>2023-01-08T13:26:17Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
[[File:LANTurtle.jpg |thumb|right|400px||LAN Turtle and Field Guide &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
The LAN turtle is a tool for penetration testers and system administrators disguised as a simple USB Ethernet adapter. It provides possibilities to perform remote access, man-in-the-middle and information gathering attacks. These functions are provided by the turtle modules which are preinstalled on the LAN turtle. The modules are based on the OpenWRT platform which allow users to add customized modules. The turtle itself is covert by a generic USB to Ethernet adapter and can therefore be placed unnoticed in IT infrastructures.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Setting up the LAN Turtle ===&lt;br /&gt;
&lt;br /&gt;
# Plug the LAN turtle into one of the USB ports of your computer.&lt;br /&gt;
# Your computer will get an 172.16.84.x address as soon as the startup sequence of the turtle finished. If not, then you have to statically configure an IP out of the 172.16.84.0/24 range.&lt;br /&gt;
# Connect to the turtle with &amp;lt;code&amp;gt;ssh root@172.16.84.1&amp;lt;/code&amp;gt; and enter the password &amp;lt;code&amp;gt;elvisLab&amp;lt;/code&amp;gt; (default password after factory reset is &amp;lt;code&amp;gt;sh3llz&amp;lt;/code&amp;gt;)&lt;br /&gt;
# The simplistic graphical shell interface will prompt you to change the password but the old one is also allowed.&lt;br /&gt;
# The LAN turtle can be configured and modules can be installed within the interface. &lt;br /&gt;
# If you end the interface you will be greeted with an normal Linux shell but you can open it again with the &amp;lt;code&amp;gt;turtle&amp;lt;/code&amp;gt; command&lt;br /&gt;
&lt;br /&gt;
=== Updating firmware (optional) ===&lt;br /&gt;
To ensure the best performance and compatability you should update the firmware regularly. This requires internet connection.&lt;br /&gt;
&lt;br /&gt;
# Select &amp;lt;code&amp;gt;Config&amp;lt;/code&amp;gt; in the Main Menu and press select.&lt;br /&gt;
# Go to &amp;lt;code&amp;gt;Check for updates&amp;lt;/code&amp;gt; and press select to start the update process.&lt;br /&gt;
# Wait till the update finishes.&lt;br /&gt;
&lt;br /&gt;
=== Factory Reset (optional)===&lt;br /&gt;
In the extreme case that a LAN Turtle has become permanently inaccessible or inoperative, there is a quick method for recovery using a special web interface.&lt;br /&gt;
# Download the latest LAN Turtle factory image from the [https://downloads.hak5.org/ official download center]. Note: Choose the factory recovery image.&lt;br /&gt;
# Open the LAN Turtle carefully. There are 2 screws under the sticker.&lt;br /&gt;
# Now you need to find the reset button/jumper contact. You can find a video on how to locate [https://www.youtube.com/watch?v=ubNin_79wxE here].&lt;br /&gt;
# Hold down the button/jumper while you&#039;re plugging the LAN Turtle in your PC and keep holding it for 5 more seconds.&lt;br /&gt;
# Go to http://192.168.1.1 for the firmware web recovery tool and upload the image to the LAN Turtle.&lt;br /&gt;
# Wait 5-10 minutes for the recovery to finish, the LAN Turtle will indicate it with a special LED blink pattern. Watch the video for the LED Pattern to know when the recovery has finished.&lt;br /&gt;
&lt;br /&gt;
=== Using the turtle modules ===&lt;br /&gt;
&lt;br /&gt;
The LAN turtle comes packed with pre-installed tools. Furthermore it is possible to program your own or download them from the internet and configure them with the module manager as well.&lt;br /&gt;
&lt;br /&gt;
[[File:LANTurtleModules.jpg|400px||LAN Turtle configuration shell interface]] &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Manually download turtle modules ====&lt;br /&gt;
If the module manager doesn&#039;t work you need to manually download turtle modules. You can do that in the console of the lan turtle, just exit the main menu.&lt;br /&gt;
You can download modules from the [https://github.com/hak5/lanturtle-modules/tree/gh-pages/modules official hak5 github].&lt;br /&gt;
&lt;br /&gt;
# Change directory to &amp;lt;code&amp;gt;/etc/turtle/modules&amp;lt;/code&amp;gt;&lt;br /&gt;
# Download modules with &amp;lt;code&amp;gt;wget &amp;lt;link&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Make the file an executeable &amp;lt;code&amp;gt;chmod +x &amp;lt;file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== AutoSSH ====&lt;br /&gt;
&lt;br /&gt;
AutoSSH is a service which provides persistent SSH connections. When the LAN-Turtle starts up or if an SSH session drops, it will be quickly re-established by AutoSSH. This service is typically used to provide a convenient and persistent reverse shell into the LAN Turtle on the standard SSH port 22 - though it may be configured with any standard SSH parameters to forward any arbitrary port.&lt;br /&gt;
*&amp;lt;code&amp;gt;User@Host&amp;lt;/code&amp;gt; - The username and hostname (DNS or IP) separated by @ for which to establish the SSH connection.&lt;br /&gt;
*&amp;lt;code&amp;gt;Port&amp;lt;/code&amp;gt; - The port number from which the remote server will bind.&lt;br /&gt;
*&amp;lt;code&amp;gt;Remote Port&amp;lt;/code&amp;gt; - The port number to which the SSH tunnel will bind on the remote machine.&lt;br /&gt;
*&amp;lt;code&amp;gt;Local Port&amp;lt;/code&amp;gt; - The port number to which the SSH Tunnel will terminate on the LAN Turtle.&lt;br /&gt;
[[File:LANTurtleAutoSSH.png|417px||LAN Turtle AutoSSH configuration example]]&lt;br /&gt;
&lt;br /&gt;
Example: Per the defaults, the remote server will bind its local port 2222 back to the LAN Turtle port 22. In this scenario one may establish a persistent connection to their LAN Turtle from this reverse shell by first connecting to the public server, and then from there establishing an SSH connection to port 2222.&lt;br /&gt;
&lt;br /&gt;
==== Clomac ====&lt;br /&gt;
Clomac clones the Client&#039;s MAC address into the WAN interface.&lt;br /&gt;
&lt;br /&gt;
==== Cron ====&lt;br /&gt;
Cron is a job scheduler which can be used to start and stop modules at specific times or regular intervals using the &#039;start&#039; and &#039;stop&#039; commands.&lt;br /&gt;
&lt;br /&gt;
==== DDNSC - Dynamic Domain Name Service Client ====&lt;br /&gt;
This service provides automatic Dynamic Domain Name updates.&lt;br /&gt;
&lt;br /&gt;
==== DNSSpoof ====&lt;br /&gt;
DNSSpoof forges replies to arbitrary DNS address / pointer queries on the LAN. This is useful in bypassing hostname-based access controls, or in implementing a variety of man-in-the-middle attacks. For example, the IP address returned for a client lookup of the domain \&amp;quot;example.com\&amp;quot; can be replaced with that of the LAN Turtle itself, or a 3rd party server. In this scenario, the computer connected to the Internet through the LAN Turtle attempting to browse to this domain may be redirected to the spoofed IP.&lt;br /&gt;
&lt;br /&gt;
==== DNSMasq-Spoof ====&lt;br /&gt;
The DNSMasq-Spoof works similar to the DNSSpoof module but uses DNSMasq instead of Dsniff tools.&lt;br /&gt;
&lt;br /&gt;
==== Keymanager ====&lt;br /&gt;
With this tool you can create RSA keypairs and copy them to the public server. This is required in order to properly configure AutoSSH.&lt;br /&gt;
&lt;br /&gt;
==== Meterpreter ====&lt;br /&gt;
This module deploys an persistent shell to the Metasploit Framework of an other Machine.&lt;br /&gt;
&lt;br /&gt;
==== NetCat Reverse Shell ====&lt;br /&gt;
The netcat reverse shell provides you with remote access to the lan turtle. Even though it is not to be considered as persistent per default, its reliability can be increased with simple bash scripts on the server side.&lt;br /&gt;
&lt;br /&gt;
==== Nmap-Scan ====&lt;br /&gt;
This module uses &amp;lt;code&amp;gt;nmap&amp;lt;/code&amp;gt; for discovering running devices and their port of the current LAN network. The user is able to specify a target network range to scan, choose from different scan profiles and specify the directory to write the log file to.&lt;br /&gt;
&lt;br /&gt;
==== OpenVPN ====&lt;br /&gt;
OpenVPN enables remote access the LAN Turtle and optionally the network on which it resides. It allows to send the captured data to your operating network.&lt;br /&gt;
&lt;br /&gt;
==== QuickCreds ====&lt;br /&gt;
This module is used to retrieve login credentials from locked windows machines. The credentials are saved to &amp;lt;code&amp;gt;/root/loot&amp;lt;/code&amp;gt;. The LAN turtle LED blinks while QuickCreds is running and lights solid when its done. Versions of the LAN turtle that do not support an SD card are not able to install it properly as it requires more space.+&lt;br /&gt;
&lt;br /&gt;
==== Iodine ====&lt;br /&gt;
Establishes a DNS tunnel outbound to a server and domain name using iodine.&lt;br /&gt;
&lt;br /&gt;
==== Responder ====&lt;br /&gt;
Responder is a LLMNR, NBT-NS and MDNS posioner. It answers to specific Name Service queries based on ther name suffix. By default, it only answers to File Server Service requests for SMB. It aims to be stealthier on the network and ensure that legitimate NBT-NS behavior is not broken with.&lt;br /&gt;
&lt;br /&gt;
==== Script2Email ====&lt;br /&gt;
This module sends the output of a script as an email to a specified address. To do so, it uses SMTP and requires a mail account.&lt;br /&gt;
&lt;br /&gt;
==== Script2Http ====&lt;br /&gt;
Sens the output of a script as HTTP post to a specified URL.&lt;br /&gt;
&lt;br /&gt;
==== SSHFS ====&lt;br /&gt;
SSHFS (Secure SHell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used.&lt;br /&gt;
&lt;br /&gt;
==== Tortle ====&lt;br /&gt;
Tortle makes the turtle act as an TOR Gateway. It enables you to setup several services.&lt;br /&gt;
&lt;br /&gt;
==== uPnP-Portfwd ====&lt;br /&gt;
This service provides automatic port forwarding when connected to some uPnP enabled routers. This way it is able to provide a persistend direct shell from the outside to the LAN turtle. This won&#039;t work in many cases but is useful in cases it does.&lt;br /&gt;
&lt;br /&gt;
==== Uptime ====&lt;br /&gt;
Displays the uptime of the LAN Turtle as well as the load average.&lt;br /&gt;
&lt;br /&gt;
==== URLSnarf ====&lt;br /&gt;
URLSnarf allows you to capture which websites were accessed by the plugged in computer. URLSnarf only works with HTTP webpages which are hard to find today. Even though it is displayed as downloadable via the modulemanager, it is depricated in Turtle Shell 6.2.&lt;br /&gt;
&lt;br /&gt;
== Use Cases==&lt;br /&gt;
&lt;br /&gt;
The LAN turtle can be deployed in various use cases, which can be divided into four categories:&lt;br /&gt;
* remote access attacks with AutoSSH or OpenVPN or NetCat Reverse Shell&lt;br /&gt;
* man-in-the-middle attacks with URLSnarf or DNSSpoof&lt;br /&gt;
* information gathering with Nmap-Scan&lt;br /&gt;
* deploy service with via TOR-network&lt;br /&gt;
&lt;br /&gt;
Remote access attacks are used to gain access to a private network from a remote place in order to start further attacks from the inside network. This makes it a lot more easier because the attack itself does not have to bypass a router or firewall. All the attacker needs is the pre-configured LAN turtle inside the network and a remote server on the internet. To perform a remote access, the LAN turtle builds up a tunnel to the remote server so the firewall cannot capture the traffic. Finally the attacker can access the LAN turtle through the tunnel from the remote server. This attack can be performed with the modules AutoSSH or OpenVPN.&lt;br /&gt;
&lt;br /&gt;
The LAN turtle also allows man-in-the-middle attacks, where the turtle can intercept the communication between two parties. To perform such an attack, the LAN turtle must be connected to an USB port of the victim host and to a network cable which connects the host to the internal LAN. Now the whole traffic of the victim host goes over the LAN turtle and can be logged or altered. An attacker can use URLSnarf or DNSSpoof to perform such an attack.&lt;br /&gt;
&lt;br /&gt;
The third use case is information gathering. The aim of this attack is to receive information about the topology, the hosts and the protocols of an internal network in order to perform further attacks. This can be done with the modules like Nmap-Scan.&lt;br /&gt;
&lt;br /&gt;
The following step-by-step instructions will outline how to configure the LAN turtle in order to perform the different types of attacks.&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with AutoSSH ===&lt;br /&gt;
In this example consider an internal network which is secured by a firewall and a server in the internet controlled by the attacker. The server is using 10.0.0.41 and a user turtle was created on it in order to simplify depictions.&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Generate RSA keypairs with Keymanager ====&lt;br /&gt;
[[File:SSH_Key.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open the Keymanager module and select &amp;lt;code&amp;gt;generate_key&amp;lt;/code&amp;gt;&lt;br /&gt;
# Select &amp;lt;code&amp;gt;copy_key&amp;lt;/code&amp;gt; and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; remote SSH server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; remote SSH server port (typically 22)&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; user on the remote SSH server&lt;br /&gt;
# A prompt will ask wether or not to confirm the fingerprint&lt;br /&gt;
# The password for the user on the host is requestes&lt;br /&gt;
# If no error occurs, the exchange was succesful&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure AutoSSH ====&lt;br /&gt;
[[File:SSH_config.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open AutoSSH and insert the following parameters:&lt;br /&gt;
#* &amp;lt;code&amp;gt;user@host&amp;lt;/code&amp;gt; user and host to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; the port on the Host used to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;remote port&amp;lt;/code&amp;gt; remote port to bind through the SSH tunnel (default 2222)&lt;br /&gt;
#* &amp;lt;code&amp;gt;local port&amp;lt;/code&amp;gt; local port to bind tunnel (default 22)&lt;br /&gt;
# Submit the changes and start AutoSSH (or enable it for autostart)&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Access LAN turtle from remote server ====&lt;br /&gt;
# Connect to the remote server&lt;br /&gt;
# Connect locally to the remote port of the AutoSSH configuration by &amp;lt;code&amp;gt;ssh root@localhost:2222&amp;lt;/code&amp;gt;&lt;br /&gt;
# You are now on the LAN turtle, commence the activity you remotely connected to it&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with NetCat Reverse Shell ===&lt;br /&gt;
[[File:NC_output.png |thumb|right|400px||Servers perspective of the NC reverse shell &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
==== Step 1: Start NetCat server on your host machine ====&lt;br /&gt;
* First you need to setup a netcat connection on your host machine that listens to incoming connections. To start NetCat server execute &amp;lt;code&amp;gt;nc -l 8080&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure NetCat Reverse Shell ====&lt;br /&gt;
# Open the NetCat Reverse Shell module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Enter your host machines ip address and the port of the nc server. In our case 4444.&lt;br /&gt;
# Start the module on the LAN Turtle.&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Exploit ====&lt;br /&gt;
When the reverse shell connected to your host machine you can execute commands on the lan turtle over the reverse shell.&lt;br /&gt;
&lt;br /&gt;
=== Gather credentials of locked machines using QuickCreds ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Install an SD Card to an applicable Lan Turtle ====&lt;br /&gt;
# Carefully open the Lan Turtle Shell as described above, also mind the two screws hidden under the sticker to open it fully&lt;br /&gt;
# Turn the Lan Turtle around and fit an SD Card into the SD Card Slot(This module does not work without an SD card)&lt;br /&gt;
# Start the Lan Turtle and select the &amp;quot;Format SD Card&amp;quot; option. This is important to avoid any filesystem incompatibilities&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Install QuickCreds module ====&lt;br /&gt;
# Open the Module Manager, select QuickCreds and install it&lt;br /&gt;
# Go back to the installed modules and open QuickCreds&lt;br /&gt;
# Select configure and wait for a minute while QuickCreds installs all the necessary packages&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Arm QuickCreds ====&lt;br /&gt;
# Open QuickCreds and click &amp;quot;ENABLE&amp;quot;, this will start QuickCreds when the Lan Turtle is plugged in&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Exploit ====&lt;br /&gt;
# Plug the armed Lan Turtle into any locked Windows machine&lt;br /&gt;
# The amber LED will flash very quickly while the attack is running, afterwards they will slow down while the files are saved and the attacks finishes. Lastly the amber LED will flash in a slow and steady pattern to signalize everything is finished up&lt;br /&gt;
# Remove the Lan Turtle&lt;br /&gt;
&lt;br /&gt;
==== Step 5: Gather hashes ====&lt;br /&gt;
# Plug the Lan Turtle into your machine again and connect via SSH&lt;br /&gt;
# Navigate to &amp;quot;/root/loot/quickcreds&amp;quot;&lt;br /&gt;
# Every folder &amp;quot;Creds1&amp;quot; ... &amp;quot;CredsN&amp;quot; contains the log of QuickCreds attacks, aswell as the gathered NTLM hashes, if the attack was successful&lt;br /&gt;
# Windows devices that use a connected Microsoft Account are currently no susceptible for QuickCreds attacks &lt;br /&gt;
&lt;br /&gt;
=== Man-in-the-middle attacks with DNSMasq-Spoof ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure the spoofhost file ====&lt;br /&gt;
# Open the DNSMasq-Spoof module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Add the DNS entries that the LAN turtle should spoof by entering the host IP address and the spoofed DNS name&lt;br /&gt;
[[File:LANTurtleDNSMasq.png|497px||LAN Turtle DNSMasq configuration example]]&lt;br /&gt;
&lt;br /&gt;
In this example, DNS queries for google.com will return a local address, where more malicious activity can take place.&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Set up your server ====&lt;br /&gt;
#Create an index.html file by using the command &amp;lt;code&amp;gt;nano index.html&amp;lt;/code&amp;gt; and fill it with the content you want to display to the target&lt;br /&gt;
#Set up http. An easy way to do so is by issuing &amp;lt;code&amp;gt;sudo python3 -m http.server 8080&amp;lt;/code&amp;gt; on your server&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Place the LAN turtle in the network ====&lt;br /&gt;
After configuring the spoofed hosts, place the LAN turtle on the victim computer by simply plugging the turtle into an USB port of the computer and the network cable into the LAN turtle. When trying to access one of the spoofed DNS names, the target instead opens your pre-configured html file.&lt;br /&gt;
&lt;br /&gt;
=== Information Gathering with nmap ===&lt;br /&gt;
As an example project we use the following modules:&lt;br /&gt;
* Cron to periodically start the attack&lt;br /&gt;
* SSHFS to save the caputred information in a file on the remote server&lt;br /&gt;
* Nmap-Scan to sniff the configuration and devices of the network&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure SSHFS ====&lt;br /&gt;
# Access the SSHFS module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; IP address of the remote server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; 22&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; the username&lt;br /&gt;
#* &amp;lt;code&amp;gt;path&amp;lt;/code&amp;gt; This can be left blank if you want to use the users home directory&lt;br /&gt;
# Start SSHFS and enable it for start up&lt;br /&gt;
&lt;br /&gt;
==== Step 2: nmap-scan ====&lt;br /&gt;
# Access the nmap-scan module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* target: &amp;lt;code&amp;gt;192.168.0.1-255&amp;lt;/code&amp;gt; (This may differ for our network)&lt;br /&gt;
#* logflie: &amp;lt;code&amp;gt;/sshfs/&amp;lt;/code&amp;gt;&lt;br /&gt;
#* use the desired attack profile&lt;br /&gt;
#* save the configuration with execute&lt;br /&gt;
&lt;br /&gt;
==== Step 3: cron job ====&lt;br /&gt;
# add in the con config &amp;lt;code&amp;gt;*/15 * * * * start nmap-scan&amp;lt;/code&amp;gt;&lt;br /&gt;
This line start an nmap-scan every 15 minutes.&lt;br /&gt;
&lt;br /&gt;
=== Deploy services via TOR with Tortle ===&lt;br /&gt;
==== Hidden Service ====&lt;br /&gt;
Onion Host sets up a hidden service inside the TOR network. By default it is a TORShell (SSH within TOR).&lt;br /&gt;
==== Proxy &amp;amp; Gateway configuration ====&lt;br /&gt;
TORGateway, if enabled, automatically and conveniently tunnels ALL eth0 traffic through TOR Transparent Proxy. TOR Proxy is just the regular SOCKS proxy through TOR.&lt;br /&gt;
==== Bridge configurtation ====&lt;br /&gt;
Bridges can be used to avoid blocking of the standard tor relays.&lt;br /&gt;
==== HTTP Proxy configuration ====&lt;br /&gt;
HTTP Proxy can be configured to control internet access.&lt;br /&gt;
==== HTTPS Proxy configuration ====&lt;br /&gt;
HTTPS Proxy can be configured to control internet access.&lt;br /&gt;
==== Firewall configuration ====&lt;br /&gt;
You can configure a firewall that restricts access to serveral ports.&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[LAN Turtle]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* https://docs.hak5.org/hc/en-us/categories/360000979313-LAN-Turtle&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;own creation&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10831</id>
		<title>Hak5 LAN Turtle</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10831"/>
		<updated>2023-01-07T23:55:20Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
[[File:LANTurtle.jpg |thumb|right|400px||LAN Turtle and Field Guide &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
The LAN turtle is a tool for penetration testers and system administrators disguised as a simple USB Ethernet adapter. It provides possibilities to perform remote access, man-in-the-middle and information gathering attacks. These functions are provided by the turtle modules which are preinstalled on the LAN turtle. The modules are based on the OpenWRT platform which allow users to add customized modules. The turtle itself is covert by a generic USB to Ethernet adapter and can therefore be placed unnoticed in IT infrastructures.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Setting up the LAN Turtle ===&lt;br /&gt;
&lt;br /&gt;
# Plug the LAN turtle into one of the USB ports of your computer.&lt;br /&gt;
# Your computer will get an 172.16.84.x address as soon as the startup sequence of the turtle finished. If not, then you have to statically configure an IP out of the 172.16.84.0/24 range.&lt;br /&gt;
# Connect to the turtle with &amp;lt;code&amp;gt;ssh root@172.16.84.1&amp;lt;/code&amp;gt; and enter the password &amp;lt;code&amp;gt;elvisLab&amp;lt;/code&amp;gt; (default password after factory reset is &amp;lt;code&amp;gt;sh3llz&amp;lt;/code&amp;gt;)&lt;br /&gt;
# The simplistic graphical shell interface will prompt you to change the password but the old one is also allowed.&lt;br /&gt;
# The LAN turtle can be configured and modules can be installed within the interface. &lt;br /&gt;
# If you end the interface you will be greeted with an normal Linux shell but you can open it again with the &amp;lt;code&amp;gt;turtle&amp;lt;/code&amp;gt; command&lt;br /&gt;
&lt;br /&gt;
=== Updating firmware (optional) ===&lt;br /&gt;
To ensure the best performance and compatability you should update the firmware regularly. This requires internet connection.&lt;br /&gt;
&lt;br /&gt;
# Select &amp;lt;code&amp;gt;Config&amp;lt;/code&amp;gt; in the Main Menu and press select.&lt;br /&gt;
# Go to &amp;lt;code&amp;gt;Check for updates&amp;lt;/code&amp;gt; and press select to start the update process.&lt;br /&gt;
# Wait till the update finishes.&lt;br /&gt;
&lt;br /&gt;
=== Factory Reset (optional)===&lt;br /&gt;
In the extreme case that a LAN Turtle has become permanently inaccessible or inoperative, there is a quick method for recovery using a special web interface.&lt;br /&gt;
# Download the latest LAN Turtle factory image from the [https://downloads.hak5.org/ official download center]. Note: Choose the factory recovery image.&lt;br /&gt;
# Open the LAN Turtle carefully. There are 2 screws under the sticker.&lt;br /&gt;
# Now you need to find the reset button/jumper contact. You can find a video on how to locate [https://www.youtube.com/watch?v=ubNin_79wxE here].&lt;br /&gt;
# Hold down the button/jumper while you&#039;re plugging the LAN Turtle in your PC and keep holding it for 5 more seconds.&lt;br /&gt;
# Go to http://192.168.1.1 for the firmware web recovery tool and upload the image to the LAN Turtle.&lt;br /&gt;
# Wait 5-10 minutes for the recovery to finish, the LAN Turtle will indicate it with a special LED blink pattern. Watch the video for the LED Pattern to know when the recovery has finished.&lt;br /&gt;
&lt;br /&gt;
=== Using the turtle modules ===&lt;br /&gt;
&lt;br /&gt;
The LAN turtle comes packed with pre-installed tools. Furthermore it is possible to program your own or download them from the internet and configure them with the module manager as well.&lt;br /&gt;
&lt;br /&gt;
[[File:LANTurtleModules.jpg|400px||LAN Turtle configuration shell interface]] &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Manually download turtle modules ====&lt;br /&gt;
If the module manager doesn&#039;t work you need to manually download turtle modules. You can do that in the console of the lan turtle, just exit the main menu.&lt;br /&gt;
You can download modules from the [https://github.com/hak5/lanturtle-modules/tree/gh-pages/modules official hak5 github].&lt;br /&gt;
&lt;br /&gt;
# Change directory to &amp;lt;code&amp;gt;/etc/turtle/modules&amp;lt;/code&amp;gt;&lt;br /&gt;
# Download modules with &amp;lt;code&amp;gt;wget &amp;lt;link&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Make the file an executeable &amp;lt;code&amp;gt;chmod +x &amp;lt;file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== AutoSSH ====&lt;br /&gt;
&lt;br /&gt;
AutoSSH is a service which provides persistent SSH connections. When the LAN-Turtle starts up or if an SSH session drops, it will be quickly re-established by AutoSSH. This service is typically used to provide a convenient and persistent reverse shell into the LAN Turtle on the standard SSH port 22 - though it may be configured with any standard SSH parameters to forward any arbitrary port.&lt;br /&gt;
*&amp;lt;code&amp;gt;User@Host&amp;lt;/code&amp;gt; - The username and hostname (DNS or IP) separated by @ for which to establish the SSH connection.&lt;br /&gt;
*&amp;lt;code&amp;gt;Port&amp;lt;/code&amp;gt; - The port number from which the remote server will bind.&lt;br /&gt;
*&amp;lt;code&amp;gt;Remote Port&amp;lt;/code&amp;gt; - The port number to which the SSH tunnel will bind on the remote machine.&lt;br /&gt;
*&amp;lt;code&amp;gt;Local Port&amp;lt;/code&amp;gt; - The port number to which the SSH Tunnel will terminate on the LAN Turtle.&lt;br /&gt;
[[File:LANTurtleAutoSSH.png|417px||LAN Turtle AutoSSH configuration example]]&lt;br /&gt;
&lt;br /&gt;
Example: Per the defaults, the remote server will bind its local port 2222 back to the LAN Turtle port 22. In this scenario one may establish a persistent connection to their LAN Turtle from this reverse shell by first connecting to the public server, and then from there establishing an SSH connection to port 2222.&lt;br /&gt;
&lt;br /&gt;
==== Clomac ====&lt;br /&gt;
Clomac clones the Client&#039;s MAC address into the WAN interface.&lt;br /&gt;
&lt;br /&gt;
==== Cron ====&lt;br /&gt;
Cron is a job scheduler which can be used to start and stop modules at specific times or regular intervals using the &#039;start&#039; and &#039;stop&#039; commands.&lt;br /&gt;
&lt;br /&gt;
==== DDNSC - Dynamic Domain Name Service Client ====&lt;br /&gt;
This service provides automatic Dynamic Domain Name updates.&lt;br /&gt;
&lt;br /&gt;
==== DNSSpoof ====&lt;br /&gt;
DNSSpoof forges replies to arbitrary DNS address / pointer queries on the LAN. This is useful in bypassing hostname-based access controls, or in implementing a variety of man-in-the-middle attacks. For example, the IP address returned for a client lookup of the domain \&amp;quot;example.com\&amp;quot; can be replaced with that of the LAN Turtle itself, or a 3rd party server. In this scenario, the computer connected to the Internet through the LAN Turtle attempting to browse to this domain may be redirected to the spoofed IP.&lt;br /&gt;
&lt;br /&gt;
==== DNSMasq-Spoof ====&lt;br /&gt;
The DNSMasq-Spoof works similar to the DNSSpoof module but uses DNSMasq instead of Dsniff tools.&lt;br /&gt;
&lt;br /&gt;
==== Keymanager ====&lt;br /&gt;
With this tool you can create RSA keypairs and copy them to the public server. This is required in order to properly configure AutoSSH.&lt;br /&gt;
&lt;br /&gt;
==== Meterpreter ====&lt;br /&gt;
This module deploys an persistent shell to the Metasploit Framework of an other Machine.&lt;br /&gt;
&lt;br /&gt;
==== NetCat Reverse Shell ====&lt;br /&gt;
The netcat reverse shell provides you with remote access to the lan turtle. Even though it is not to be considered as persistent per default, its reliability can be increased with simple bash scripts on the server side.&lt;br /&gt;
&lt;br /&gt;
==== Nmap-Scan ====&lt;br /&gt;
This module uses &amp;lt;code&amp;gt;nmap&amp;lt;/code&amp;gt; for discovering running devices and their port of the current LAN network. The user is able to specify a target network range to scan, choose from different scan profiles and specify the directory to write the log file to.&lt;br /&gt;
&lt;br /&gt;
==== OpenVPN ====&lt;br /&gt;
OpenVPN enables remote access the LAN Turtle and optionally the network on which it resides. It allows to send the captured data to your operating network.&lt;br /&gt;
&lt;br /&gt;
==== QuickCreds ====&lt;br /&gt;
This module is used to retrieve login credentials from locked windows machines. The credentials are saved to &amp;lt;code&amp;gt;/root/loot&amp;lt;/code&amp;gt;. The LAN turtle LED blinks while QuickCreds is running and lights solid when its done. Versions of the LAN turtle that do not support an SD card are not able to install it properly as it requires more space.+&lt;br /&gt;
&lt;br /&gt;
==== Iodine ====&lt;br /&gt;
Establishes a DNS tunnel outbound to a server and domain name using iodine.&lt;br /&gt;
&lt;br /&gt;
==== Responder ====&lt;br /&gt;
Responder is a LLMNR, NBT-NS and MDNS posioner. It answers to specific Name Service queries based on ther name suffix. By default, it only answers to File Server Service requests for SMB. It aims to be stealthier on the network and ensure that legitimate NBT-NS behavior is not broken with.&lt;br /&gt;
&lt;br /&gt;
==== Script2Email ====&lt;br /&gt;
This module sends the output of a script as an email to a specified address. To do so, it uses SMTP and requires a mail account.&lt;br /&gt;
&lt;br /&gt;
==== Script2Http ====&lt;br /&gt;
Sens the output of a script as HTTP post to a specified URL.&lt;br /&gt;
&lt;br /&gt;
==== SSHFS ====&lt;br /&gt;
SSHFS (Secure SHell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used.&lt;br /&gt;
&lt;br /&gt;
==== Tortle ====&lt;br /&gt;
Tortle makes the turtle act as an TOR Gateway. It enables you to setup several services.&lt;br /&gt;
&lt;br /&gt;
==== uPnP-Portfwd ====&lt;br /&gt;
This service provides automatic port forwarding when connected to some uPnP enabled routers. This way it is able to provide a persistend direct shell from the outside to the LAN turtle. This won&#039;t work in many cases but is useful in cases it does.&lt;br /&gt;
&lt;br /&gt;
==== Uptime ====&lt;br /&gt;
Displays the uptime of the LAN Turtle as well as the load average.&lt;br /&gt;
&lt;br /&gt;
==== URLSnarf ====&lt;br /&gt;
URLSnarf allows you to capture which websites were accessed by the plugged in computer. URLSnarf only works with HTTP webpages which are hard to find today. Even though it is displayed as downloadable via the modulemanager, it is depricated in Turtle Shell 6.2.&lt;br /&gt;
&lt;br /&gt;
== Use Cases==&lt;br /&gt;
&lt;br /&gt;
The LAN turtle can be deployed in various use cases, which can be divided into four categories:&lt;br /&gt;
* remote access attacks with AutoSSH or OpenVPN or NetCat Reverse Shell&lt;br /&gt;
* man-in-the-middle attacks with URLSnarf or DNSSpoof&lt;br /&gt;
* information gathering with Nmap-Scan&lt;br /&gt;
* deploy service with via TOR-network&lt;br /&gt;
&lt;br /&gt;
Remote access attacks are used to gain access to a private network from a remote place in order to start further attacks from the inside network. This makes it a lot more easier because the attack itself does not have to bypass a router or firewall. All the attacker needs is the pre-configured LAN turtle inside the network and a remote server on the internet. To perform a remote access, the LAN turtle builds up a tunnel to the remote server so the firewall cannot capture the traffic. Finally the attacker can access the LAN turtle through the tunnel from the remote server. This attack can be performed with the modules AutoSSH or OpenVPN.&lt;br /&gt;
&lt;br /&gt;
The LAN turtle also allows man-in-the-middle attacks, where the turtle can intercept the communication between two parties. To perform such an attack, the LAN turtle must be connected to an USB port of the victim host and to a network cable which connects the host to the internal LAN. Now the whole traffic of the victim host goes over the LAN turtle and can be logged or altered. An attacker can use URLSnarf or DNSSpoof to perform such an attack.&lt;br /&gt;
&lt;br /&gt;
The third use case is information gathering. The aim of this attack is to receive information about the topology, the hosts and the protocols of an internal network in order to perform further attacks. This can be done with the modules like Nmap-Scan.&lt;br /&gt;
&lt;br /&gt;
The following step-by-step instructions will outline how to configure the LAN turtle in order to perform the different types of attacks.&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with AutoSSH ===&lt;br /&gt;
In this example consider an internal network which is secured by a firewall and a server in the internet controlled by the attacker. The server is using 10.0.0.41 and a user turtle was created on it in order to simplify depictions.&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Generate RSA keypairs with Keymanager ====&lt;br /&gt;
[[File:SSH_Key.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open the Keymanager module and select &amp;lt;code&amp;gt;generate_key&amp;lt;/code&amp;gt;&lt;br /&gt;
# Select &amp;lt;code&amp;gt;copy_key&amp;lt;/code&amp;gt; and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; remote SSH server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; remote SSH server port (typically 22)&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; user on the remote SSH server&lt;br /&gt;
# A prompt will ask wether or not to confirm the fingerprint&lt;br /&gt;
# The password for the user on the host is requestes&lt;br /&gt;
# If no error occurs, the exchange was succesful&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure AutoSSH ====&lt;br /&gt;
[[File:SSH_config.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open AutoSSH and insert the following parameters:&lt;br /&gt;
#* &amp;lt;code&amp;gt;user@host&amp;lt;/code&amp;gt; user and host to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; the port on the Host used to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;remote port&amp;lt;/code&amp;gt; remote port to bind through the SSH tunnel (default 2222)&lt;br /&gt;
#* &amp;lt;code&amp;gt;local port&amp;lt;/code&amp;gt; local port to bind tunnel (default 22)&lt;br /&gt;
# Submit the changes and start AutoSSH (or enable it for autostart)&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Access LAN turtle from remote server ====&lt;br /&gt;
# Connect to the remote server&lt;br /&gt;
# Connect locally to the remote port of the AutoSSH configuration by &amp;lt;code&amp;gt;ssh root@localhost:2222&amp;lt;/code&amp;gt;&lt;br /&gt;
# You are now on the LAN turtle, commence the activity you remotely connected to it&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with NetCat Reverse Shell ===&lt;br /&gt;
[[File:NC_output.png |thumb|right|400px||Servers perspective of the NC reverse shell &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
==== Step 1: Start NetCat server on your host machine ====&lt;br /&gt;
* First you need to setup a netcat connection on your host machine that listens to incoming connections. To start NetCat server execute &amp;lt;code&amp;gt;nc -l 8080&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure NetCat Reverse Shell ====&lt;br /&gt;
# Open the NetCat Reverse Shell module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Enter your host machines ip address and the port of the nc server. In our case 4444.&lt;br /&gt;
# Start the module on the LAN Turtle.&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Exploit ====&lt;br /&gt;
When the reverse shell connected to your host machine you can execute commands on the lan turtle over the reverse shell.&lt;br /&gt;
&lt;br /&gt;
=== Gather credentials of locked machines using QuickCreds ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Install an SD Card to an applicable Lan Turtle ====&lt;br /&gt;
# Carefully open the Lan Turtle Shell as described above, also mind the two screws hidden under the sticker to open it fully&lt;br /&gt;
# Turn the Lan Turtle around and fit an SD Card into the SD Card Slot&lt;br /&gt;
# Start the Lan Turtle and select the &amp;quot;Format SD Card&amp;quot; option. This is important to avoid any filesystem incompatibilities&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Install QuickCreds module ====&lt;br /&gt;
# Open the Module Manager, select QuickCreds and install it&lt;br /&gt;
# Go back to the installed modules and open QuickCreds&lt;br /&gt;
# Select configure and wait for a minute while QuickCreds installs all the necessary packages&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Arm QuickCreds ====&lt;br /&gt;
# Open QuickCreds and click &amp;quot;ENABLE&amp;quot;, this will start QuickCreds when the Lan Turtle is plugged in&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Exploit ====&lt;br /&gt;
# Plug the armed Lan Turtle into any locked Windows machine&lt;br /&gt;
# The amber LED will flash very quickly while the attack is running, afterwards they will slow down while the files are saved and the attacks finishes. Lastly the amber LED will flash in a slow and steady pattern to signalize everything is finished up&lt;br /&gt;
# Remove the Lan Turtle&lt;br /&gt;
&lt;br /&gt;
==== Step 5: Gather hashes ====&lt;br /&gt;
# Plug the Lan Turtle into your machine again and connect via SSH&lt;br /&gt;
# Navigate to &amp;quot;/root/loot/quickcreds&amp;quot;&lt;br /&gt;
# Every folder &amp;quot;Creds1&amp;quot; ... &amp;quot;CredsN&amp;quot; contains the log of QuickCreds attacks, aswell as the gathered NTLM hashes, if the attack was successful&lt;br /&gt;
# Windows devices that use a connected Microsoft Account are currently no susceptible for QuickCreds attacks &lt;br /&gt;
&lt;br /&gt;
=== Man-in-the-middle attacks with DNSMasq-Spoof ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure the spoofhost file ====&lt;br /&gt;
# Open the DNSMasq-Spoof module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Add the DNS entries that the LAN turtle should spoof by entering the host IP address and the spoofed DNS name&lt;br /&gt;
[[File:LANTurtleDNSMasq.png|497px||LAN Turtle DNSMasq configuration example]]&lt;br /&gt;
&lt;br /&gt;
In this example, DNS queries for google.com will return a local address, where more malicious activity can take place.&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Set up your server ====&lt;br /&gt;
#Create an index.html file by using the command &amp;lt;code&amp;gt;nano index.html&amp;lt;/code&amp;gt; and fill it with the content you want to display to the target&lt;br /&gt;
#Set up http. An easy way to do so is by issuing &amp;lt;code&amp;gt;sudo python3 -m http.server 8080&amp;lt;/code&amp;gt; on your server&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Place the LAN turtle in the network ====&lt;br /&gt;
After configuring the spoofed hosts, place the LAN turtle on the victim computer by simply plugging the turtle into an USB port of the computer and the network cable into the LAN turtle. When trying to access one of the spoofed DNS names, the target instead opens your pre-configured html file.&lt;br /&gt;
&lt;br /&gt;
=== Information Gathering with nmap ===&lt;br /&gt;
As an example project we use the following modules:&lt;br /&gt;
* Cron to periodically start the attack&lt;br /&gt;
* SSHFS to save the caputred information in a file on the remote server&lt;br /&gt;
* Nmap-Scan to sniff the configuration and devices of the network&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure SSHFS ====&lt;br /&gt;
# Access the SSHFS module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; IP address of the remote server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; 22&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; the username&lt;br /&gt;
#* &amp;lt;code&amp;gt;path&amp;lt;/code&amp;gt; This can be left blank if you want to use the users home directory&lt;br /&gt;
# Start SSHFS and enable it for start up&lt;br /&gt;
&lt;br /&gt;
==== Step 2: nmap-scan ====&lt;br /&gt;
# Access the nmap-scan module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* target: &amp;lt;code&amp;gt;192.168.0.1-255&amp;lt;/code&amp;gt; (This may differ for our network)&lt;br /&gt;
#* logflie: &amp;lt;code&amp;gt;/sshfs/&amp;lt;/code&amp;gt;&lt;br /&gt;
#* use the desired attack profile&lt;br /&gt;
#* save the configuration with execute&lt;br /&gt;
&lt;br /&gt;
==== Step 3: cron job ====&lt;br /&gt;
# add in the con config &amp;lt;code&amp;gt;*/15 * * * * start nmap-scan&amp;lt;/code&amp;gt;&lt;br /&gt;
This line start an nmap-scan every 15 minutes.&lt;br /&gt;
&lt;br /&gt;
=== Deploy services via TOR with Tortle ===&lt;br /&gt;
==== Hidden Service ====&lt;br /&gt;
Onion Host sets up a hidden service inside the TOR network. By default it is a TORShell (SSH within TOR).&lt;br /&gt;
==== Proxy &amp;amp; Gateway configuration ====&lt;br /&gt;
TORGateway, if enabled, automatically and conveniently tunnels ALL eth0 traffic through TOR Transparent Proxy. TOR Proxy is just the regular SOCKS proxy through TOR.&lt;br /&gt;
==== Bridge configurtation ====&lt;br /&gt;
Bridges can be used to avoid blocking of the standard tor relays.&lt;br /&gt;
==== HTTP Proxy configuration ====&lt;br /&gt;
HTTP Proxy can be configured to control internet access.&lt;br /&gt;
==== HTTPS Proxy configuration ====&lt;br /&gt;
HTTPS Proxy can be configured to control internet access.&lt;br /&gt;
==== Firewall configuration ====&lt;br /&gt;
You can configure a firewall that restricts access to serveral ports.&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[LAN Turtle]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* https://docs.hak5.org/hc/en-us/categories/360000979313-LAN-Turtle&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;own creation&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10830</id>
		<title>Hak5 LAN Turtle</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10830"/>
		<updated>2023-01-07T23:52:03Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
[[File:LANTurtle.jpg |thumb|right|400px||LAN Turtle and Field Guide &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
The LAN turtle is a tool for penetration testers and system administrators disguised as a simple USB Ethernet adapter. It provides possibilities to perform remote access, man-in-the-middle and information gathering attacks. These functions are provided by the turtle modules which are preinstalled on the LAN turtle. The modules are based on the OpenWRT platform which allow users to add customized modules. The turtle itself is covert by a generic USB to Ethernet adapter and can therefore be placed unnoticed in IT infrastructures.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Setting up the LAN Turtle ===&lt;br /&gt;
&lt;br /&gt;
# Plug the LAN turtle into one of the USB ports of your computer.&lt;br /&gt;
# Your computer will get an 172.16.84.x address as soon as the startup sequence of the turtle finished. If not, then you have to statically configure an IP out of the 172.16.84.0/24 range.&lt;br /&gt;
# Connect to the turtle with &amp;lt;code&amp;gt;ssh root@172.16.84.1&amp;lt;/code&amp;gt; and enter the password &amp;lt;code&amp;gt;elvisLab&amp;lt;/code&amp;gt; (default password after factory reset is &amp;lt;code&amp;gt;sh3llz&amp;lt;/code&amp;gt;)&lt;br /&gt;
# The simplistic graphical shell interface will prompt you to change the password but the old one is also allowed.&lt;br /&gt;
# The LAN turtle can be configured and modules can be installed within the interface. &lt;br /&gt;
# If you end the interface you will be greeted with an normal Linux shell but you can open it again with the &amp;lt;code&amp;gt;turtle&amp;lt;/code&amp;gt; command&lt;br /&gt;
&lt;br /&gt;
=== Updating firmware (optional) ===&lt;br /&gt;
To ensure the best performance and compatability you should update the firmware regularly. This requires internet connection.&lt;br /&gt;
&lt;br /&gt;
# Select &amp;lt;code&amp;gt;Config&amp;lt;/code&amp;gt; in the Main Menu and press select.&lt;br /&gt;
# Go to &amp;lt;code&amp;gt;Check for updates&amp;lt;/code&amp;gt; and press select to start the update process.&lt;br /&gt;
# Wait till the update finishes.&lt;br /&gt;
&lt;br /&gt;
=== Factory Reset (optional)===&lt;br /&gt;
In the extreme case that a LAN Turtle has become permanently inaccessible or inoperative, there is a quick method for recovery using a special web interface.&lt;br /&gt;
# Download the latest LAN Turtle factory image from the [https://downloads.hak5.org/ official download center]. Note: Choose the factory recovery image.&lt;br /&gt;
# Open the LAN Turtle carefully. There are 2 screws under the sticker.&lt;br /&gt;
# Now you need to find the reset button/jumper contact. You can find a video on how to locate [https://www.youtube.com/watch?v=ubNin_79wxE here].&lt;br /&gt;
# Hold down the button/jumper while you&#039;re plugging the LAN Turtle in your PC and keep holding it for 5 more seconds.&lt;br /&gt;
# Go to http://192.168.1.1 for the firmware web recovery tool and upload the image to the LAN Turtle.&lt;br /&gt;
# Wait 5-10 minutes for the recovery to finish, the LAN Turtle will indicate it with a special LED blink pattern. Watch the video for the LED Pattern to know when the recovery has finished.&lt;br /&gt;
&lt;br /&gt;
=== Using the turtle modules ===&lt;br /&gt;
&lt;br /&gt;
The LAN turtle comes packed with pre-installed tools. Furthermore it is possible to program your own or download them from the internet and configure them with the module manager as well.&lt;br /&gt;
&lt;br /&gt;
[[File:LANTurtleModules.jpg|400px||LAN Turtle configuration shell interface]] &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Manually download turtle modules ====&lt;br /&gt;
If the module manager doesn&#039;t work you need to manually download turtle modules. You can do that in the console of the lan turtle, just exit the main menu.&lt;br /&gt;
You can download modules from the [https://github.com/hak5/lanturtle-modules/tree/gh-pages/modules official hak5 github].&lt;br /&gt;
&lt;br /&gt;
# Change directory to &amp;lt;code&amp;gt;/etc/turtle/modules&amp;lt;/code&amp;gt;&lt;br /&gt;
# Download modules with &amp;lt;code&amp;gt;wget &amp;lt;link&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Make the file an executeable &amp;lt;code&amp;gt;chmod +x &amp;lt;file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== AutoSSH ====&lt;br /&gt;
&lt;br /&gt;
AutoSSH is a service which provides persistent SSH connections. When the LAN-Turtle starts up or if an SSH session drops, it will be quickly re-established by AutoSSH. This service is typically used to provide a convenient and persistent reverse shell into the LAN Turtle on the standard SSH port 22 - though it may be configured with any standard SSH parameters to forward any arbitrary port.&lt;br /&gt;
*&amp;lt;code&amp;gt;User@Host&amp;lt;/code&amp;gt; - The username and hostname (DNS or IP) separated by @ for which to establish the SSH connection.&lt;br /&gt;
*&amp;lt;code&amp;gt;Port&amp;lt;/code&amp;gt; - The port number from which the remote server will bind.&lt;br /&gt;
*&amp;lt;code&amp;gt;Remote Port&amp;lt;/code&amp;gt; - The port number to which the SSH tunnel will bind on the remote machine.&lt;br /&gt;
*&amp;lt;code&amp;gt;Local Port&amp;lt;/code&amp;gt; - The port number to which the SSH Tunnel will terminate on the LAN Turtle.&lt;br /&gt;
[[File:LANTurtleAutoSSH.png|417px||LAN Turtle AutoSSH configuration example]]&lt;br /&gt;
&lt;br /&gt;
Example: Per the defaults, the remote server will bind its local port 2222 back to the LAN Turtle port 22. In this scenario one may establish a persistent connection to their LAN Turtle from this reverse shell by first connecting to the public server, and then from there establishing an SSH connection to port 2222.&lt;br /&gt;
&lt;br /&gt;
==== Clomac ====&lt;br /&gt;
Clomac clones the Client&#039;s MAC address into the WAN interface.&lt;br /&gt;
&lt;br /&gt;
==== Cron ====&lt;br /&gt;
Cron is a job scheduler which can be used to start and stop modules at specific times or regular intervals using the &#039;start&#039; and &#039;stop&#039; commands.&lt;br /&gt;
&lt;br /&gt;
==== DDNSC - Dynamic Domain Name Service Client ====&lt;br /&gt;
This service provides automatic Dynamic Domain Name updates.&lt;br /&gt;
&lt;br /&gt;
==== DNSSpoof ====&lt;br /&gt;
DNSSpoof forges replies to arbitrary DNS address / pointer queries on the LAN. This is useful in bypassing hostname-based access controls, or in implementing a variety of man-in-the-middle attacks. For example, the IP address returned for a client lookup of the domain \&amp;quot;example.com\&amp;quot; can be replaced with that of the LAN Turtle itself, or a 3rd party server. In this scenario, the computer connected to the Internet through the LAN Turtle attempting to browse to this domain may be redirected to the spoofed IP.&lt;br /&gt;
&lt;br /&gt;
==== DNSMasq-Spoof ====&lt;br /&gt;
The DNSMasq-Spoof works similar to the DNSSpoof module but uses DNSMasq instead of Dsniff tools.&lt;br /&gt;
&lt;br /&gt;
==== Keymanager ====&lt;br /&gt;
With this tool you can create RSA keypairs and copy them to the public server. This is required in order to properly configure AutoSSH.&lt;br /&gt;
&lt;br /&gt;
==== Meterpreter ====&lt;br /&gt;
This module deploys an persistent shell to the Metasploit Framework of an other Machine.&lt;br /&gt;
&lt;br /&gt;
==== NetCat Reverse Shell ====&lt;br /&gt;
The netcat reverse shell provides you with remote access to the lan turtle. Even though it is not to be considered as persistent per default, its reliability can be increased with simple bash scripts on the server side.&lt;br /&gt;
&lt;br /&gt;
==== Nmap-Scan ====&lt;br /&gt;
This module uses &amp;lt;code&amp;gt;nmap&amp;lt;/code&amp;gt; for discovering running devices and their port of the current LAN network. The user is able to specify a target network range to scan, choose from different scan profiles and specify the directory to write the log file to.&lt;br /&gt;
&lt;br /&gt;
==== OpenVPN ====&lt;br /&gt;
OpenVPN enables remote access the LAN Turtle and optionally the network on which it resides. It allows to send the captured data to your operating network.&lt;br /&gt;
&lt;br /&gt;
==== QuickCreds ====&lt;br /&gt;
This module is used to retrieve login credentials from locked windows machines. The credentials are saved to &amp;lt;code&amp;gt;/root/loot&amp;lt;/code&amp;gt;. The LAN turtle LED blinks while QuickCreds is running and lights solid when its done. Versions of the LAN turtle that do not support an SD card are not able to install it properly as it requires more space.+&lt;br /&gt;
&lt;br /&gt;
==== Iodine ====&lt;br /&gt;
Establishes a DNS tunnel outbound to a server and domain name using iodine.&lt;br /&gt;
&lt;br /&gt;
==== Responder ====&lt;br /&gt;
Responder is a LLMNR, NBT-NS and MDNS posioner. It answers to specific Name Service queries based on ther name suffix. By default, it only answers to File Server Service requests for SMB. It aims to be stealthier on the network and ensure that legitimate NBT-NS behavior is not broken with.&lt;br /&gt;
&lt;br /&gt;
==== Script2Email ====&lt;br /&gt;
This module sends the output of a script as an email to a specified address. To do so, it uses SMTP and requires a mail account.&lt;br /&gt;
&lt;br /&gt;
==== Script2Http ====&lt;br /&gt;
Sens the output of a script as HTTP post to a specified URL.&lt;br /&gt;
&lt;br /&gt;
==== SSHFS ====&lt;br /&gt;
SSHFS (Secure SHell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used.&lt;br /&gt;
&lt;br /&gt;
==== Tortle ====&lt;br /&gt;
Tortle makes the turtle act as an TOR Gateway. It enables you to setup several services.&lt;br /&gt;
&lt;br /&gt;
==== uPnP-Portfwd ====&lt;br /&gt;
This service provides automatic port forwarding when connected to some uPnP enabled routers. This way it is able to provide a persistend direct shell from the outside to the LAN turtle. This won&#039;t work in many cases but is useful in cases it does.&lt;br /&gt;
&lt;br /&gt;
==== Uptime ====&lt;br /&gt;
Displays the uptime of the LAN Turtle as well as the load average.&lt;br /&gt;
&lt;br /&gt;
==== URLSnarf ====&lt;br /&gt;
URLSnarf allows you to capture which websites were accessed by the plugged in computer. URLSnarf only works with HTTP webpages which are hard to find today. Even though it is displayed as downloadable via the modulemanager, it is depricated in Turtle Shell 6.2.&lt;br /&gt;
&lt;br /&gt;
== Use Cases==&lt;br /&gt;
&lt;br /&gt;
The LAN turtle can be deployed in various use cases, which can be divided into four categories:&lt;br /&gt;
* remote access attacks with AutoSSH or OpenVPN or NetCat Reverse Shell&lt;br /&gt;
* man-in-the-middle attacks with URLSnarf or DNSSpoof&lt;br /&gt;
* information gathering with Nmap-Scan&lt;br /&gt;
* deploy service with via TOR-network&lt;br /&gt;
&lt;br /&gt;
Remote access attacks are used to gain access to a private network from a remote place in order to start further attacks from the inside network. This makes it a lot more easier because the attack itself does not have to bypass a router or firewall. All the attacker needs is the pre-configured LAN turtle inside the network and a remote server on the internet. To perform a remote access, the LAN turtle builds up a tunnel to the remote server so the firewall cannot capture the traffic. Finally the attacker can access the LAN turtle through the tunnel from the remote server. This attack can be performed with the modules AutoSSH or OpenVPN.&lt;br /&gt;
&lt;br /&gt;
The LAN turtle also allows man-in-the-middle attacks, where the turtle can intercept the communication between two parties. To perform such an attack, the LAN turtle must be connected to an USB port of the victim host and to a network cable which connects the host to the internal LAN. Now the whole traffic of the victim host goes over the LAN turtle and can be logged or altered. An attacker can use URLSnarf or DNSSpoof to perform such an attack.&lt;br /&gt;
&lt;br /&gt;
The third use case is information gathering. The aim of this attack is to receive information about the topology, the hosts and the protocols of an internal network in order to perform further attacks. This can be done with the modules like Nmap-Scan.&lt;br /&gt;
&lt;br /&gt;
The following step-by-step instructions will outline how to configure the LAN turtle in order to perform the different types of attacks.&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with AutoSSH ===&lt;br /&gt;
In this example consider an internal network which is secured by a firewall and a server in the internet controlled by the attacker. The server is using 10.0.0.41 and a user turtle was created on it in order to simplify depictions.&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Generate RSA keypairs with Keymanager ====&lt;br /&gt;
[[File:SSH_Key.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open the Keymanager module and select &amp;lt;code&amp;gt;generate_key&amp;lt;/code&amp;gt;&lt;br /&gt;
# Select &amp;lt;code&amp;gt;copy_key&amp;lt;/code&amp;gt; and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; remote SSH server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; remote SSH server port (typically 22)&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; user on the remote SSH server&lt;br /&gt;
# A prompt will ask wether or not to confirm the fingerprint&lt;br /&gt;
# The password for the user on the host is requestes&lt;br /&gt;
# If no error occurs, the exchange was succesful&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure AutoSSH ====&lt;br /&gt;
[[File:SSH_config.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open AutoSSH and insert the following parameters:&lt;br /&gt;
#* &amp;lt;code&amp;gt;user@host&amp;lt;/code&amp;gt; user and host to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; the port on the Host used to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;remote port&amp;lt;/code&amp;gt; remote port to bind through the SSH tunnel (default 2222)&lt;br /&gt;
#* &amp;lt;code&amp;gt;local port&amp;lt;/code&amp;gt; local port to bind tunnel (default 22)&lt;br /&gt;
# Submit the changes and start AutoSSH (or enable it for autostart)&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Access LAN turtle from remote server ====&lt;br /&gt;
# Connect to the remote server&lt;br /&gt;
# Connect locally to the remote port of the AutoSSH configuration by &amp;lt;code&amp;gt;ssh root@localhost:2222&amp;lt;/code&amp;gt;&lt;br /&gt;
# You are now on the LAN turtle, continue with further attacks&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with NetCat Reverse Shell ===&lt;br /&gt;
[[File:NC_output.png |thumb|right|400px||Servers perspective of the NC reverse shell &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
==== Step 1: Start NetCat server on your host machine ====&lt;br /&gt;
* First you need to setup a netcat connection on your host machine that listens to incoming connections. To start NetCat server execute &amp;lt;code&amp;gt;nc -l 8080&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure NetCat Reverse Shell ====&lt;br /&gt;
# Open the NetCat Reverse Shell module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Enter your host machines ip address and the port of the nc server. In our case 4444.&lt;br /&gt;
# Start the module on the LAN Turtle.&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Exploit ====&lt;br /&gt;
When the reverse shell connected to your host machine you can execute commands on the lan turtle over the reverse shell.&lt;br /&gt;
&lt;br /&gt;
=== Gather credentials of locked machines using QuickCreds ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Install an SD Card to an applicable Lan Turtle ====&lt;br /&gt;
# Carefully open the Lan Turtle Shell as described above, also mind the two screws hidden under the sticker to open it fully&lt;br /&gt;
# Turn the Lan Turtle around and fit an SD Card into the SD Card Slot&lt;br /&gt;
# Start the Lan Turtle and select the &amp;quot;Format SD Card&amp;quot; option. This is important to avoid any filesystem incompatibilities&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Install QuickCreds module ====&lt;br /&gt;
# Open the Module Manager, select QuickCreds and install it&lt;br /&gt;
# Go back to the installed modules and open QuickCreds&lt;br /&gt;
# Select configure and wait for a minute while QuickCreds installs all the necessary packages&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Arm QuickCreds ====&lt;br /&gt;
# Open QuickCreds and click &amp;quot;ENABLE&amp;quot;, this will start QuickCreds when the Lan Turtle is plugged in&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Exploit ====&lt;br /&gt;
# Plug the armed Lan Turtle into any locked Windows machine&lt;br /&gt;
# The amber LED will flash very quickly while the attack is running, afterwards they will slow down while the files are saved and the attacks finishes. Lastly the amber LED will flash in a slow and steady pattern to signalize everything is finished up&lt;br /&gt;
# Remove the Lan Turtle&lt;br /&gt;
&lt;br /&gt;
==== Step 5: Gather hashes ====&lt;br /&gt;
# Plug the Lan Turtle into your machine again and connect via SSH&lt;br /&gt;
# Navigate to &amp;quot;/root/loot/quickcreds&amp;quot;&lt;br /&gt;
# Every folder &amp;quot;Creds1&amp;quot; ... &amp;quot;CredsN&amp;quot; contains the log of QuickCreds attacks, aswell as the gathered NTLM hashes, if the attack was successful&lt;br /&gt;
# Windows devices that use a connected Microsoft Account are currently no susceptible for QuickCreds attacks &lt;br /&gt;
&lt;br /&gt;
=== Man-in-the-middle attacks with DNSMasq-Spoof ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure the spoofhost file ====&lt;br /&gt;
# Open the DNSMasq-Spoof module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Add the DNS entries that the LAN turtle should spoof by entering the host IP address and the spoofed DNS name&lt;br /&gt;
[[File:LANTurtleDNSMasq.png|497px||LAN Turtle DNSMasq configuration example]]&lt;br /&gt;
&lt;br /&gt;
In this example, DNS queries for google.com will return a local address, where more malicious activity can take place.&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Set up your server ====&lt;br /&gt;
#Create an index.html file by using the command &amp;lt;code&amp;gt;nano index.html&amp;lt;/code&amp;gt; and fill it with the content you want to display to the target&lt;br /&gt;
#Set up http. An easy way to do so is by issuing &amp;lt;code&amp;gt;sudo python3 -m http.server 8080&amp;lt;/code&amp;gt; on your server&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Place the LAN turtle in the network ====&lt;br /&gt;
After configuring the spoofed hosts, place the LAN turtle on the victim computer by simply plugging the turtle into an USB port of the computer and the network cable into the LAN turtle. When trying to access one of the spoofed DNS names, the target instead opens your pre-configured html file.&lt;br /&gt;
&lt;br /&gt;
=== Information Gathering with nmap ===&lt;br /&gt;
As an example project we use the following modules:&lt;br /&gt;
* Cron to periodically start the attack&lt;br /&gt;
* SSHFS to save the caputred information in a file on the remote server&lt;br /&gt;
* Nmap-Scan to sniff the configuration and devices of the network&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure SSHFS ====&lt;br /&gt;
# Access the SSHFS module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; IP address of the remote server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; 22&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; the username&lt;br /&gt;
#* &amp;lt;code&amp;gt;path&amp;lt;/code&amp;gt; This can be left blank if you want to use the users home directory&lt;br /&gt;
# Start SSHFS and enable it for start up&lt;br /&gt;
&lt;br /&gt;
==== Step 2: nmap-scan ====&lt;br /&gt;
# Access the nmap-scan module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* target: &amp;lt;code&amp;gt;192.168.0.1-255&amp;lt;/code&amp;gt; (This may differ for our network)&lt;br /&gt;
#* logflie: &amp;lt;code&amp;gt;/sshfs/&amp;lt;/code&amp;gt;&lt;br /&gt;
#* use the desired attack profile&lt;br /&gt;
#* save the configuration with execute&lt;br /&gt;
&lt;br /&gt;
==== Step 3: cron job ====&lt;br /&gt;
# add in the con config &amp;lt;code&amp;gt;*/15 * * * * start nmap-scan&amp;lt;/code&amp;gt;&lt;br /&gt;
This line start an nmap-scan every 15 minutes.&lt;br /&gt;
&lt;br /&gt;
=== Deploy services via TOR with Tortle ===&lt;br /&gt;
==== Hidden Service ====&lt;br /&gt;
Onion Host sets up a hidden service inside the TOR network. By default it is a TORShell (SSH within TOR).&lt;br /&gt;
==== Proxy &amp;amp; Gateway configuration ====&lt;br /&gt;
TORGateway, if enabled, automatically and conveniently tunnels ALL eth0 traffic through TOR Transparent Proxy. TOR Proxy is just the regular SOCKS proxy through TOR.&lt;br /&gt;
==== Bridge configurtation ====&lt;br /&gt;
Bridges can be used to avoid blocking of the standard tor relays.&lt;br /&gt;
==== HTTP Proxy configuration ====&lt;br /&gt;
HTTP Proxy can be configured to control internet access.&lt;br /&gt;
==== HTTPS Proxy configuration ====&lt;br /&gt;
HTTPS Proxy can be configured to control internet access.&lt;br /&gt;
==== Firewall configuration ====&lt;br /&gt;
You can configure a firewall that restricts access to serveral ports.&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[LAN Turtle]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* https://docs.hak5.org/hc/en-us/categories/360000979313-LAN-Turtle&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;own creation&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:LANTurtleDNSMasq.png&amp;diff=10829</id>
		<title>File:LANTurtleDNSMasq.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:LANTurtleDNSMasq.png&amp;diff=10829"/>
		<updated>2023-01-07T23:49:28Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10828</id>
		<title>Hak5 LAN Turtle</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10828"/>
		<updated>2023-01-07T23:47:15Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
[[File:LANTurtle.jpg |thumb|right|400px||LAN Turtle and Field Guide &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
The LAN turtle is a tool for penetration testers and system administrators disguised as a simple USB Ethernet adapter. It provides possibilities to perform remote access, man-in-the-middle and information gathering attacks. These functions are provided by the turtle modules which are preinstalled on the LAN turtle. The modules are based on the OpenWRT platform which allow users to add customized modules. The turtle itself is covert by a generic USB to Ethernet adapter and can therefore be placed unnoticed in IT infrastructures.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Setting up the LAN Turtle ===&lt;br /&gt;
&lt;br /&gt;
# Plug the LAN turtle into one of the USB ports of your computer.&lt;br /&gt;
# Your computer will get an 172.16.84.x address as soon as the startup sequence of the turtle finished. If not, then you have to statically configure an IP out of the 172.16.84.0/24 range.&lt;br /&gt;
# Connect to the turtle with &amp;lt;code&amp;gt;ssh root@172.16.84.1&amp;lt;/code&amp;gt; and enter the password &amp;lt;code&amp;gt;elvisLab&amp;lt;/code&amp;gt; (default password after factory reset is &amp;lt;code&amp;gt;sh3llz&amp;lt;/code&amp;gt;)&lt;br /&gt;
# The simplistic graphical shell interface will prompt you to change the password but the old one is also allowed.&lt;br /&gt;
# The LAN turtle can be configured and modules can be installed within the interface. &lt;br /&gt;
# If you end the interface you will be greeted with an normal Linux shell but you can open it again with the &amp;lt;code&amp;gt;turtle&amp;lt;/code&amp;gt; command&lt;br /&gt;
&lt;br /&gt;
=== Updating firmware (optional) ===&lt;br /&gt;
To ensure the best performance and compatability you should update the firmware regularly. This requires internet connection.&lt;br /&gt;
&lt;br /&gt;
# Select &amp;lt;code&amp;gt;Config&amp;lt;/code&amp;gt; in the Main Menu and press select.&lt;br /&gt;
# Go to &amp;lt;code&amp;gt;Check for updates&amp;lt;/code&amp;gt; and press select to start the update process.&lt;br /&gt;
# Wait till the update finishes.&lt;br /&gt;
&lt;br /&gt;
=== Factory Reset (optional)===&lt;br /&gt;
In the extreme case that a LAN Turtle has become permanently inaccessible or inoperative, there is a quick method for recovery using a special web interface.&lt;br /&gt;
# Download the latest LAN Turtle factory image from the [https://downloads.hak5.org/ official download center]. Note: Choose the factory recovery image.&lt;br /&gt;
# Open the LAN Turtle carefully. There are 2 screws under the sticker.&lt;br /&gt;
# Now you need to find the reset button/jumper contact. You can find a video on how to locate [https://www.youtube.com/watch?v=ubNin_79wxE here].&lt;br /&gt;
# Hold down the button/jumper while you&#039;re plugging the LAN Turtle in your PC and keep holding it for 5 more seconds.&lt;br /&gt;
# Go to http://192.168.1.1 for the firmware web recovery tool and upload the image to the LAN Turtle.&lt;br /&gt;
# Wait 5-10 minutes for the recovery to finish, the LAN Turtle will indicate it with a special LED blink pattern. Watch the video for the LED Pattern to know when the recovery has finished.&lt;br /&gt;
&lt;br /&gt;
=== Using the turtle modules ===&lt;br /&gt;
&lt;br /&gt;
The LAN turtle comes packed with pre-installed tools. Furthermore it is possible to program your own or download them from the internet and configure them with the module manager as well.&lt;br /&gt;
&lt;br /&gt;
[[File:LANTurtleModules.jpg|400px||LAN Turtle configuration shell interface]] &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Manually download turtle modules ====&lt;br /&gt;
If the module manager doesn&#039;t work you need to manually download turtle modules. You can do that in the console of the lan turtle, just exit the main menu.&lt;br /&gt;
You can download modules from the [https://github.com/hak5/lanturtle-modules/tree/gh-pages/modules official hak5 github].&lt;br /&gt;
&lt;br /&gt;
# Change directory to &amp;lt;code&amp;gt;/etc/turtle/modules&amp;lt;/code&amp;gt;&lt;br /&gt;
# Download modules with &amp;lt;code&amp;gt;wget &amp;lt;link&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Make the file an executeable &amp;lt;code&amp;gt;chmod +x &amp;lt;file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== AutoSSH ====&lt;br /&gt;
&lt;br /&gt;
AutoSSH is a service which provides persistent SSH connections. When the LAN-Turtle starts up or if an SSH session drops, it will be quickly re-established by AutoSSH. This service is typically used to provide a convenient and persistent reverse shell into the LAN Turtle on the standard SSH port 22 - though it may be configured with any standard SSH parameters to forward any arbitrary port.&lt;br /&gt;
*&amp;lt;code&amp;gt;User@Host&amp;lt;/code&amp;gt; - The username and hostname (DNS or IP) separated by @ for which to establish the SSH connection.&lt;br /&gt;
*&amp;lt;code&amp;gt;Port&amp;lt;/code&amp;gt; - The port number from which the remote server will bind.&lt;br /&gt;
*&amp;lt;code&amp;gt;Remote Port&amp;lt;/code&amp;gt; - The port number to which the SSH tunnel will bind on the remote machine.&lt;br /&gt;
*&amp;lt;code&amp;gt;Local Port&amp;lt;/code&amp;gt; - The port number to which the SSH Tunnel will terminate on the LAN Turtle.&lt;br /&gt;
[[File:LANTurtleAutoSSH.png|417px||LAN Turtle AutoSSH configuration example]] &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example: Per the defaults, the remote server will bind its local port 2222 back to the LAN Turtle port 22. In this scenario one may establish a persistent connection to their LAN Turtle from this reverse shell by first connecting to the public server, and then from there establishing an SSH connection to port 2222.&lt;br /&gt;
&lt;br /&gt;
==== Clomac ====&lt;br /&gt;
Clomac clones the Client&#039;s MAC address into the WAN interface.&lt;br /&gt;
&lt;br /&gt;
==== Cron ====&lt;br /&gt;
Cron is a job scheduler which can be used to start and stop modules at specific times or regular intervals using the &#039;start&#039; and &#039;stop&#039; commands.&lt;br /&gt;
&lt;br /&gt;
==== DDNSC - Dynamic Domain Name Service Client ====&lt;br /&gt;
This service provides automatic Dynamic Domain Name updates.&lt;br /&gt;
&lt;br /&gt;
==== DNSSpoof ====&lt;br /&gt;
DNSSpoof forges replies to arbitrary DNS address / pointer queries on the LAN. This is useful in bypassing hostname-based access controls, or in implementing a variety of man-in-the-middle attacks. For example, the IP address returned for a client lookup of the domain \&amp;quot;example.com\&amp;quot; can be replaced with that of the LAN Turtle itself, or a 3rd party server. In this scenario, the computer connected to the Internet through the LAN Turtle attempting to browse to this domain may be redirected to the spoofed IP.&lt;br /&gt;
&lt;br /&gt;
==== DNSMasq-Spoof ====&lt;br /&gt;
The DNSMasq-Spoof works similar to the DNSSpoof module but uses DNSMasq instead of Dsniff tools.&lt;br /&gt;
&lt;br /&gt;
==== Keymanager ====&lt;br /&gt;
With this tool you can create RSA keypairs and copy them to the public server. This is required in order to properly configure AutoSSH.&lt;br /&gt;
&lt;br /&gt;
==== Meterpreter ====&lt;br /&gt;
This module deploys an persistent shell to the Metasploit Framework of an other Machine.&lt;br /&gt;
&lt;br /&gt;
==== NetCat Reverse Shell ====&lt;br /&gt;
The netcat reverse shell provides you with remote access to the lan turtle. Even though it is not to be considered as persistent per default, its reliability can be increased with simple bash scripts on the server side.&lt;br /&gt;
&lt;br /&gt;
==== Nmap-Scan ====&lt;br /&gt;
This module uses &amp;lt;code&amp;gt;nmap&amp;lt;/code&amp;gt; for discovering running devices and their port of the current LAN network. The user is able to specify a target network range to scan, choose from different scan profiles and specify the directory to write the log file to.&lt;br /&gt;
&lt;br /&gt;
==== OpenVPN ====&lt;br /&gt;
OpenVPN enables remote access the LAN Turtle and optionally the network on which it resides. It allows to send the captured data to your operating network.&lt;br /&gt;
&lt;br /&gt;
==== QuickCreds ====&lt;br /&gt;
This module is used to retrieve login credentials from locked windows machines. The credentials are saved to &amp;lt;code&amp;gt;/root/loot&amp;lt;/code&amp;gt;. The LAN turtle LED blinks while QuickCreds is running and lights solid when its done. Versions of the LAN turtle that do not support an SD card are not able to install it properly as it requires more space.+&lt;br /&gt;
&lt;br /&gt;
==== Iodine ====&lt;br /&gt;
Establishes a DNS tunnel outbound to a server and domain name using iodine.&lt;br /&gt;
&lt;br /&gt;
==== Responder ====&lt;br /&gt;
Responder is a LLMNR, NBT-NS and MDNS posioner. It answers to specific Name Service queries based on ther name suffix. By default, it only answers to File Server Service requests for SMB. It aims to be stealthier on the network and ensure that legitimate NBT-NS behavior is not broken with.&lt;br /&gt;
&lt;br /&gt;
==== Script2Email ====&lt;br /&gt;
This module sends the output of a script as an email to a specified address. To do so, it uses SMTP and requires a mail account.&lt;br /&gt;
&lt;br /&gt;
==== Script2Http ====&lt;br /&gt;
Sens the output of a script as HTTP post to a specified URL.&lt;br /&gt;
&lt;br /&gt;
==== SSHFS ====&lt;br /&gt;
SSHFS (Secure SHell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used.&lt;br /&gt;
&lt;br /&gt;
==== Tortle ====&lt;br /&gt;
Tortle makes the turtle act as an TOR Gateway. It enables you to setup several services.&lt;br /&gt;
&lt;br /&gt;
==== uPnP-Portfwd ====&lt;br /&gt;
This service provides automatic port forwarding when connected to some uPnP enabled routers. This way it is able to provide a persistend direct shell from the outside to the LAN turtle. This won&#039;t work in many cases but is useful in cases it does.&lt;br /&gt;
&lt;br /&gt;
==== Uptime ====&lt;br /&gt;
Displays the uptime of the LAN Turtle as well as the load average.&lt;br /&gt;
&lt;br /&gt;
==== URLSnarf ====&lt;br /&gt;
URLSnarf allows you to capture which websites were accessed by the plugged in computer. URLSnarf only works with HTTP webpages which are hard to find today. Even though it is displayed as downloadable via the modulemanager, it is depricated in Turtle Shell 6.2.&lt;br /&gt;
&lt;br /&gt;
== Use Cases==&lt;br /&gt;
&lt;br /&gt;
The LAN turtle can be deployed in various use cases, which can be divided into four categories:&lt;br /&gt;
* remote access attacks with AutoSSH or OpenVPN or NetCat Reverse Shell&lt;br /&gt;
* man-in-the-middle attacks with URLSnarf or DNSSpoof&lt;br /&gt;
* information gathering with Nmap-Scan&lt;br /&gt;
* deploy service with via TOR-network&lt;br /&gt;
&lt;br /&gt;
Remote access attacks are used to gain access to a private network from a remote place in order to start further attacks from the inside network. This makes it a lot more easier because the attack itself does not have to bypass a router or firewall. All the attacker needs is the pre-configured LAN turtle inside the network and a remote server on the internet. To perform a remote access, the LAN turtle builds up a tunnel to the remote server so the firewall cannot capture the traffic. Finally the attacker can access the LAN turtle through the tunnel from the remote server. This attack can be performed with the modules AutoSSH or OpenVPN.&lt;br /&gt;
&lt;br /&gt;
The LAN turtle also allows man-in-the-middle attacks, where the turtle can intercept the communication between two parties. To perform such an attack, the LAN turtle must be connected to an USB port of the victim host and to a network cable which connects the host to the internal LAN. Now the whole traffic of the victim host goes over the LAN turtle and can be logged or altered. An attacker can use URLSnarf or DNSSpoof to perform such an attack.&lt;br /&gt;
&lt;br /&gt;
The third use case is information gathering. The aim of this attack is to receive information about the topology, the hosts and the protocols of an internal network in order to perform further attacks. This can be done with the modules like Nmap-Scan.&lt;br /&gt;
&lt;br /&gt;
The following step-by-step instructions will outline how to configure the LAN turtle in order to perform the different types of attacks.&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with AutoSSH ===&lt;br /&gt;
In this example consider an internal network which is secured by a firewall and a server in the internet controlled by the attacker. The server is using 10.0.0.41 and a user turtle was created on it in order to simplify depictions.&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Generate RSA keypairs with Keymanager ====&lt;br /&gt;
[[File:SSH_Key.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open the Keymanager module and select &amp;lt;code&amp;gt;generate_key&amp;lt;/code&amp;gt;&lt;br /&gt;
# Select &amp;lt;code&amp;gt;copy_key&amp;lt;/code&amp;gt; and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; remote SSH server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; remote SSH server port (typically 22)&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; user on the remote SSH server&lt;br /&gt;
# A prompt will ask wether or not to confirm the fingerprint&lt;br /&gt;
# The password for the user on the host is requestes&lt;br /&gt;
# If no error occurs, the exchange was succesful&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure AutoSSH ====&lt;br /&gt;
[[File:SSH_config.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open AutoSSH and insert the following parameters:&lt;br /&gt;
#* &amp;lt;code&amp;gt;user@host&amp;lt;/code&amp;gt; user and host to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; the port on the Host used to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;remote port&amp;lt;/code&amp;gt; remote port to bind through the SSH tunnel (default 2222)&lt;br /&gt;
#* &amp;lt;code&amp;gt;local port&amp;lt;/code&amp;gt; local port to bind tunnel (default 22)&lt;br /&gt;
# Submit the changes and start AutoSSH (or enable it for autostart)&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Access LAN turtle from remote server ====&lt;br /&gt;
# Connect to the remote server&lt;br /&gt;
# Connect locally to the remote port of the AutoSSH configuration by &amp;lt;code&amp;gt;ssh root@localhost:2222&amp;lt;/code&amp;gt;&lt;br /&gt;
# You are now on the LAN turtle, continue with further attacks&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with NetCat Reverse Shell ===&lt;br /&gt;
[[File:NC_output.png |thumb|right|400px||Servers perspective of the NC reverse shell &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
==== Step 1: Start NetCat server on your host machine ====&lt;br /&gt;
* First you need to setup a netcat connection on your host machine that listens to incoming connections. To start NetCat server execute &amp;lt;code&amp;gt;nc -l 8080&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure NetCat Reverse Shell ====&lt;br /&gt;
# Open the NetCat Reverse Shell module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Enter your host machines ip address and the port of the nc server. In our case 4444.&lt;br /&gt;
# Start the module on the LAN Turtle.&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Exploit ====&lt;br /&gt;
When the reverse shell connected to your host machine you can execute commands on the lan turtle over the reverse shell.&lt;br /&gt;
&lt;br /&gt;
=== Gather credentials of locked machines using QuickCreds ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Install an SD Card to an applicable Lan Turtle ====&lt;br /&gt;
# Carefully open the Lan Turtle Shell as described above, also mind the two screws hidden under the sticker to open it fully&lt;br /&gt;
# Turn the Lan Turtle around and fit an SD Card into the SD Card Slot&lt;br /&gt;
# Start the Lan Turtle and select the &amp;quot;Format SD Card&amp;quot; option. This is important to avoid any filesystem incompatibilities&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Install QuickCreds module ====&lt;br /&gt;
# Open the Module Manager, select QuickCreds and install it&lt;br /&gt;
# Go back to the installed modules and open QuickCreds&lt;br /&gt;
# Select configure and wait for a minute while QuickCreds installs all the necessary packages&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Arm QuickCreds ====&lt;br /&gt;
# Open QuickCreds and click &amp;quot;ENABLE&amp;quot;, this will start QuickCreds when the Lan Turtle is plugged in&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Exploit ====&lt;br /&gt;
# Plug the armed Lan Turtle into any locked Windows machine&lt;br /&gt;
# The amber LED will flash very quickly while the attack is running, afterwards they will slow down while the files are saved and the attacks finishes. Lastly the amber LED will flash in a slow and steady pattern to signalize everything is finished up&lt;br /&gt;
# Remove the Lan Turtle&lt;br /&gt;
&lt;br /&gt;
==== Step 5: Gather hashes ====&lt;br /&gt;
# Plug the Lan Turtle into your machine again and connect via SSH&lt;br /&gt;
# Navigate to &amp;quot;/root/loot/quickcreds&amp;quot;&lt;br /&gt;
# Every folder &amp;quot;Creds1&amp;quot; ... &amp;quot;CredsN&amp;quot; contains the log of QuickCreds attacks, aswell as the gathered NTLM hashes, if the attack was successful&lt;br /&gt;
# Windows devices that use a connected Microsoft Account are currently no susceptible for QuickCreds attacks &lt;br /&gt;
&lt;br /&gt;
=== Man-in-the-middle attacks with DNSMasq-Spoof ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure the spoofhost file ====&lt;br /&gt;
# Open the DNSMasq-Spoof module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Add the DNS entries that the LAN turtle should spoof by entering the host IP address and the spoofed DNS name&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Set up your server ====&lt;br /&gt;
#Create an index.html file by using the command &amp;lt;code&amp;gt;nano index.html&amp;lt;/code&amp;gt; and fill it with the content you want to display to the target&lt;br /&gt;
#Set up http. An easy way to do so is by issuing &amp;lt;code&amp;gt;sudo python3 -m http.server 8080&amp;lt;/code&amp;gt; on your server&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Place the LAN turtle in the network ====&lt;br /&gt;
After configuring the spoofed hosts, place the LAN turtle on the victim computer by simply plugging the turtle into an USB port of the computer and the network cable into the LAN turtle. When trying to access one of the spoofed DNS names, the target instead opens your pre-configured html file.&lt;br /&gt;
&lt;br /&gt;
=== Information Gathering with nmap ===&lt;br /&gt;
As an example project we use the following modules:&lt;br /&gt;
* Cron to periodically start the attack&lt;br /&gt;
* SSHFS to save the caputred information in a file on the remote server&lt;br /&gt;
* Nmap-Scan to sniff the configuration and devices of the network&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure SSHFS ====&lt;br /&gt;
# Access the SSHFS module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; IP address of the remote server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; 22&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; the username&lt;br /&gt;
#* &amp;lt;code&amp;gt;path&amp;lt;/code&amp;gt; This can be left blank if you want to use the users home directory&lt;br /&gt;
# Start SSHFS and enable it for start up&lt;br /&gt;
&lt;br /&gt;
==== Step 2: nmap-scan ====&lt;br /&gt;
# Access the nmap-scan module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* target: &amp;lt;code&amp;gt;192.168.0.1-255&amp;lt;/code&amp;gt; (This may differ for our network)&lt;br /&gt;
#* logflie: &amp;lt;code&amp;gt;/sshfs/&amp;lt;/code&amp;gt;&lt;br /&gt;
#* use the desired attack profile&lt;br /&gt;
#* save the configuration with execute&lt;br /&gt;
&lt;br /&gt;
==== Step 3: cron job ====&lt;br /&gt;
# add in the con config &amp;lt;code&amp;gt;*/15 * * * * start nmap-scan&amp;lt;/code&amp;gt;&lt;br /&gt;
This line start an nmap-scan every 15 minutes.&lt;br /&gt;
&lt;br /&gt;
=== Deploy services via TOR with Tortle ===&lt;br /&gt;
==== Hidden Service ====&lt;br /&gt;
Onion Host sets up a hidden service inside the TOR network. By default it is a TORShell (SSH within TOR).&lt;br /&gt;
==== Proxy &amp;amp; Gateway configuration ====&lt;br /&gt;
TORGateway, if enabled, automatically and conveniently tunnels ALL eth0 traffic through TOR Transparent Proxy. TOR Proxy is just the regular SOCKS proxy through TOR.&lt;br /&gt;
==== Bridge configurtation ====&lt;br /&gt;
Bridges can be used to avoid blocking of the standard tor relays.&lt;br /&gt;
==== HTTP Proxy configuration ====&lt;br /&gt;
HTTP Proxy can be configured to control internet access.&lt;br /&gt;
==== HTTPS Proxy configuration ====&lt;br /&gt;
HTTPS Proxy can be configured to control internet access.&lt;br /&gt;
==== Firewall configuration ====&lt;br /&gt;
You can configure a firewall that restricts access to serveral ports.&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[LAN Turtle]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* https://docs.hak5.org/hc/en-us/categories/360000979313-LAN-Turtle&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;own creation&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:LANTurtleAutoSSH.png&amp;diff=10827</id>
		<title>File:LANTurtleAutoSSH.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:LANTurtleAutoSSH.png&amp;diff=10827"/>
		<updated>2023-01-07T23:46:11Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10826</id>
		<title>Hak5 LAN Turtle</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_LAN_Turtle&amp;diff=10826"/>
		<updated>2023-01-07T23:41:34Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
[[File:LANTurtle.jpg |thumb|right|400px||LAN Turtle and Field Guide &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
The LAN turtle is a tool for penetration testers and system administrators disguised as a simple USB Ethernet adapter. It provides possibilities to perform remote access, man-in-the-middle and information gathering attacks. These functions are provided by the turtle modules which are preinstalled on the LAN turtle. The modules are based on the OpenWRT platform which allow users to add customized modules. The turtle itself is covert by a generic USB to Ethernet adapter and can therefore be placed unnoticed in IT infrastructures.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Setting up the LAN Turtle ===&lt;br /&gt;
&lt;br /&gt;
# Plug the LAN turtle into one of the USB ports of your computer.&lt;br /&gt;
# Your computer will get an 172.16.84.x address as soon as the startup sequence of the turtle finished. If not, then you have to statically configure an IP out of the 172.16.84.0/24 range.&lt;br /&gt;
# Connect to the turtle with &amp;lt;code&amp;gt;ssh root@172.16.84.1&amp;lt;/code&amp;gt; and enter the password &amp;lt;code&amp;gt;elvisLab&amp;lt;/code&amp;gt; (default password after factory reset is &amp;lt;code&amp;gt;sh3llz&amp;lt;/code&amp;gt;)&lt;br /&gt;
# The simplistic graphical shell interface will prompt you to change the password but the old one is also allowed.&lt;br /&gt;
# The LAN turtle can be configured and modules can be installed within the interface. &lt;br /&gt;
# If you end the interface you will be greeted with an normal Linux shell but you can open it again with the &amp;lt;code&amp;gt;turtle&amp;lt;/code&amp;gt; command&lt;br /&gt;
&lt;br /&gt;
=== Updating firmware (optional) ===&lt;br /&gt;
To ensure the best performance and compatability you should update the firmware regularly. This requires internet connection.&lt;br /&gt;
&lt;br /&gt;
# Select &amp;lt;code&amp;gt;Config&amp;lt;/code&amp;gt; in the Main Menu and press select.&lt;br /&gt;
# Go to &amp;lt;code&amp;gt;Check for updates&amp;lt;/code&amp;gt; and press select to start the update process.&lt;br /&gt;
# Wait till the update finishes.&lt;br /&gt;
&lt;br /&gt;
=== Factory Reset (optional)===&lt;br /&gt;
In the extreme case that a LAN Turtle has become permanently inaccessible or inoperative, there is a quick method for recovery using a special web interface.&lt;br /&gt;
# Download the latest LAN Turtle factory image from the [https://downloads.hak5.org/ official download center]. Note: Choose the factory recovery image.&lt;br /&gt;
# Open the LAN Turtle carefully. There are 2 screws under the sticker.&lt;br /&gt;
# Now you need to find the reset button/jumper contact. You can find a video on how to locate [https://www.youtube.com/watch?v=ubNin_79wxE here].&lt;br /&gt;
# Hold down the button/jumper while you&#039;re plugging the LAN Turtle in your PC and keep holding it for 5 more seconds.&lt;br /&gt;
# Go to http://192.168.1.1 for the firmware web recovery tool and upload the image to the LAN Turtle.&lt;br /&gt;
# Wait 5-10 minutes for the recovery to finish, the LAN Turtle will indicate it with a special LED blink pattern. Watch the video for the LED Pattern to know when the recovery has finished.&lt;br /&gt;
&lt;br /&gt;
=== Using the turtle modules ===&lt;br /&gt;
&lt;br /&gt;
The LAN turtle comes packed with pre-installed tools. Furthermore it is possible to program your own or download them from the internet and configure them with the module manager as well.&lt;br /&gt;
&lt;br /&gt;
[[File:LANTurtleModules.jpg|400px||LAN Turtle configuration shell interface]] &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Manually download turtle modules ====&lt;br /&gt;
If the module manager doesn&#039;t work you need to manually download turtle modules. You can do that in the console of the lan turtle, just exit the main menu.&lt;br /&gt;
You can download modules from the [https://github.com/hak5/lanturtle-modules/tree/gh-pages/modules official hak5 github].&lt;br /&gt;
&lt;br /&gt;
# Change directory to &amp;lt;code&amp;gt;/etc/turtle/modules&amp;lt;/code&amp;gt;&lt;br /&gt;
# Download modules with &amp;lt;code&amp;gt;wget &amp;lt;link&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Make the file an executeable &amp;lt;code&amp;gt;chmod +x &amp;lt;file&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== AutoSSH ====&lt;br /&gt;
&lt;br /&gt;
AutoSSH is a service which provides persistent SSH connections. When the LAN-Turtle starts up or if an SSH session drops, it will be quickly re-established by AutoSSH. This service is typically used to provide a convenient and persistent reverse shell into the LAN Turtle on the standard SSH port 22 - though it may be configured with any standard SSH parameters to forward any arbitrary port.&lt;br /&gt;
*&amp;lt;code&amp;gt;User@Host&amp;lt;/code&amp;gt; - The username and hostname (DNS or IP) separated by @ for which to establish the SSH connection.&lt;br /&gt;
*&amp;lt;code&amp;gt;Port&amp;lt;/code&amp;gt; - The port number from which the remote server will bind.&lt;br /&gt;
*&amp;lt;code&amp;gt;Remote Port&amp;lt;/code&amp;gt; - The port number to which the SSH tunnel will bind on the remote machine.&lt;br /&gt;
*&amp;lt;code&amp;gt;Local Port&amp;lt;/code&amp;gt; - The port number to which the SSH Tunnel will terminate on the LAN Turtle.&lt;br /&gt;
&lt;br /&gt;
Example: Per the defaults, the remote server will bind its local port 2222 back to the LAN Turtle port 22. In this scenario one may establish a persistent connection to their LAN Turtle from this reverse shell by first connecting to the public server, and then from there establishing an SSH connection to port 2222.&lt;br /&gt;
&lt;br /&gt;
==== Clomac ====&lt;br /&gt;
Clomac clones the Client&#039;s MAC address into the WAN interface.&lt;br /&gt;
&lt;br /&gt;
==== Cron ====&lt;br /&gt;
Cron is a job scheduler which can be used to start and stop modules at specific times or regular intervals using the &#039;start&#039; and &#039;stop&#039; commands.&lt;br /&gt;
&lt;br /&gt;
==== DDNSC - Dynamic Domain Name Service Client ====&lt;br /&gt;
This service provides automatic Dynamic Domain Name updates.&lt;br /&gt;
&lt;br /&gt;
==== DNSSpoof ====&lt;br /&gt;
DNSSpoof forges replies to arbitrary DNS address / pointer queries on the LAN. This is useful in bypassing hostname-based access controls, or in implementing a variety of man-in-the-middle attacks. For example, the IP address returned for a client lookup of the domain \&amp;quot;example.com\&amp;quot; can be replaced with that of the LAN Turtle itself, or a 3rd party server. In this scenario, the computer connected to the Internet through the LAN Turtle attempting to browse to this domain may be redirected to the spoofed IP.&lt;br /&gt;
&lt;br /&gt;
==== DNSMasq-Spoof ====&lt;br /&gt;
The DNSMasq-Spoof works similar to the DNSSpoof module but uses DNSMasq instead of Dsniff tools.&lt;br /&gt;
&lt;br /&gt;
==== Keymanager ====&lt;br /&gt;
With this tool you can create RSA keypairs and copy them to the public server. This is required in order to properly configure AutoSSH.&lt;br /&gt;
&lt;br /&gt;
==== Meterpreter ====&lt;br /&gt;
This module deploys an persistent shell to the Metasploit Framework of an other Machine.&lt;br /&gt;
&lt;br /&gt;
==== NetCat Reverse Shell ====&lt;br /&gt;
The netcat reverse shell provides you with remote access to the lan turtle. Even though it is not to be considered as persistent per default, its reliability can be increased with simple bash scripts on the server side.&lt;br /&gt;
&lt;br /&gt;
==== Nmap-Scan ====&lt;br /&gt;
This module uses &amp;lt;code&amp;gt;nmap&amp;lt;/code&amp;gt; for discovering running devices and their port of the current LAN network. The user is able to specify a target network range to scan, choose from different scan profiles and specify the directory to write the log file to.&lt;br /&gt;
&lt;br /&gt;
==== OpenVPN ====&lt;br /&gt;
OpenVPN enables remote access the LAN Turtle and optionally the network on which it resides. It allows to send the captured data to your operating network.&lt;br /&gt;
&lt;br /&gt;
==== QuickCreds ====&lt;br /&gt;
This module is used to retrieve login credentials from locked windows machines. The credentials are saved to &amp;lt;code&amp;gt;/root/loot&amp;lt;/code&amp;gt;. The LAN turtle LED blinks while QuickCreds is running and lights solid when its done. Versions of the LAN turtle that do not support an SD card are not able to install it properly as it requires more space.+&lt;br /&gt;
&lt;br /&gt;
==== Iodine ====&lt;br /&gt;
Establishes a DNS tunnel outbound to a server and domain name using iodine.&lt;br /&gt;
&lt;br /&gt;
==== Responder ====&lt;br /&gt;
Responder is a LLMNR, NBT-NS and MDNS posioner. It answers to specific Name Service queries based on ther name suffix. By default, it only answers to File Server Service requests for SMB. It aims to be stealthier on the network and ensure that legitimate NBT-NS behavior is not broken with.&lt;br /&gt;
&lt;br /&gt;
==== Script2Email ====&lt;br /&gt;
This module sends the output of a script as an email to a specified address. To do so, it uses SMTP and requires a mail account.&lt;br /&gt;
&lt;br /&gt;
==== Script2Http ====&lt;br /&gt;
Sens the output of a script as HTTP post to a specified URL.&lt;br /&gt;
&lt;br /&gt;
==== SSHFS ====&lt;br /&gt;
SSHFS (Secure SHell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used.&lt;br /&gt;
&lt;br /&gt;
==== Tortle ====&lt;br /&gt;
Tortle makes the turtle act as an TOR Gateway. It enables you to setup several services.&lt;br /&gt;
&lt;br /&gt;
==== uPnP-Portfwd ====&lt;br /&gt;
This service provides automatic port forwarding when connected to some uPnP enabled routers. This way it is able to provide a persistend direct shell from the outside to the LAN turtle. This won&#039;t work in many cases but is useful in cases it does.&lt;br /&gt;
&lt;br /&gt;
==== Uptime ====&lt;br /&gt;
Displays the uptime of the LAN Turtle as well as the load average.&lt;br /&gt;
&lt;br /&gt;
==== URLSnarf ====&lt;br /&gt;
URLSnarf allows you to capture which websites were accessed by the plugged in computer. URLSnarf only works with HTTP webpages which are hard to find today. Even though it is displayed as downloadable via the modulemanager, it is depricated in Turtle Shell 6.2.&lt;br /&gt;
&lt;br /&gt;
== Use Cases==&lt;br /&gt;
&lt;br /&gt;
The LAN turtle can be deployed in various use cases, which can be divided into four categories:&lt;br /&gt;
* remote access attacks with AutoSSH or OpenVPN or NetCat Reverse Shell&lt;br /&gt;
* man-in-the-middle attacks with URLSnarf or DNSSpoof&lt;br /&gt;
* information gathering with Nmap-Scan&lt;br /&gt;
* deploy service with via TOR-network&lt;br /&gt;
&lt;br /&gt;
Remote access attacks are used to gain access to a private network from a remote place in order to start further attacks from the inside network. This makes it a lot more easier because the attack itself does not have to bypass a router or firewall. All the attacker needs is the pre-configured LAN turtle inside the network and a remote server on the internet. To perform a remote access, the LAN turtle builds up a tunnel to the remote server so the firewall cannot capture the traffic. Finally the attacker can access the LAN turtle through the tunnel from the remote server. This attack can be performed with the modules AutoSSH or OpenVPN.&lt;br /&gt;
&lt;br /&gt;
The LAN turtle also allows man-in-the-middle attacks, where the turtle can intercept the communication between two parties. To perform such an attack, the LAN turtle must be connected to an USB port of the victim host and to a network cable which connects the host to the internal LAN. Now the whole traffic of the victim host goes over the LAN turtle and can be logged or altered. An attacker can use URLSnarf or DNSSpoof to perform such an attack.&lt;br /&gt;
&lt;br /&gt;
The third use case is information gathering. The aim of this attack is to receive information about the topology, the hosts and the protocols of an internal network in order to perform further attacks. This can be done with the modules like Nmap-Scan.&lt;br /&gt;
&lt;br /&gt;
The following step-by-step instructions will outline how to configure the LAN turtle in order to perform the different types of attacks.&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with AutoSSH ===&lt;br /&gt;
In this example consider an internal network which is secured by a firewall and a server in the internet controlled by the attacker. The server is using 10.0.0.41 and a user turtle was created on it in order to simplify depictions.&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Generate RSA keypairs with Keymanager ====&lt;br /&gt;
[[File:SSH_Key.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open the Keymanager module and select &amp;lt;code&amp;gt;generate_key&amp;lt;/code&amp;gt;&lt;br /&gt;
# Select &amp;lt;code&amp;gt;copy_key&amp;lt;/code&amp;gt; and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; remote SSH server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; remote SSH server port (typically 22)&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; user on the remote SSH server&lt;br /&gt;
# A prompt will ask wether or not to confirm the fingerprint&lt;br /&gt;
# The password for the user on the host is requestes&lt;br /&gt;
# If no error occurs, the exchange was succesful&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure AutoSSH ====&lt;br /&gt;
[[File:SSH_config.png |thumb|right|400px||&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
# Open AutoSSH and insert the following parameters:&lt;br /&gt;
#* &amp;lt;code&amp;gt;user@host&amp;lt;/code&amp;gt; user and host to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; the port on the Host used to establish the SSH tunnel&lt;br /&gt;
#* &amp;lt;code&amp;gt;remote port&amp;lt;/code&amp;gt; remote port to bind through the SSH tunnel (default 2222)&lt;br /&gt;
#* &amp;lt;code&amp;gt;local port&amp;lt;/code&amp;gt; local port to bind tunnel (default 22)&lt;br /&gt;
# Submit the changes and start AutoSSH (or enable it for autostart)&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Access LAN turtle from remote server ====&lt;br /&gt;
# Connect to the remote server&lt;br /&gt;
# Connect locally to the remote port of the AutoSSH configuration by &amp;lt;code&amp;gt;ssh root@localhost:2222&amp;lt;/code&amp;gt;&lt;br /&gt;
# You are now on the LAN turtle, continue with further attacks&lt;br /&gt;
&lt;br /&gt;
=== Remote access attacks with NetCat Reverse Shell ===&lt;br /&gt;
[[File:NC_output.png |thumb|right|400px||Servers perspective of the NC reverse shell &amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
==== Step 1: Start NetCat server on your host machine ====&lt;br /&gt;
* First you need to setup a netcat connection on your host machine that listens to incoming connections. To start NetCat server execute &amp;lt;code&amp;gt;nc -l 8080&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Configure NetCat Reverse Shell ====&lt;br /&gt;
# Open the NetCat Reverse Shell module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Enter your host machines ip address and the port of the nc server. In our case 4444.&lt;br /&gt;
# Start the module on the LAN Turtle.&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Exploit ====&lt;br /&gt;
When the reverse shell connected to your host machine you can execute commands on the lan turtle over the reverse shell.&lt;br /&gt;
&lt;br /&gt;
=== Gather credentials of locked machines using QuickCreds ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Install an SD Card to an applicable Lan Turtle ====&lt;br /&gt;
# Carefully open the Lan Turtle Shell as described above, also mind the two screws hidden under the sticker to open it fully&lt;br /&gt;
# Turn the Lan Turtle around and fit an SD Card into the SD Card Slot&lt;br /&gt;
# Start the Lan Turtle and select the &amp;quot;Format SD Card&amp;quot; option. This is important to avoid any filesystem incompatibilities&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Install QuickCreds module ====&lt;br /&gt;
# Open the Module Manager, select QuickCreds and install it&lt;br /&gt;
# Go back to the installed modules and open QuickCreds&lt;br /&gt;
# Select configure and wait for a minute while QuickCreds installs all the necessary packages&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Arm QuickCreds ====&lt;br /&gt;
# Open QuickCreds and click &amp;quot;ENABLE&amp;quot;, this will start QuickCreds when the Lan Turtle is plugged in&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Exploit ====&lt;br /&gt;
# Plug the armed Lan Turtle into any locked Windows machine&lt;br /&gt;
# The amber LED will flash very quickly while the attack is running, afterwards they will slow down while the files are saved and the attacks finishes. Lastly the amber LED will flash in a slow and steady pattern to signalize everything is finished up&lt;br /&gt;
# Remove the Lan Turtle&lt;br /&gt;
&lt;br /&gt;
==== Step 5: Gather hashes ====&lt;br /&gt;
# Plug the Lan Turtle into your machine again and connect via SSH&lt;br /&gt;
# Navigate to &amp;quot;/root/loot/quickcreds&amp;quot;&lt;br /&gt;
# Every folder &amp;quot;Creds1&amp;quot; ... &amp;quot;CredsN&amp;quot; contains the log of QuickCreds attacks, aswell as the gathered NTLM hashes, if the attack was successful&lt;br /&gt;
# Windows devices that use a connected Microsoft Account are currently no susceptible for QuickCreds attacks &lt;br /&gt;
&lt;br /&gt;
=== Man-in-the-middle attacks with DNSMasq-Spoof ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure the spoofhost file ====&lt;br /&gt;
# Open the DNSMasq-Spoof module and go to &amp;quot;Configure&amp;quot;&lt;br /&gt;
# Add the DNS entries that the LAN turtle should spoof by entering the host IP address and the spoofed DNS name&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Set up your server ====&lt;br /&gt;
#Create an index.html file by using the command &amp;lt;code&amp;gt;nano index.html&amp;lt;/code&amp;gt; and fill it with the content you want to display to the target&lt;br /&gt;
#Set up http. An easy way to do so is by issuing &amp;lt;code&amp;gt;sudo python3 -m http.server 8080&amp;lt;/code&amp;gt; on your server&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Place the LAN turtle in the network ====&lt;br /&gt;
After configuring the spoofed hosts, place the LAN turtle on the victim computer by simply plugging the turtle into an USB port of the computer and the network cable into the LAN turtle. When trying to access one of the spoofed DNS names, the target instead opens your pre-configured html file.&lt;br /&gt;
&lt;br /&gt;
=== Information Gathering with nmap ===&lt;br /&gt;
As an example project we use the following modules:&lt;br /&gt;
* Cron to periodically start the attack&lt;br /&gt;
* SSHFS to save the caputred information in a file on the remote server&lt;br /&gt;
* Nmap-Scan to sniff the configuration and devices of the network&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Configure SSHFS ====&lt;br /&gt;
# Access the SSHFS module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt; IP address of the remote server&lt;br /&gt;
#* &amp;lt;code&amp;gt;port&amp;lt;/code&amp;gt; 22&lt;br /&gt;
#* &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; the username&lt;br /&gt;
#* &amp;lt;code&amp;gt;path&amp;lt;/code&amp;gt; This can be left blank if you want to use the users home directory&lt;br /&gt;
# Start SSHFS and enable it for start up&lt;br /&gt;
&lt;br /&gt;
==== Step 2: nmap-scan ====&lt;br /&gt;
# Access the nmap-scan module via the module manager&lt;br /&gt;
# Go to the configure tab and insert&lt;br /&gt;
#* target: &amp;lt;code&amp;gt;192.168.0.1-255&amp;lt;/code&amp;gt; (This may differ for our network)&lt;br /&gt;
#* logflie: &amp;lt;code&amp;gt;/sshfs/&amp;lt;/code&amp;gt;&lt;br /&gt;
#* use the desired attack profile&lt;br /&gt;
#* save the configuration with execute&lt;br /&gt;
&lt;br /&gt;
==== Step 3: cron job ====&lt;br /&gt;
# add in the con config &amp;lt;code&amp;gt;*/15 * * * * start nmap-scan&amp;lt;/code&amp;gt;&lt;br /&gt;
This line start an nmap-scan every 15 minutes.&lt;br /&gt;
&lt;br /&gt;
=== Deploy services via TOR with Tortle ===&lt;br /&gt;
==== Hidden Service ====&lt;br /&gt;
Onion Host sets up a hidden service inside the TOR network. By default it is a TORShell (SSH within TOR).&lt;br /&gt;
==== Proxy &amp;amp; Gateway configuration ====&lt;br /&gt;
TORGateway, if enabled, automatically and conveniently tunnels ALL eth0 traffic through TOR Transparent Proxy. TOR Proxy is just the regular SOCKS proxy through TOR.&lt;br /&gt;
==== Bridge configurtation ====&lt;br /&gt;
Bridges can be used to avoid blocking of the standard tor relays.&lt;br /&gt;
==== HTTP Proxy configuration ====&lt;br /&gt;
HTTP Proxy can be configured to control internet access.&lt;br /&gt;
==== HTTPS Proxy configuration ====&lt;br /&gt;
HTTPS Proxy can be configured to control internet access.&lt;br /&gt;
==== Firewall configuration ====&lt;br /&gt;
You can configure a firewall that restricts access to serveral ports.&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[LAN Turtle]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* https://docs.hak5.org/hc/en-us/categories/360000979313-LAN-Turtle&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;own&amp;quot;&amp;gt;own creation&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7608</id>
		<title>Information Gathering Tools</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7608"/>
		<updated>2021-06-24T08:33:07Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This is a draft. Comparing various available pre-installed information gathering tools in Kali and comparing differences to ParrotOS. This document is &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; a documentation of the tools, it is merely a comparison and practical evaluation of the tools for an average security specialist or a security newbie wanting to start using the tools.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Operating system: Kali Linux 2021.1 amd64, Parrot Security 4.10 amd64&lt;br /&gt;
Disclaimer: all possible examples and tests done have been done in VMWare in a Kali Linux 2021.1 and the commands are up-to-date as of 21st June 2021.&lt;br /&gt;
&lt;br /&gt;
== Tools==&lt;br /&gt;
&lt;br /&gt;
=== Nmap ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Network &amp;amp; Port Scanners&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Nmap is known to be a very powerful tool for information gathering and vulnerability scanning. It offers loads of options, offering for example for host discovery, scans (TCP, UDP, IP...), service/version detection, OS detection, firewalls/IDS evasion and spoofing, script scanning etc. Since this is not meant to be a [https://nmap.org/book/man.html full documentation] of the tools, but rather an evaluation overview, compared to the other tools in this category, Nmap is the one main tool that most of the other secondary tools are using and it is very powerful. See the following tools for some comparison and Nmap examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;If your goal is to perform a network scan to determine alive hosts, open ports, used systems on ports or used operation systems on the hosts, this would be the way to go. It is fast and efficient (speed depends on the range of hosts and ports scanned though). The other tools that offer these results are using Nmap anyway, for example the way DMitry or Legion use it.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://nmap.org/book/man.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spiderfoot ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is a reconnaissance framework that uses many modules for information gathering, working on the OSINT principle. You can access a GUI by starting the framework on a port on localhost and accessing that address via web browser once it starts:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;$ spiderfoot -l 127.0.0.1:5001&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can then set up a new scan, where you would give the program a target: this can be a domain/sub-domain name, IPv4 or IPv6 address, hostname, subnet, ASN, e-mail address, phone number, a person&#039;s actual name or username. This gives a really wide spectrum on options. The full scan is demonstrated below.&lt;br /&gt;
 scan www.fh-campuswien.ac.at for a full scan, where you &amp;quot;get anything and everything about the target&amp;quot;:&lt;br /&gt;
Execution takes &amp;lt;b&amp;gt;many days&amp;lt;/b&amp;gt;, depending on the size of the target and the information available on the internet to that target. This specific inquiry took several days to complete and collect all information. Some parts of the information is displayed below, however the results were much more extensive:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Spiderscan.png|thumb|none|800px|Results of Spiderfoot Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is a very good and very powerful reconnaissance framework. It really collects &amp;quot;anything and everything&amp;quot; about a target, as it states. The scans take a very long time, but the amount of information connected is priceless, it really searches through the whole www to provide any and every connection to the target. Based on the very user friendly and well-arranged GUI it is quite good for beginners too, however the amount of data delivered is useful only for professional security analysts who know what to do with the results, how to navigate them and how to interpret them.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://www.spiderfoot.net/documentation/ tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Legion ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Legion is a GUI tool, a network penetration testing framework, that offers many options. It automatically detects CVEs and provides nmap, Vulners, whataweb, webslayer, sslyzer, SMBenum, dirbuster, nikto, Hydra and other additional scripts. Its execution takes up to a couple of minutes. A demonstration: &lt;br /&gt;
 scan www.fh-campuswien.ac.at&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Legion scan.png|thumb|none|600px|Results of Legion Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
No CVEs have been found. &amp;lt;br&amp;gt;Below is a comparison with the Metasploitable2 machine that can be found in the same subnet, so that it is clear how the vulnerabilities are shown in an actual weak system:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Meta legion.png|thumb|none|1000px|Results of Legion Scan on Metasploitable2 VM]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
It is safe to say that it is a very powerful and useful tool, also very user friendly and quite fast. Maybe not the best for domains in the internet because it won&#039;t offer much more information than nmap and whois lookup, but when you look at the metasploitable output, so a scan of a server, you can see how much information is shown. The implementation of Hydra also gets you the cracked passwords in the vulnerabilities which is very useful.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall definitely a recommended tool, nice GUI, works quickly and efficiently and is very well arranged and easy to navigate.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://govanguard.com/legion/#about-legion official Legion Framework website].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== DMitry===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
DMitry is a CLI tool to gather information about a host - possible subdomains, uptime information, tcp port scan, email addresses, whois lookups etc. It is mostly used to reveal information that exists through search engines about the owner or host of a web page, i.e. for social engineering attacks.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
When using the portscan option, the results show less open ports than doing that same TCP scan with nmap. &lt;br /&gt;
&amp;lt;br&amp;gt; DMitry:&lt;br /&gt;
 HostIP:192.168.0.130                                                                                                                                                                    &lt;br /&gt;
 HostName:                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
 Gathered TCP Port information for 192.168.0.130                                                                                                                                                                                                                                                                               &lt;br /&gt;
 Port           State&lt;br /&gt;
 23/tcp          open&lt;br /&gt;
 Portscan Finished: Scanned 150 ports, 148 ports were in state closed&lt;br /&gt;
Nmap:&lt;br /&gt;
 Nmap scan report for 192.168.0.130&lt;br /&gt;
 Host is up (0.20s latency).&lt;br /&gt;
 Not shown: 996 closed ports&lt;br /&gt;
 PORT     STATE SERVICE&lt;br /&gt;
 23/tcp   open  telnet&lt;br /&gt;
 554/tcp  open  rtsp&lt;br /&gt;
 843/tcp  open  unknown&lt;br /&gt;
 5001/tcp open  commplex-link&lt;br /&gt;
 MAC Address: 7C:DD:90:AF:4E:7D (Shenzhen Ogemray Technology)&lt;br /&gt;
 Nmap done: 1 IP address (1 host up) scanned in 2.33 seconds&lt;br /&gt;
&lt;br /&gt;
To find out information about a domain, you need either the IP or the domain same. &lt;br /&gt;
&amp;lt;br&amp;gt;Whois lookup on the other hand gets you some nice useful results. Below is an example of using &amp;lt;code&amp;gt;dmitry -w www.fh-campuswien.ac.at&amp;lt;/code&amp;gt; on the college website of FH Campus Wien www.fh-campuswien.ac.at, and it just goes to show that it is exactly the same output as if you were to type &amp;lt;code&amp;gt;whois fh-campuswien.ac.at&amp;lt;/code&amp;gt;&lt;br /&gt;
 HostIP:91.213.77.62&lt;br /&gt;
 HostName:www.fh-campuswien.ac.at&lt;br /&gt;
 Gathered Inic-whois information for fh-campuswien.ac.at&lt;br /&gt;
 ---------------------------------&lt;br /&gt;
 domain:         fh-campuswien.ac.at&lt;br /&gt;
 registrar:      &lt;br /&gt;
 registrant:     FCW1942152-NICAT&lt;br /&gt;
 admin-c:        &amp;lt;data not disclosed&amp;gt;&lt;br /&gt;
 tech-c:         NLTU11579014-NICAT&lt;br /&gt;
 nserver:        ns.nextlayer.at&lt;br /&gt;
 remarks:        81.16.150.30&lt;br /&gt;
 nserver:        ns2.nextlayer.at&lt;br /&gt;
 remarks:        81.16.151.30&lt;br /&gt;
 changed:        20171003 19:16:08&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     &lt;br /&gt;
 organization:   fh campus wien&lt;br /&gt;
 street address: Favoritenstrasse 226&lt;br /&gt;
 postal code:    A-1100&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43160668771000&lt;br /&gt;
 fax-no:         +43160668771009&lt;br /&gt;
 e-mail:         office@fh-campuswien.ac.at&lt;br /&gt;
 nic-hdl:        FCW1942152-NICAT&lt;br /&gt;
 changed:        20100323 17:12:46&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     Hostmaster Hostmaster&lt;br /&gt;
 organization:   next layer Telekommunikationsdienstleistungs- und BeratungsGmbH&lt;br /&gt;
 street address: Mariahilfer Guertel 37- 7&lt;br /&gt;
 postal code:    1150&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43517649&lt;br /&gt;
 e-mail:         hostmaster@nextlayer.at&lt;br /&gt;
 nic-hdl:        NLTU11579014-NICAT&lt;br /&gt;
 changed:        20170929 13:17:54&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall a nice tool, useful for beginners who don&#039;t have experience with the basic tools yet. However, to an experienced IT Security specialist, the tools that DMitry is based on, like nmap and whois would be the better choice to use here, since they just offer you the same output and nmap and whois itself offer much more options. One drawback however is that you need to install whois separately, whilst DMitry will be in the preinstalled set of tools. When it comes to portscan, it offers pretty insufficient results in DMitry.&lt;br /&gt;
This tool is fairly outdated nowadays, although it used to be very good a few years ago. Now there are better alternatives.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/dmitry tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recon-ng ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
On the first glance, it looks very similar to Metasploit. You can start it via the command line and enter an environment in the shell. It is a python web reconnaissance framework designed specifically for web-based information gathering, and is, unlike Metasploit, not an exploitation framework.&amp;lt;br&amp;gt;&lt;br /&gt;
To navigate it, always utilize the help flag to view possible options. At first, you won&#039;t have any modules enables/installed, which is kind of confusing and one really has to look into the documentation first before using it because the shell environment isn&#039;t that intuitive.&amp;lt;br&amp;gt;&lt;br /&gt;
To view available modules, use &amp;lt;code&amp;gt;show modules&amp;lt;/code&amp;gt;. When you want to start now, create a workspace first where your retrieved data will be saved:&lt;br /&gt;
 [recon-ng][default] &amp;gt; workspaces create test&lt;br /&gt;
Now install the module you would like to use, we will use hackertarget to get subdomains. You can use &amp;lt;code&amp;gt;marketplace search hackertarget&amp;lt;/code&amp;gt; to view the module and install it by:&lt;br /&gt;
 [recon-ng][test] &amp;gt; marketplace install hackertarget &lt;br /&gt;
   [*] Module installed: recon/domains-hosts/hackertarget&lt;br /&gt;
   [*] Reloading modules...&lt;br /&gt;
Now we will load the module and set the source of input, which we want to retrieve data from. With the command &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; you can view the current source. Execute the module with &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;:&lt;br /&gt;
 [recon-ng][test] &amp;gt; modules load hackertarget&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  options set SOURCE tesla.com&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  run&lt;br /&gt;
This will get you 27 found hosts, after the &amp;lt;code&amp;gt;show hosts&amp;lt;/code&amp;gt; command you can review them in an arranged list:&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | rowid |            host           |   ip_address   | region | country | latitude | longitude | notes |    module    |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | 1     | tesla.com                 | 199.66.11.62   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 2     | o7.ptr6980.tesla.com      | 149.72.144.42  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 3     | vpn1.tesla.com            | 8.45.124.215   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 4     | model3.tesla.com          | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 5     | o3.ptr1444.tesla.com      | 149.72.152.236 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 6     | o2.ptr556.tesla.com       | 149.72.134.64  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 7     | o5.ptr8466.tesla.com      | 149.72.172.170 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 8     | o6.ptr9437.tesla.com      | 168.245.123.10 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 9     | o4.ptr1867.tesla.com      | 149.72.163.58  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 10    | mobile.tesla.com          | 209.133.79.82  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 11    | marketing.tesla.com       | 13.111.47.196  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 12    | o1.ptr2410.link.tesla.com | 149.72.247.52  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 13    | referral.tesla.com        | 72.10.32.90    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 14    | mta2.email.tesla.com      | 13.111.4.231   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 15    | mta.email.tesla.com       | 13.111.14.190  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 16    | xmail.tesla.com           | 204.74.99.100  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 17    | comparison.tesla.com      | 64.125.183.133 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 18    | emails.tesla.com          | 13.111.18.27   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 19    | mta2.emails.tesla.com     | 13.111.88.1    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 20    | mta3.emails.tesla.com     | 13.111.88.2    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 21    | mta4.emails.tesla.com     | 13.111.88.52   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 22    | mta5.emails.tesla.com     | 13.111.88.53   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 23    | mta.emails.tesla.com      | 13.111.62.118  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 24    | click.emails.tesla.com    | 13.111.48.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 25    | view.emails.tesla.com     | 13.111.49.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 26    | events.tesla.com          | 13.111.47.195  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 27    | shop.eu.tesla.com         | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
Disclaimer: the used Recon-ng version here is &amp;lt;code&amp;gt;recon-ng v5.1.1&amp;lt;/code&amp;gt;, which is important to note, because countless tutorials on the internet refer to older commands which no longer work, so you kind of really have to play around with it to see which modules work (because some don&#039;t) and what commands are available by always utilizing the &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; flag along the way.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A powerful framework that offers many modules to perform reconnaissance on web-hosts. Personally would not recommend to newbies, simply because it is not that easy and intuitive to navigate, some modules are not working and the documentation is pretty lacking, with internet tutorials often showing old versions of commands.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the official [https://tools.kali.org/information-gathering/recon-ng documentation] or Github, however the documentation in this case is quite lacking.&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Maltego ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Maltego is a graphical footprinting tool with quite some extensions available. With the preinstalled extensions you can allready footprint any domain and view it as a tree. where this tree is formatted according to the amount discovered and may change to a mesh view, if it would get too crowded.&lt;br /&gt;
&lt;br /&gt;
[[File:Elvis.science.png|thumb|none|700px|Example footprinting of elvis.science]]&lt;br /&gt;
&lt;br /&gt;
There is allready a page in this wiki for Maltego about how to create network trees yourself step by step and without the use of extensions: [[Maltego]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;An extensive tool for footprinting that can look intimidating at first glance, but will help a lot gathering and saving information in a graphical way. It&#039;s easy to learn, offers quick success on learning and there are countless instuctions online on how to use Maltego for any level.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the official [https://www.maltego.com/ homepage] or an online instruction of your choice.&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Netdiscover ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Route Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is another reconnaissance tool that can be used for host discovery on wireless and switched networks. You can scan your subnet at home or at work, wherever your device is connected. It works through ARP requests and can detect hosts either by actively sending requests, or if you set it to passive mode, only by sniffing.&amp;lt;br&amp;gt;&lt;br /&gt;
If Nmap is too much for a given moment and you just want to see quickly who is in your network, this is the way to go. Below is a comparison of Netdiscover used on a local subnet, a very well-arranged output, and nmap, which in some situations offers &amp;lt;i&amp;gt;too much&amp;lt;/i&amp;gt;:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ netdiscover -r 192.168.0.0/24&amp;lt;/b&amp;gt;&lt;br /&gt;
 20 Captured ARP Req/Rep packets, from 16 hosts.   Total size: 1200                                                                                                                      &lt;br /&gt;
 _____________________________________________________________________________&lt;br /&gt;
   IP            At MAC Address     Count     Len  MAC Vendor / Hostname      &lt;br /&gt;
 -----------------------------------------------------------------------------&lt;br /&gt;
 192.168.0.1     00:xx:xx:xx:xx:c2      2     120  Cisco Systems, Inc                                                                                                                    &lt;br /&gt;
 192.168.0.9     00:xx:xx:xx:xx:a9      1      60  Weinzierl Engineering GmbH                                                                                                            &lt;br /&gt;
 192.168.0.10    50:xx:xx:xx:xx:c7      1      60  Loxone Electronics GmbH                                                                                                               &lt;br /&gt;
 192.168.0.80    54:xx:xx:xx:xx:a0      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.81    18:xx:xx:xx:xx:50      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.82    54:xx:xx:xx:xx:ff      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.83    28:xx:xx:xx:xx:27      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.84    18:xx:xx:xx:xx:d7      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.101   48:xx:xx:xx:xx:2e      1      60  ZENNIO AVANCE Y TECNOLOGIA, S.L.                                                                                                      &lt;br /&gt;
 192.168.0.102   00:xx:xx:xx:xx:bb      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.109   fc:xx:xx:xx:xx:f9      4     240  Ubiquiti Networks Inc.                                                                                                                &lt;br /&gt;
 192.168.0.112   04:xx:xx:xx:xx:a5      1      60  ASUSTek COMPUTER INC.                                                                                                                 &lt;br /&gt;
 192.168.0.132   00:xx:xx:xx:xx:d4      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.149   c4:xx:xx:xx:xx:48      1      60  Hewlett Packard                                                                                                                       &lt;br /&gt;
 192.168.0.172   8c:xx:xx:xx:xx:eb      1      60  Apple, Inc.                                                                                                                           &lt;br /&gt;
 192.168.0.195   f2:xx:xx:xx:xx:3a      1      60  Unknown vendor   &lt;br /&gt;
If you were to do this same information in Nmap, you would need to perform a host discovery scan first:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ nmap -sP 192.168.0.0/24 &amp;lt;/b&amp;gt;                                                                                                                                                        &lt;br /&gt;
 Starting Nmap 7.91 ( https://nmap.org ) at 2021-06-20 16:34 CEST&lt;br /&gt;
 Nmap scan report for 192.168.0.1    Host is up (0.0051s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.10   Host is up (0.00058s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.80   Host is up (0.00034s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.81   Host is up (0.0018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.82   Host is up (0.0017s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.83   Host is up (0.0037s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.84   Host is up (0.0019s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.101  Host is up (0.00045s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.102  Host is up (0.00018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.107  Host is up (0.00021s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.109  Host is up (0.00049s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.132  Host is up (0.00033s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.172  Host is up (0.089s latency).&lt;br /&gt;
 Nmap done: 256 IP addresses (13 hosts up) scanned in 2.42 seconds&lt;br /&gt;
Only then you can scan each alive host separately for their Hostname/OS/MAC address with &amp;lt;code&amp;gt;sudo nmap -O &amp;lt;IP address&amp;gt;&amp;lt;/code&amp;gt;. That is unless you want to wait several hours by scanning the whole subnet for their OS which I would not recommend since it takes so long. If you need a quick swipe, Nmap is possibly the inferior option here and could be used once you want to find out more about each host, their ports etc.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Definitely a useful tool for an initial scan, or in a case where you don&#039;t know what range to look for exactly, since it is very fast. If you just want to find alive hosts and their IPs in a big range, this would be a good option. Nmap however, offers alive hosts discovery as well, and if you turn portscan off, it will be much faster than Netdiscover. Netdiscover kind of connects the various options of Nmap by showing IPs, MACs and Hostnames and makes it fairly easy to use, without having to read the extensive documentation of Nmap in the hope to find the correct options to perform a simple initial scan.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://manpages.debian.org/unstable/netdiscover/netdiscover.8.en.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ike-scan ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Ike-scan is useful for VPN endpoints. To explain this a little, first we should know what IKE is. It is Internet Key Exchange protocol, which is used by IPsec. The majority of IPsec VPNs use IKE for key exchange. The Ike-scan tool is for discovering, testing and fingerprinting IPsec VPN systems. It sends IKE phase 1 packets to the target and displays the received responses. To be able to test this, we now need a target that we are certain uses IKE for key exchange. To achieve this, we will demonstrate this on an IP address found through www.shodan.io, where you need to search for the keyword &amp;quot;IKE&amp;quot; to find targets that satisfy this condition. For demonstration, we chose the IP 110.142.206.85, which should be a VPN in Melbourne, Australia.&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 110.142.206.85  Main Mode Handshake returned HDR=(CKY-R=49cc50cbfcf85509) SA=(Enc=3DES Hash=SHA1 Group=2:modp1024 Auth=PSK LifeType=Seconds LifeDuration=28800) VID=dbfb81eb5760b0788562067da102d755 VID=09002689dfd6b712 (XAUTH) VID=afcad71368a1f1c96b8696fc77570100 (Dead Peer Detection v1.0) VID=12f5f28c457168a9702d9fe274cc0100 (Cisco Unity)&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 0.356 seconds (2.81 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
This returns the main mode handshake and shows information like security associations (hash, encoding, authentication) and also vendor ID etc.&lt;br /&gt;
&amp;lt;br&amp;gt;The following scan tries to fingerprint the firewall in use and additionally to the previous output it shows the following:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan --showbackoff -v -v 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 DEBUG: pkt len=336 bytes, bandwidth=56000 bps, int=52000 us&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 ---     Sending packet #1 to host entry 1 (110.142.206.85) tmo 500000 us&lt;br /&gt;
 ---     Received packet #1 from 110.142.206.85&lt;br /&gt;
 ---     Removing host entry 1 (110.142.206.85) - Received 152 bytes&lt;br /&gt;
 IKE Backoff Patterns:                                                                                                                                                              &lt;br /&gt;
 IP Address      No.     Recv time               Delta Time                                                                                                                                &lt;br /&gt;
 110.142.206.85  1       1624204029.790995       0.000000                                                                                                                                  &lt;br /&gt;
 110.142.206.85  Implementation guess: Linksys Etherfast&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 60.426 seconds (0.02 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
There is a possibility to use the so called aggressive mode (default is Main Mode) which uses a 3-way-handshake where the VPN sends an unencrypted message to the client containing the hashed PSK. If you manage to capture the plaintext hash, you could use psk-crack to perform a brute force attack and try to recover the PSK (Pre-shared key).&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is not a very well known tool, however it can offer some valuable insights to experienced security experts and a possibility to use the recovered data in further exploitation/scanning.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ike-scan tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dnsenum ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - DNS Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is an efficient and well-performing tool for locating all DNS servers and DNS entries for a given organization. A basic demonstration on the example of &amp;lt;code&amp;gt;google.com&amp;lt;/code&amp;gt; is shown below (some entries have been replaced with ... to keep it as short as possible):&lt;br /&gt;
 $ dnsenum google.com                                                                             255 ⨯&lt;br /&gt;
 dnsenum VERSION:1.2.6&lt;br /&gt;
 -----   google.com   -----                                                                                                                                                                                       &lt;br /&gt;
 Host&#039;s addresses:                                                                                        &lt;br /&gt;
 __________________                                                                                       &lt;br /&gt;
 google.com.                              300      IN    A        216.58.201.78                           &lt;br /&gt;
 Name Servers:                                                                                            &lt;br /&gt;
 ______________                                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 ns2.google.com.                          345600   IN    A        216.239.34.10                           &lt;br /&gt;
 ns4.google.com.                          345600   IN    A        216.239.38.10&lt;br /&gt;
 ns1.google.com.                          345600   IN    A        216.239.32.10&lt;br /&gt;
 ns3.google.com.                          345600   IN    A        216.239.36.10&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Mail (MX) Servers:                                                                                       &lt;br /&gt;
 ___________________                                                                                      &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 aspmx.l.google.com.                      293      IN    A        173.194.69.27                           &lt;br /&gt;
 alt1.aspmx.l.google.com.                 293      IN    A        142.250.150.27&lt;br /&gt;
 alt2.aspmx.l.google.com.                 293      IN    A        74.125.200.27&lt;br /&gt;
 alt3.aspmx.l.google.com.                 293      IN    A        142.250.157.27&lt;br /&gt;
 alt4.aspmx.l.google.com.                 293      IN    A        173.194.202.26&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Trying Zone Transfers and getting Bind Versions:                                                         &lt;br /&gt;
 _________________________________________________                                                                                                                                                                 &lt;br /&gt;
 Trying Zone Transfer for google.com on ns1.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
 ...&lt;br /&gt;
 Trying Zone Transfer for google.com on ns4.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
                                                                                                    &lt;br /&gt;
 Brute forcing with /usr/share/dnsenum/dns.txt:                                                           &lt;br /&gt;
 _______________________________________________                                                          &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 about.google.com.                        0        IN    CNAME    www3.l.google.com.                      &lt;br /&gt;
 www3.l.google.com.                       300      IN    A        172.217.23.238&lt;br /&gt;
 accounts.google.com.                     300      IN    A        172.217.23.205&lt;br /&gt;
 admin.google.com.                        300      IN    A        172.217.23.206&lt;br /&gt;
 ads.google.com.                          300      IN    A        216.58.201.78&lt;br /&gt;
 america.google.com.                      0        IN    CNAME    www3.l.google.com.&lt;br /&gt;
 ...&lt;br /&gt;
 www.google.com.                          300      IN    A        172.217.23.196&lt;br /&gt;
 &lt;br /&gt;
 google.com class C netranges:                                                                            &lt;br /&gt;
 ______________________________                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 8.8.4.0/24                                                                                              &lt;br /&gt;
 8.8.8.0/24&lt;br /&gt;
 ...&lt;br /&gt;
 216.239.36.0/24&lt;br /&gt;
 216.239.38.0/24&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Performing reverse lookup on 4096 ip addresses:                                                          &lt;br /&gt;
 ________________________________________________                                                         &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 68.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.                         &lt;br /&gt;
 69.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 70.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 10.32.239.216.in-addr.arpa.              86400    IN    PTR      ns1.google.com.&lt;br /&gt;
 11.32.239.216.in-addr.arpa.              86400    IN    PTR      ns.google.com.&lt;br /&gt;
 15.32.239.216.in-addr.arpa.              86400    IN    PTR      time1.google.com.&lt;br /&gt;
 116.32.239.216.in-addr.arpa.             86400    IN    PTR      e2a.google.com.&lt;br /&gt;
 10.34.239.216.in-addr.arpa.              86400    IN    PTR      ns2.google.com.&lt;br /&gt;
 10.36.239.216.in-addr.arpa.              86400    IN    PTR      ns3.google.com.&lt;br /&gt;
 11.36.239.216.in-addr.arpa.              86400    IN    PTR      hedns1.google.com.&lt;br /&gt;
 10.38.239.216.in-addr.arpa.              86400    IN    PTR      ns4.google.com.&lt;br /&gt;
 &lt;br /&gt;
 11 results out of 4096 IP addresses.&lt;br /&gt;
                                                                                                          &lt;br /&gt;
 google.com ip blocks:                                                                                     &lt;br /&gt;
 ______________________                                                                                    &lt;br /&gt;
                                                                                                            &lt;br /&gt;
 64.9.224.68/31                                                                                           &lt;br /&gt;
 64.9.224.70/32&lt;br /&gt;
 216.239.32.10/31&lt;br /&gt;
 216.239.32.15/32&lt;br /&gt;
 216.239.32.116/32&lt;br /&gt;
 216.239.34.10/32&lt;br /&gt;
 216.239.36.10/31&lt;br /&gt;
 216.239.38.10/32&lt;br /&gt;
 &lt;br /&gt;
 done.&lt;br /&gt;
You can also use the --enum flag to gather whois information and to dig up subdomains.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A very convenient and useful tool for DNS information gathering on domains/servers etc. Results are also very well arranged and offer a clear overview.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://tools.kali.org/information-gathering/dnsenum tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Swaks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SMTP Scan&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This tool is for sending e-mails of all kinds. Now, compared to a regular e-mail client, here you can change the header, attachments, which server to talk to and more. It handles TLS, authentication, and pipelining.&lt;br /&gt;
&amp;lt;br&amp;gt;Since I don&#039;t have my own SMTP server available, for demonstration purposes we will use the Gmail&#039;s SMTP server:&lt;br /&gt;
 $ swaks -t example.receiver@gmail.com -s smtp.gmail.com:587 -tls -a LOGIN&lt;br /&gt;
You will then be prompted to enter Gmail credentials of an actual existing account. However, from security reasons, Gmail will probably block this login attempt, that&#039;s why using your own SMTP server would be ideal. To have a look at some more examples of changing headers and using different servers, please refer [https://github.com/jetmore/swaks/blob/v20201014.0/doc/base.pod here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This tool is known as the Swiss Army Knife for SMTP (=Swaks) and helps you with the complexity of setting up e-mail servers. You have many various possibilities of choosing a mail server and changing headers and other data, that you wouldn&#039;t have if you sent an email from a simple public mail server.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/swaks tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SSLdump ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SSL Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
SSLdump is a TLS/SSL network protocol analyzer that identifies TCP streams/connections from a specified port and interface and attempts to interpret them. Once it identifies SSL/TLS traffic, it decodes and displays the content in a readable form as text. If you provide a necessary key as well, it can decrypt the connection fully and display the exchanged application data traffic (&amp;lt;code&amp;gt;ssldump -Ad -k ~/privatekey.pem -p password -i eth0 host user123&amp;lt;/code&amp;gt;). Below is a demonstration of a basic command that listens to traffic on port 443 of interface eth0:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;b&amp;gt;$ sudo ssldump -i eth0 port 443&amp;lt;/b&amp;gt;                                                                                                                                                 &lt;br /&gt;
 New TCP connection #2: 192.168.0.102(53984) &amp;lt;-&amp;gt; edge-star-mini-shv-01-vie1.facebook.com(443)&lt;br /&gt;
 2 1  0.0096 (0.0096)  C&amp;gt;S  Handshake&lt;br /&gt;
      ClientHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        resume [32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipher suites&lt;br /&gt;
        TLS_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_3DES_EDE_CBC_SHA&lt;br /&gt;
        compression methods&lt;br /&gt;
                  NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          server_name&lt;br /&gt;
              host_name: www.facebook.com&lt;br /&gt;
          extended_master_secret&lt;br /&gt;
          renegotiation_info&lt;br /&gt;
          supported_groups&lt;br /&gt;
          ec_point_formats&lt;br /&gt;
          session_ticket&lt;br /&gt;
          application_layer_protocol_negotiation&lt;br /&gt;
          status_request&lt;br /&gt;
          key_share&lt;br /&gt;
          supported_versions&lt;br /&gt;
          signature_algorithms&lt;br /&gt;
          psk_key_exchange_modes&lt;br /&gt;
          record_size_limit&lt;br /&gt;
          padding&lt;br /&gt;
        ja3 string:  &lt;br /&gt;
 771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53-10,0-23-65281-10-11-35-16-5-51-43-13-45-28-21,29-23-24-25-256-257,0&lt;br /&gt;
        ja3 fingerprint: aa7744226c695c0b2e440419848cf700&lt;br /&gt;
 2 2  0.0146 (0.0049)  S&amp;gt;C  Handshake&lt;br /&gt;
      ServerHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        session_id[32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipherSuite         TLS_AES_128_GCM_SHA256&lt;br /&gt;
        compressionMethod                   NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          supported_versions&lt;br /&gt;
          key_share&lt;br /&gt;
        ja3s string: 771,4865,43-51&lt;br /&gt;
        ja3s fingerprint: f4febc55ea12b31ae17cfb7e614afda8&lt;br /&gt;
 2 3  0.0146 (0.0000)  S&amp;gt;C  ChangeCipherSpec&lt;br /&gt;
 2 4  0.0146 (0.0000)  S&amp;gt;C  application_data&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This seems to be a very powerful tool with which you can actually sniff SSL encrypted traffic, and even if you don&#039;t have the private key, you can see the TLS handshake and the hello&#039;s from client  and server together with their exchanged cipher suites.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ssldump tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What&#039;s different in ParrotOS? ==&lt;br /&gt;
As we know, you can install any tools from Kali also on ParrotOS, and the other way around, that&#039;s why in this context, the preinstalled tools are meant. Overall you can say, that the &amp;quot;main&amp;quot; tools are the same on both operating systems.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:ComparisonKaliParr.png|thumb|none|500px|Information Gathering Tools Menu Preview Comparison]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
On the first glance the tools look very similar, however when you click on the the various sub-categories, you can see that Parrot offers a greater range of tools. Refer to the table below for a detailed overview:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 50%&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt;Tool Category&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Kali&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Parrot&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;DNS Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsdict6&lt;br /&gt;
&amp;lt;br&amp;gt;dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsmap&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;dnstracer&lt;br /&gt;
&amp;lt;br&amp;gt;dnswalk&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&lt;br /&gt;
&amp;lt;br&amp;gt;gobuster&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;IDS/IPS Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd &lt;br /&gt;
&amp;lt;br&amp;gt;wafw00f&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd&lt;br /&gt;
&amp;lt;br&amp;gt;fragrouter&lt;br /&gt;
&amp;lt;br&amp;gt;ftest&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Live Host Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;cdpsnarf&lt;br /&gt;
&amp;lt;br&amp;gt;detect-new-ip6&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;inverse_lookup6&lt;br /&gt;
&amp;lt;br&amp;gt;ncat&lt;br /&gt;
&amp;lt;br&amp;gt;passive_discovery6&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&lt;br /&gt;
&amp;lt;br&amp;gt;xprobe2&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Network &amp;amp; port scanners&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
amap&lt;br /&gt;
&amp;lt;br&amp;gt;etherape&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&lt;br /&gt;
&amp;lt;br&amp;gt;unicornscan&lt;br /&gt;
&amp;lt;br&amp;gt;wireshark&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;OSINT Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
maltego&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot-cli&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
casefile&lt;br /&gt;
&amp;lt;br&amp;gt;maltego&lt;br /&gt;
&amp;lt;br&amp;gt;metagoofil&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Route Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
netdiscover&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
0trace&lt;br /&gt;
&amp;lt;br&amp;gt;intrace&lt;br /&gt;
&amp;lt;br&amp;gt;irpas-ass&lt;br /&gt;
&amp;lt;br&amp;gt;irpass-cdp&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&lt;br /&gt;
&amp;lt;br&amp;gt;trace6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMB Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMTP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;swaks&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
smtp-user-enum&lt;br /&gt;
&amp;lt;br&amp;gt;swaks&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SNMP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
braa&lt;br /&gt;
&amp;lt;br&amp;gt;onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SSL Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.parrotsec.org/docs/&lt;br /&gt;
* https://www.kali.org/docs/&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7607</id>
		<title>Information Gathering Tools</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7607"/>
		<updated>2021-06-24T08:30:02Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This is a draft. Comparing various available pre-installed information gathering tools in Kali and comparing differences to ParrotOS. This document is &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; a documentation of the tools, it is merely a comparison and practical evaluation of the tools for an average security specialist or a security newbie wanting to start using the tools.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Operating system: Kali Linux 2021.1 amd64, Parrot Security 4.10 amd64&lt;br /&gt;
Disclaimer: all possible examples and tests done have been done in VMWare in a Kali Linux 2021.1 and the commands are up-to-date as of 21st June 2021.&lt;br /&gt;
&lt;br /&gt;
== Tools==&lt;br /&gt;
&lt;br /&gt;
=== Nmap ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Network &amp;amp; Port Scanners&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Nmap is known to be a very powerful tool for information gathering and vulnerability scanning. It offers loads of options, offering for example for host discovery, scans (TCP, UDP, IP...), service/version detection, OS detection, firewalls/IDS evasion and spoofing, script scanning etc. Since this is not meant to be a [https://nmap.org/book/man.html full documentation] of the tools, but rather an evaluation overview, compared to the other tools in this category, Nmap is the one main tool that most of the other secondary tools are using and it is very powerful. See the following tools for some comparison and Nmap examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;If your goal is to perform a network scan to determine alive hosts, open ports, used systems on ports or used operation systems on the hosts, this would be the way to go. It is fast and efficient (speed depends on the range of hosts and ports scanned though). The other tools that offer these results are using Nmap anyway, for example the way DMitry or Legion use it.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://nmap.org/book/man.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spiderfoot ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is a reconnaissance framework that uses many modules for information gathering, working on the OSINT principle. You can access a GUI by starting the framework on a port on localhost and accessing that address via web browser once it starts:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;$ spiderfoot -l 127.0.0.1:5001&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can then set up a new scan, where you would give the program a target: this can be a domain/sub-domain name, IPv4 or IPv6 address, hostname, subnet, ASN, e-mail address, phone number, a person&#039;s actual name or username. This gives a really wide spectrum on options. The full scan is demonstrated below.&lt;br /&gt;
 scan www.fh-campuswien.ac.at for a full scan, where you &amp;quot;get anything and everything about the target&amp;quot;:&lt;br /&gt;
Execution takes &amp;lt;b&amp;gt;many days&amp;lt;/b&amp;gt;, depending on the size of the target and the information available on the internet to that target. This specific inquiry took several days to complete and collect all information. Some parts of the information is displayed below, however the results were much more extensive:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Spiderscan.png|thumb|none|800px|Results of Spiderfoot Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is a very good and very powerful reconnaissance framework. It really collects &amp;quot;anything and everything&amp;quot; about a target, as it states. The scans take a very long time, but the amount of information connected is priceless, it really searches through the whole www to provide any and every connection to the target. Based on the very user friendly and well-arranged GUI it is quite good for beginners too, however the amount of data delivered is useful only for professional security analysts who know what to do with the results, how to navigate them and how to interpret them.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://www.spiderfoot.net/documentation/ tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Legion ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Legion is a GUI tool, a network penetration testing framework, that offers many options. It automatically detects CVEs and provides nmap, Vulners, whataweb, webslayer, sslyzer, SMBenum, dirbuster, nikto, Hydra and other additional scripts. Its execution takes up to a couple of minutes. A demonstration: &lt;br /&gt;
 scan www.fh-campuswien.ac.at&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Legion scan.png|thumb|none|600px|Results of Legion Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
No CVEs have been found. &amp;lt;br&amp;gt;Below is a comparison with the Metasploitable2 machine that can be found in the same subnet, so that it is clear how the vulnerabilities are shown in an actual weak system:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Meta legion.png|thumb|none|1000px|Results of Legion Scan on Metasploitable2 VM]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
It is safe to say that it is a very powerful and useful tool, also very user friendly and quite fast. Maybe not the best for domains in the internet because it won&#039;t offer much more information than nmap and whois lookup, but when you look at the metasploitable output, so a scan of a server, you can see how much information is shown. The implementation of Hydra also gets you the cracked passwords in the vulnerabilities which is very useful.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall definitely a recommended tool, nice GUI, works quickly and efficiently and is very well arranged and easy to navigate.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://govanguard.com/legion/#about-legion official Legion Framework website].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== DMitry===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
DMitry is a CLI tool to gather information about a host - possible subdomains, uptime information, tcp port scan, email addresses, whois lookups etc. It is mostly used to reveal information that exists through search engines about the owner or host of a web page, i.e. for social engineering attacks.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
When using the portscan option, the results show less open ports than doing that same TCP scan with nmap. &lt;br /&gt;
&amp;lt;br&amp;gt; DMitry:&lt;br /&gt;
 HostIP:192.168.0.130                                                                                                                                                                    &lt;br /&gt;
 HostName:                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
 Gathered TCP Port information for 192.168.0.130                                                                                                                                                                                                                                                                               &lt;br /&gt;
 Port           State&lt;br /&gt;
 23/tcp          open&lt;br /&gt;
 Portscan Finished: Scanned 150 ports, 148 ports were in state closed&lt;br /&gt;
Nmap:&lt;br /&gt;
 Nmap scan report for 192.168.0.130&lt;br /&gt;
 Host is up (0.20s latency).&lt;br /&gt;
 Not shown: 996 closed ports&lt;br /&gt;
 PORT     STATE SERVICE&lt;br /&gt;
 23/tcp   open  telnet&lt;br /&gt;
 554/tcp  open  rtsp&lt;br /&gt;
 843/tcp  open  unknown&lt;br /&gt;
 5001/tcp open  commplex-link&lt;br /&gt;
 MAC Address: 7C:DD:90:AF:4E:7D (Shenzhen Ogemray Technology)&lt;br /&gt;
 Nmap done: 1 IP address (1 host up) scanned in 2.33 seconds&lt;br /&gt;
&lt;br /&gt;
To find out information about a domain, you need either the IP or the domain same. &lt;br /&gt;
&amp;lt;br&amp;gt;Whois lookup on the other hand gets you some nice useful results. Below is an example of using &amp;lt;code&amp;gt;dmitry -w www.fh-campuswien.ac.at&amp;lt;/code&amp;gt; on the college website of FH Campus Wien www.fh-campuswien.ac.at, and it just goes to show that it is exactly the same output as if you were to type &amp;lt;code&amp;gt;whois fh-campuswien.ac.at&amp;lt;/code&amp;gt;&lt;br /&gt;
 HostIP:91.213.77.62&lt;br /&gt;
 HostName:www.fh-campuswien.ac.at&lt;br /&gt;
 Gathered Inic-whois information for fh-campuswien.ac.at&lt;br /&gt;
 ---------------------------------&lt;br /&gt;
 domain:         fh-campuswien.ac.at&lt;br /&gt;
 registrar:      &lt;br /&gt;
 registrant:     FCW1942152-NICAT&lt;br /&gt;
 admin-c:        &amp;lt;data not disclosed&amp;gt;&lt;br /&gt;
 tech-c:         NLTU11579014-NICAT&lt;br /&gt;
 nserver:        ns.nextlayer.at&lt;br /&gt;
 remarks:        81.16.150.30&lt;br /&gt;
 nserver:        ns2.nextlayer.at&lt;br /&gt;
 remarks:        81.16.151.30&lt;br /&gt;
 changed:        20171003 19:16:08&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     &lt;br /&gt;
 organization:   fh campus wien&lt;br /&gt;
 street address: Favoritenstrasse 226&lt;br /&gt;
 postal code:    A-1100&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43160668771000&lt;br /&gt;
 fax-no:         +43160668771009&lt;br /&gt;
 e-mail:         office@fh-campuswien.ac.at&lt;br /&gt;
 nic-hdl:        FCW1942152-NICAT&lt;br /&gt;
 changed:        20100323 17:12:46&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     Hostmaster Hostmaster&lt;br /&gt;
 organization:   next layer Telekommunikationsdienstleistungs- und BeratungsGmbH&lt;br /&gt;
 street address: Mariahilfer Guertel 37- 7&lt;br /&gt;
 postal code:    1150&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43517649&lt;br /&gt;
 e-mail:         hostmaster@nextlayer.at&lt;br /&gt;
 nic-hdl:        NLTU11579014-NICAT&lt;br /&gt;
 changed:        20170929 13:17:54&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall a nice tool, useful for beginners who don&#039;t have experience with the basic tools yet. However, to an experienced IT Security specialist, the tools that DMitry is based on, like nmap and whois would be the better choice to use here, since they just offer you the same output and nmap and whois itself offer much more options. One drawback however is that you need to install whois separately, whilst DMitry will be in the preinstalled set of tools. When it comes to portscan, it offers pretty insufficient results in DMitry.&lt;br /&gt;
This tool is fairly outdated nowadays, although it used to be very good a few years ago. Now there are better alternatives.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/dmitry tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recon-ng ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
On the first glance, it looks very similar to Metasploit. You can start it via the command line and enter an environment in the shell. It is a python web reconnaissance framework designed specifically for web-based information gathering, and is, unlike Metasploit, not an exploitation framework.&amp;lt;br&amp;gt;&lt;br /&gt;
To navigate it, always utilize the help flag to view possible options. At first, you won&#039;t have any modules enables/installed, which is kind of confusing and one really has to look into the documentation first before using it because the shell environment isn&#039;t that intuitive.&amp;lt;br&amp;gt;&lt;br /&gt;
To view available modules, use &amp;lt;code&amp;gt;show modules&amp;lt;/code&amp;gt;. When you want to start now, create a workspace first where your retrieved data will be saved:&lt;br /&gt;
 [recon-ng][default] &amp;gt; workspaces create test&lt;br /&gt;
Now install the module you would like to use, we will use hackertarget to get subdomains. You can use &amp;lt;code&amp;gt;marketplace search hackertarget&amp;lt;/code&amp;gt; to view the module and install it by:&lt;br /&gt;
 [recon-ng][test] &amp;gt; marketplace install hackertarget &lt;br /&gt;
   [*] Module installed: recon/domains-hosts/hackertarget&lt;br /&gt;
   [*] Reloading modules...&lt;br /&gt;
Now we will load the module and set the source of input, which we want to retrieve data from. With the command &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; you can view the current source. Execute the module with &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;:&lt;br /&gt;
 [recon-ng][test] &amp;gt; modules load hackertarget&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  options set SOURCE tesla.com&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  run&lt;br /&gt;
This will get you 27 found hosts, after the &amp;lt;code&amp;gt;show hosts&amp;lt;/code&amp;gt; command you can review them in an arranged list:&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | rowid |            host           |   ip_address   | region | country | latitude | longitude | notes |    module    |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | 1     | tesla.com                 | 199.66.11.62   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 2     | o7.ptr6980.tesla.com      | 149.72.144.42  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 3     | vpn1.tesla.com            | 8.45.124.215   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 4     | model3.tesla.com          | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 5     | o3.ptr1444.tesla.com      | 149.72.152.236 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 6     | o2.ptr556.tesla.com       | 149.72.134.64  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 7     | o5.ptr8466.tesla.com      | 149.72.172.170 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 8     | o6.ptr9437.tesla.com      | 168.245.123.10 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 9     | o4.ptr1867.tesla.com      | 149.72.163.58  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 10    | mobile.tesla.com          | 209.133.79.82  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 11    | marketing.tesla.com       | 13.111.47.196  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 12    | o1.ptr2410.link.tesla.com | 149.72.247.52  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 13    | referral.tesla.com        | 72.10.32.90    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 14    | mta2.email.tesla.com      | 13.111.4.231   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 15    | mta.email.tesla.com       | 13.111.14.190  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 16    | xmail.tesla.com           | 204.74.99.100  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 17    | comparison.tesla.com      | 64.125.183.133 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 18    | emails.tesla.com          | 13.111.18.27   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 19    | mta2.emails.tesla.com     | 13.111.88.1    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 20    | mta3.emails.tesla.com     | 13.111.88.2    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 21    | mta4.emails.tesla.com     | 13.111.88.52   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 22    | mta5.emails.tesla.com     | 13.111.88.53   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 23    | mta.emails.tesla.com      | 13.111.62.118  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 24    | click.emails.tesla.com    | 13.111.48.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 25    | view.emails.tesla.com     | 13.111.49.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 26    | events.tesla.com          | 13.111.47.195  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 27    | shop.eu.tesla.com         | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
Disclaimer: the used Recon-ng version here is &amp;lt;code&amp;gt;recon-ng v5.1.1&amp;lt;/code&amp;gt;, which is important to note, because countless tutorials on the internet refer to older commands which no longer work, so you kind of really have to play around with it to see which modules work (because some don&#039;t) and what commands are available by always utilizing the &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; flag along the way.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A powerful framework that offers many modules to perform reconnaissance on web-hosts. Personally would not recommend to newbies, simply because it is not that easy and intuitive to navigate, some modules are not working and the documentation is pretty lacking, with internet tutorials often showing old versions of commands.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the official [https://tools.kali.org/information-gathering/recon-ng documentation] or Github, however the documentation in this case is quite lacking.&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Maltego ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Maltego is a graphical footprinting tool with quite some extensions available. With the preinstalled extensions you can allready footprint any domain and view it as a tree. where this tree is formatted according to the amount discovered and may change to a mesh view, if it would get too crowded.&lt;br /&gt;
&lt;br /&gt;
[[File:Elvis.science.png|thumb|none|700px|Example footprinting of elvis.science]]&lt;br /&gt;
&lt;br /&gt;
There is allready a page in this wiki for Maltego about how to create network trees yourself step by step and without the use of extensions: [[Maltego]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;An extensive tool for footprinting that can look intimidating at first glance, but will help a lot gathering and saving information in a graphical way. It&#039;s easy to learn, offers quick success on learning and there are countless instuctions online on how to use Maltego for any level.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Netdiscover ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Route Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is another reconnaissance tool that can be used for host discovery on wireless and switched networks. You can scan your subnet at home or at work, wherever your device is connected. It works through ARP requests and can detect hosts either by actively sending requests, or if you set it to passive mode, only by sniffing.&amp;lt;br&amp;gt;&lt;br /&gt;
If Nmap is too much for a given moment and you just want to see quickly who is in your network, this is the way to go. Below is a comparison of Netdiscover used on a local subnet, a very well-arranged output, and nmap, which in some situations offers &amp;lt;i&amp;gt;too much&amp;lt;/i&amp;gt;:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ netdiscover -r 192.168.0.0/24&amp;lt;/b&amp;gt;&lt;br /&gt;
 20 Captured ARP Req/Rep packets, from 16 hosts.   Total size: 1200                                                                                                                      &lt;br /&gt;
 _____________________________________________________________________________&lt;br /&gt;
   IP            At MAC Address     Count     Len  MAC Vendor / Hostname      &lt;br /&gt;
 -----------------------------------------------------------------------------&lt;br /&gt;
 192.168.0.1     00:xx:xx:xx:xx:c2      2     120  Cisco Systems, Inc                                                                                                                    &lt;br /&gt;
 192.168.0.9     00:xx:xx:xx:xx:a9      1      60  Weinzierl Engineering GmbH                                                                                                            &lt;br /&gt;
 192.168.0.10    50:xx:xx:xx:xx:c7      1      60  Loxone Electronics GmbH                                                                                                               &lt;br /&gt;
 192.168.0.80    54:xx:xx:xx:xx:a0      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.81    18:xx:xx:xx:xx:50      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.82    54:xx:xx:xx:xx:ff      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.83    28:xx:xx:xx:xx:27      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.84    18:xx:xx:xx:xx:d7      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.101   48:xx:xx:xx:xx:2e      1      60  ZENNIO AVANCE Y TECNOLOGIA, S.L.                                                                                                      &lt;br /&gt;
 192.168.0.102   00:xx:xx:xx:xx:bb      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.109   fc:xx:xx:xx:xx:f9      4     240  Ubiquiti Networks Inc.                                                                                                                &lt;br /&gt;
 192.168.0.112   04:xx:xx:xx:xx:a5      1      60  ASUSTek COMPUTER INC.                                                                                                                 &lt;br /&gt;
 192.168.0.132   00:xx:xx:xx:xx:d4      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.149   c4:xx:xx:xx:xx:48      1      60  Hewlett Packard                                                                                                                       &lt;br /&gt;
 192.168.0.172   8c:xx:xx:xx:xx:eb      1      60  Apple, Inc.                                                                                                                           &lt;br /&gt;
 192.168.0.195   f2:xx:xx:xx:xx:3a      1      60  Unknown vendor   &lt;br /&gt;
If you were to do this same information in Nmap, you would need to perform a host discovery scan first:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ nmap -sP 192.168.0.0/24 &amp;lt;/b&amp;gt;                                                                                                                                                        &lt;br /&gt;
 Starting Nmap 7.91 ( https://nmap.org ) at 2021-06-20 16:34 CEST&lt;br /&gt;
 Nmap scan report for 192.168.0.1    Host is up (0.0051s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.10   Host is up (0.00058s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.80   Host is up (0.00034s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.81   Host is up (0.0018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.82   Host is up (0.0017s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.83   Host is up (0.0037s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.84   Host is up (0.0019s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.101  Host is up (0.00045s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.102  Host is up (0.00018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.107  Host is up (0.00021s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.109  Host is up (0.00049s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.132  Host is up (0.00033s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.172  Host is up (0.089s latency).&lt;br /&gt;
 Nmap done: 256 IP addresses (13 hosts up) scanned in 2.42 seconds&lt;br /&gt;
Only then you can scan each alive host separately for their Hostname/OS/MAC address with &amp;lt;code&amp;gt;sudo nmap -O &amp;lt;IP address&amp;gt;&amp;lt;/code&amp;gt;. That is unless you want to wait several hours by scanning the whole subnet for their OS which I would not recommend since it takes so long. If you need a quick swipe, Nmap is possibly the inferior option here and could be used once you want to find out more about each host, their ports etc.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Definitely a useful tool for an initial scan, or in a case where you don&#039;t know what range to look for exactly, since it is very fast. If you just want to find alive hosts and their IPs in a big range, this would be a good option. Nmap however, offers alive hosts discovery as well, and if you turn portscan off, it will be much faster than Netdiscover. Netdiscover kind of connects the various options of Nmap by showing IPs, MACs and Hostnames and makes it fairly easy to use, without having to read the extensive documentation of Nmap in the hope to find the correct options to perform a simple initial scan.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://manpages.debian.org/unstable/netdiscover/netdiscover.8.en.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ike-scan ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Ike-scan is useful for VPN endpoints. To explain this a little, first we should know what IKE is. It is Internet Key Exchange protocol, which is used by IPsec. The majority of IPsec VPNs use IKE for key exchange. The Ike-scan tool is for discovering, testing and fingerprinting IPsec VPN systems. It sends IKE phase 1 packets to the target and displays the received responses. To be able to test this, we now need a target that we are certain uses IKE for key exchange. To achieve this, we will demonstrate this on an IP address found through www.shodan.io, where you need to search for the keyword &amp;quot;IKE&amp;quot; to find targets that satisfy this condition. For demonstration, we chose the IP 110.142.206.85, which should be a VPN in Melbourne, Australia.&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 110.142.206.85  Main Mode Handshake returned HDR=(CKY-R=49cc50cbfcf85509) SA=(Enc=3DES Hash=SHA1 Group=2:modp1024 Auth=PSK LifeType=Seconds LifeDuration=28800) VID=dbfb81eb5760b0788562067da102d755 VID=09002689dfd6b712 (XAUTH) VID=afcad71368a1f1c96b8696fc77570100 (Dead Peer Detection v1.0) VID=12f5f28c457168a9702d9fe274cc0100 (Cisco Unity)&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 0.356 seconds (2.81 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
This returns the main mode handshake and shows information like security associations (hash, encoding, authentication) and also vendor ID etc.&lt;br /&gt;
&amp;lt;br&amp;gt;The following scan tries to fingerprint the firewall in use and additionally to the previous output it shows the following:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan --showbackoff -v -v 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 DEBUG: pkt len=336 bytes, bandwidth=56000 bps, int=52000 us&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 ---     Sending packet #1 to host entry 1 (110.142.206.85) tmo 500000 us&lt;br /&gt;
 ---     Received packet #1 from 110.142.206.85&lt;br /&gt;
 ---     Removing host entry 1 (110.142.206.85) - Received 152 bytes&lt;br /&gt;
 IKE Backoff Patterns:                                                                                                                                                              &lt;br /&gt;
 IP Address      No.     Recv time               Delta Time                                                                                                                                &lt;br /&gt;
 110.142.206.85  1       1624204029.790995       0.000000                                                                                                                                  &lt;br /&gt;
 110.142.206.85  Implementation guess: Linksys Etherfast&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 60.426 seconds (0.02 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
There is a possibility to use the so called aggressive mode (default is Main Mode) which uses a 3-way-handshake where the VPN sends an unencrypted message to the client containing the hashed PSK. If you manage to capture the plaintext hash, you could use psk-crack to perform a brute force attack and try to recover the PSK (Pre-shared key).&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is not a very well known tool, however it can offer some valuable insights to experienced security experts and a possibility to use the recovered data in further exploitation/scanning.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ike-scan tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dnsenum ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - DNS Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is an efficient and well-performing tool for locating all DNS servers and DNS entries for a given organization. A basic demonstration on the example of &amp;lt;code&amp;gt;google.com&amp;lt;/code&amp;gt; is shown below (some entries have been replaced with ... to keep it as short as possible):&lt;br /&gt;
 $ dnsenum google.com                                                                             255 ⨯&lt;br /&gt;
 dnsenum VERSION:1.2.6&lt;br /&gt;
 -----   google.com   -----                                                                                                                                                                                       &lt;br /&gt;
 Host&#039;s addresses:                                                                                        &lt;br /&gt;
 __________________                                                                                       &lt;br /&gt;
 google.com.                              300      IN    A        216.58.201.78                           &lt;br /&gt;
 Name Servers:                                                                                            &lt;br /&gt;
 ______________                                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 ns2.google.com.                          345600   IN    A        216.239.34.10                           &lt;br /&gt;
 ns4.google.com.                          345600   IN    A        216.239.38.10&lt;br /&gt;
 ns1.google.com.                          345600   IN    A        216.239.32.10&lt;br /&gt;
 ns3.google.com.                          345600   IN    A        216.239.36.10&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Mail (MX) Servers:                                                                                       &lt;br /&gt;
 ___________________                                                                                      &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 aspmx.l.google.com.                      293      IN    A        173.194.69.27                           &lt;br /&gt;
 alt1.aspmx.l.google.com.                 293      IN    A        142.250.150.27&lt;br /&gt;
 alt2.aspmx.l.google.com.                 293      IN    A        74.125.200.27&lt;br /&gt;
 alt3.aspmx.l.google.com.                 293      IN    A        142.250.157.27&lt;br /&gt;
 alt4.aspmx.l.google.com.                 293      IN    A        173.194.202.26&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Trying Zone Transfers and getting Bind Versions:                                                         &lt;br /&gt;
 _________________________________________________                                                                                                                                                                 &lt;br /&gt;
 Trying Zone Transfer for google.com on ns1.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
 ...&lt;br /&gt;
 Trying Zone Transfer for google.com on ns4.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
                                                                                                    &lt;br /&gt;
 Brute forcing with /usr/share/dnsenum/dns.txt:                                                           &lt;br /&gt;
 _______________________________________________                                                          &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 about.google.com.                        0        IN    CNAME    www3.l.google.com.                      &lt;br /&gt;
 www3.l.google.com.                       300      IN    A        172.217.23.238&lt;br /&gt;
 accounts.google.com.                     300      IN    A        172.217.23.205&lt;br /&gt;
 admin.google.com.                        300      IN    A        172.217.23.206&lt;br /&gt;
 ads.google.com.                          300      IN    A        216.58.201.78&lt;br /&gt;
 america.google.com.                      0        IN    CNAME    www3.l.google.com.&lt;br /&gt;
 ...&lt;br /&gt;
 www.google.com.                          300      IN    A        172.217.23.196&lt;br /&gt;
 &lt;br /&gt;
 google.com class C netranges:                                                                            &lt;br /&gt;
 ______________________________                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 8.8.4.0/24                                                                                              &lt;br /&gt;
 8.8.8.0/24&lt;br /&gt;
 ...&lt;br /&gt;
 216.239.36.0/24&lt;br /&gt;
 216.239.38.0/24&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Performing reverse lookup on 4096 ip addresses:                                                          &lt;br /&gt;
 ________________________________________________                                                         &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 68.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.                         &lt;br /&gt;
 69.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 70.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 10.32.239.216.in-addr.arpa.              86400    IN    PTR      ns1.google.com.&lt;br /&gt;
 11.32.239.216.in-addr.arpa.              86400    IN    PTR      ns.google.com.&lt;br /&gt;
 15.32.239.216.in-addr.arpa.              86400    IN    PTR      time1.google.com.&lt;br /&gt;
 116.32.239.216.in-addr.arpa.             86400    IN    PTR      e2a.google.com.&lt;br /&gt;
 10.34.239.216.in-addr.arpa.              86400    IN    PTR      ns2.google.com.&lt;br /&gt;
 10.36.239.216.in-addr.arpa.              86400    IN    PTR      ns3.google.com.&lt;br /&gt;
 11.36.239.216.in-addr.arpa.              86400    IN    PTR      hedns1.google.com.&lt;br /&gt;
 10.38.239.216.in-addr.arpa.              86400    IN    PTR      ns4.google.com.&lt;br /&gt;
 &lt;br /&gt;
 11 results out of 4096 IP addresses.&lt;br /&gt;
                                                                                                          &lt;br /&gt;
 google.com ip blocks:                                                                                     &lt;br /&gt;
 ______________________                                                                                    &lt;br /&gt;
                                                                                                            &lt;br /&gt;
 64.9.224.68/31                                                                                           &lt;br /&gt;
 64.9.224.70/32&lt;br /&gt;
 216.239.32.10/31&lt;br /&gt;
 216.239.32.15/32&lt;br /&gt;
 216.239.32.116/32&lt;br /&gt;
 216.239.34.10/32&lt;br /&gt;
 216.239.36.10/31&lt;br /&gt;
 216.239.38.10/32&lt;br /&gt;
 &lt;br /&gt;
 done.&lt;br /&gt;
You can also use the --enum flag to gather whois information and to dig up subdomains.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A very convenient and useful tool for DNS information gathering on domains/servers etc. Results are also very well arranged and offer a clear overview.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://tools.kali.org/information-gathering/dnsenum tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Swaks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SMTP Scan&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This tool is for sending e-mails of all kinds. Now, compared to a regular e-mail client, here you can change the header, attachments, which server to talk to and more. It handles TLS, authentication, and pipelining.&lt;br /&gt;
&amp;lt;br&amp;gt;Since I don&#039;t have my own SMTP server available, for demonstration purposes we will use the Gmail&#039;s SMTP server:&lt;br /&gt;
 $ swaks -t example.receiver@gmail.com -s smtp.gmail.com:587 -tls -a LOGIN&lt;br /&gt;
You will then be prompted to enter Gmail credentials of an actual existing account. However, from security reasons, Gmail will probably block this login attempt, that&#039;s why using your own SMTP server would be ideal. To have a look at some more examples of changing headers and using different servers, please refer [https://github.com/jetmore/swaks/blob/v20201014.0/doc/base.pod here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This tool is known as the Swiss Army Knife for SMTP (=Swaks) and helps you with the complexity of setting up e-mail servers. You have many various possibilities of choosing a mail server and changing headers and other data, that you wouldn&#039;t have if you sent an email from a simple public mail server.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/swaks tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SSLdump ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SSL Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
SSLdump is a TLS/SSL network protocol analyzer that identifies TCP streams/connections from a specified port and interface and attempts to interpret them. Once it identifies SSL/TLS traffic, it decodes and displays the content in a readable form as text. If you provide a necessary key as well, it can decrypt the connection fully and display the exchanged application data traffic (&amp;lt;code&amp;gt;ssldump -Ad -k ~/privatekey.pem -p password -i eth0 host user123&amp;lt;/code&amp;gt;). Below is a demonstration of a basic command that listens to traffic on port 443 of interface eth0:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;b&amp;gt;$ sudo ssldump -i eth0 port 443&amp;lt;/b&amp;gt;                                                                                                                                                 &lt;br /&gt;
 New TCP connection #2: 192.168.0.102(53984) &amp;lt;-&amp;gt; edge-star-mini-shv-01-vie1.facebook.com(443)&lt;br /&gt;
 2 1  0.0096 (0.0096)  C&amp;gt;S  Handshake&lt;br /&gt;
      ClientHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        resume [32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipher suites&lt;br /&gt;
        TLS_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_3DES_EDE_CBC_SHA&lt;br /&gt;
        compression methods&lt;br /&gt;
                  NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          server_name&lt;br /&gt;
              host_name: www.facebook.com&lt;br /&gt;
          extended_master_secret&lt;br /&gt;
          renegotiation_info&lt;br /&gt;
          supported_groups&lt;br /&gt;
          ec_point_formats&lt;br /&gt;
          session_ticket&lt;br /&gt;
          application_layer_protocol_negotiation&lt;br /&gt;
          status_request&lt;br /&gt;
          key_share&lt;br /&gt;
          supported_versions&lt;br /&gt;
          signature_algorithms&lt;br /&gt;
          psk_key_exchange_modes&lt;br /&gt;
          record_size_limit&lt;br /&gt;
          padding&lt;br /&gt;
        ja3 string:  &lt;br /&gt;
 771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53-10,0-23-65281-10-11-35-16-5-51-43-13-45-28-21,29-23-24-25-256-257,0&lt;br /&gt;
        ja3 fingerprint: aa7744226c695c0b2e440419848cf700&lt;br /&gt;
 2 2  0.0146 (0.0049)  S&amp;gt;C  Handshake&lt;br /&gt;
      ServerHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        session_id[32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipherSuite         TLS_AES_128_GCM_SHA256&lt;br /&gt;
        compressionMethod                   NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          supported_versions&lt;br /&gt;
          key_share&lt;br /&gt;
        ja3s string: 771,4865,43-51&lt;br /&gt;
        ja3s fingerprint: f4febc55ea12b31ae17cfb7e614afda8&lt;br /&gt;
 2 3  0.0146 (0.0000)  S&amp;gt;C  ChangeCipherSpec&lt;br /&gt;
 2 4  0.0146 (0.0000)  S&amp;gt;C  application_data&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This seems to be a very powerful tool with which you can actually sniff SSL encrypted traffic, and even if you don&#039;t have the private key, you can see the TLS handshake and the hello&#039;s from client  and server together with their exchanged cipher suites.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ssldump tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What&#039;s different in ParrotOS? ==&lt;br /&gt;
As we know, you can install any tools from Kali also on ParrotOS, and the other way around, that&#039;s why in this context, the preinstalled tools are meant. Overall you can say, that the &amp;quot;main&amp;quot; tools are the same on both operating systems.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:ComparisonKaliParr.png|thumb|none|500px|Information Gathering Tools Menu Preview Comparison]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
On the first glance the tools look very similar, however when you click on the the various sub-categories, you can see that Parrot offers a greater range of tools. Refer to the table below for a detailed overview:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 50%&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt;Tool Category&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Kali&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Parrot&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;DNS Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsdict6&lt;br /&gt;
&amp;lt;br&amp;gt;dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsmap&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;dnstracer&lt;br /&gt;
&amp;lt;br&amp;gt;dnswalk&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&lt;br /&gt;
&amp;lt;br&amp;gt;gobuster&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;IDS/IPS Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd &lt;br /&gt;
&amp;lt;br&amp;gt;wafw00f&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd&lt;br /&gt;
&amp;lt;br&amp;gt;fragrouter&lt;br /&gt;
&amp;lt;br&amp;gt;ftest&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Live Host Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;cdpsnarf&lt;br /&gt;
&amp;lt;br&amp;gt;detect-new-ip6&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;inverse_lookup6&lt;br /&gt;
&amp;lt;br&amp;gt;ncat&lt;br /&gt;
&amp;lt;br&amp;gt;passive_discovery6&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&lt;br /&gt;
&amp;lt;br&amp;gt;xprobe2&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Network &amp;amp; port scanners&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
amap&lt;br /&gt;
&amp;lt;br&amp;gt;etherape&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&lt;br /&gt;
&amp;lt;br&amp;gt;unicornscan&lt;br /&gt;
&amp;lt;br&amp;gt;wireshark&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;OSINT Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
maltego&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot-cli&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
casefile&lt;br /&gt;
&amp;lt;br&amp;gt;maltego&lt;br /&gt;
&amp;lt;br&amp;gt;metagoofil&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Route Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
netdiscover&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
0trace&lt;br /&gt;
&amp;lt;br&amp;gt;intrace&lt;br /&gt;
&amp;lt;br&amp;gt;irpas-ass&lt;br /&gt;
&amp;lt;br&amp;gt;irpass-cdp&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&lt;br /&gt;
&amp;lt;br&amp;gt;trace6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMB Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMTP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;swaks&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
smtp-user-enum&lt;br /&gt;
&amp;lt;br&amp;gt;swaks&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SNMP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
braa&lt;br /&gt;
&amp;lt;br&amp;gt;onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SSL Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.parrotsec.org/docs/&lt;br /&gt;
* https://www.kali.org/docs/&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7606</id>
		<title>Information Gathering Tools</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7606"/>
		<updated>2021-06-24T08:22:52Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This is a draft. Comparing various available pre-installed information gathering tools in Kali and comparing differences to ParrotOS. This document is &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; a documentation of the tools, it is merely a comparison and practical evaluation of the tools for an average security specialist or a security newbie wanting to start using the tools.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Operating system: Kali Linux 2021.1 amd64, Parrot Security 4.10 amd64&lt;br /&gt;
Disclaimer: all possible examples and tests done have been done in VMWare in a Kali Linux 2021.1 and the commands are up-to-date as of 21st June 2021.&lt;br /&gt;
&lt;br /&gt;
== Tools==&lt;br /&gt;
&lt;br /&gt;
=== Nmap ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Network &amp;amp; Port Scanners&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Nmap is known to be a very powerful tool for information gathering and vulnerability scanning. It offers loads of options, offering for example for host discovery, scans (TCP, UDP, IP...), service/version detection, OS detection, firewalls/IDS evasion and spoofing, script scanning etc. Since this is not meant to be a [https://nmap.org/book/man.html full documentation] of the tools, but rather an evaluation overview, compared to the other tools in this category, Nmap is the one main tool that most of the other secondary tools are using and it is very powerful. See the following tools for some comparison and Nmap examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;If your goal is to perform a network scan to determine alive hosts, open ports, used systems on ports or used operation systems on the hosts, this would be the way to go. It is fast and efficient (speed depends on the range of hosts and ports scanned though). The other tools that offer these results are using Nmap anyway, for example the way DMitry or Legion use it.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://nmap.org/book/man.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spiderfoot ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is a reconnaissance framework that uses many modules for information gathering, working on the OSINT principle. You can access a GUI by starting the framework on a port on localhost and accessing that address via web browser once it starts:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;$ spiderfoot -l 127.0.0.1:5001&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can then set up a new scan, where you would give the program a target: this can be a domain/sub-domain name, IPv4 or IPv6 address, hostname, subnet, ASN, e-mail address, phone number, a person&#039;s actual name or username. This gives a really wide spectrum on options. The full scan is demonstrated below.&lt;br /&gt;
 scan www.fh-campuswien.ac.at for a full scan, where you &amp;quot;get anything and everything about the target&amp;quot;:&lt;br /&gt;
Execution takes &amp;lt;b&amp;gt;many days&amp;lt;/b&amp;gt;, depending on the size of the target and the information available on the internet to that target. This specific inquiry took several days to complete and collect all information. Some parts of the information is displayed below, however the results were much more extensive:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Spiderscan.png|thumb|none|800px|Results of Spiderfoot Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is a very good and very powerful reconnaissance framework. It really collects &amp;quot;anything and everything&amp;quot; about a target, as it states. The scans take a very long time, but the amount of information connected is priceless, it really searches through the whole www to provide any and every connection to the target. Based on the very user friendly and well-arranged GUI it is quite good for beginners too, however the amount of data delivered is useful only for professional security analysts who know what to do with the results, how to navigate them and how to interpret them.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://www.spiderfoot.net/documentation/ tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Legion ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Legion is a GUI tool, a network penetration testing framework, that offers many options. It automatically detects CVEs and provides nmap, Vulners, whataweb, webslayer, sslyzer, SMBenum, dirbuster, nikto, Hydra and other additional scripts. Its execution takes up to a couple of minutes. A demonstration: &lt;br /&gt;
 scan www.fh-campuswien.ac.at&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Legion scan.png|thumb|none|600px|Results of Legion Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
No CVEs have been found. &amp;lt;br&amp;gt;Below is a comparison with the Metasploitable2 machine that can be found in the same subnet, so that it is clear how the vulnerabilities are shown in an actual weak system:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Meta legion.png|thumb|none|1000px|Results of Legion Scan on Metasploitable2 VM]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
It is safe to say that it is a very powerful and useful tool, also very user friendly and quite fast. Maybe not the best for domains in the internet because it won&#039;t offer much more information than nmap and whois lookup, but when you look at the metasploitable output, so a scan of a server, you can see how much information is shown. The implementation of Hydra also gets you the cracked passwords in the vulnerabilities which is very useful.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall definitely a recommended tool, nice GUI, works quickly and efficiently and is very well arranged and easy to navigate.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://govanguard.com/legion/#about-legion official Legion Framework website].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== DMitry===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
DMitry is a CLI tool to gather information about a host - possible subdomains, uptime information, tcp port scan, email addresses, whois lookups etc. It is mostly used to reveal information that exists through search engines about the owner or host of a web page, i.e. for social engineering attacks.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
When using the portscan option, the results show less open ports than doing that same TCP scan with nmap. &lt;br /&gt;
&amp;lt;br&amp;gt; DMitry:&lt;br /&gt;
 HostIP:192.168.0.130                                                                                                                                                                    &lt;br /&gt;
 HostName:                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
 Gathered TCP Port information for 192.168.0.130                                                                                                                                                                                                                                                                               &lt;br /&gt;
 Port           State&lt;br /&gt;
 23/tcp          open&lt;br /&gt;
 Portscan Finished: Scanned 150 ports, 148 ports were in state closed&lt;br /&gt;
Nmap:&lt;br /&gt;
 Nmap scan report for 192.168.0.130&lt;br /&gt;
 Host is up (0.20s latency).&lt;br /&gt;
 Not shown: 996 closed ports&lt;br /&gt;
 PORT     STATE SERVICE&lt;br /&gt;
 23/tcp   open  telnet&lt;br /&gt;
 554/tcp  open  rtsp&lt;br /&gt;
 843/tcp  open  unknown&lt;br /&gt;
 5001/tcp open  commplex-link&lt;br /&gt;
 MAC Address: 7C:DD:90:AF:4E:7D (Shenzhen Ogemray Technology)&lt;br /&gt;
 Nmap done: 1 IP address (1 host up) scanned in 2.33 seconds&lt;br /&gt;
&lt;br /&gt;
To find out information about a domain, you need either the IP or the domain same. &lt;br /&gt;
&amp;lt;br&amp;gt;Whois lookup on the other hand gets you some nice useful results. Below is an example of using &amp;lt;code&amp;gt;dmitry -w www.fh-campuswien.ac.at&amp;lt;/code&amp;gt; on the college website of FH Campus Wien www.fh-campuswien.ac.at, and it just goes to show that it is exactly the same output as if you were to type &amp;lt;code&amp;gt;whois fh-campuswien.ac.at&amp;lt;/code&amp;gt;&lt;br /&gt;
 HostIP:91.213.77.62&lt;br /&gt;
 HostName:www.fh-campuswien.ac.at&lt;br /&gt;
 Gathered Inic-whois information for fh-campuswien.ac.at&lt;br /&gt;
 ---------------------------------&lt;br /&gt;
 domain:         fh-campuswien.ac.at&lt;br /&gt;
 registrar:      &lt;br /&gt;
 registrant:     FCW1942152-NICAT&lt;br /&gt;
 admin-c:        &amp;lt;data not disclosed&amp;gt;&lt;br /&gt;
 tech-c:         NLTU11579014-NICAT&lt;br /&gt;
 nserver:        ns.nextlayer.at&lt;br /&gt;
 remarks:        81.16.150.30&lt;br /&gt;
 nserver:        ns2.nextlayer.at&lt;br /&gt;
 remarks:        81.16.151.30&lt;br /&gt;
 changed:        20171003 19:16:08&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     &lt;br /&gt;
 organization:   fh campus wien&lt;br /&gt;
 street address: Favoritenstrasse 226&lt;br /&gt;
 postal code:    A-1100&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43160668771000&lt;br /&gt;
 fax-no:         +43160668771009&lt;br /&gt;
 e-mail:         office@fh-campuswien.ac.at&lt;br /&gt;
 nic-hdl:        FCW1942152-NICAT&lt;br /&gt;
 changed:        20100323 17:12:46&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     Hostmaster Hostmaster&lt;br /&gt;
 organization:   next layer Telekommunikationsdienstleistungs- und BeratungsGmbH&lt;br /&gt;
 street address: Mariahilfer Guertel 37- 7&lt;br /&gt;
 postal code:    1150&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43517649&lt;br /&gt;
 e-mail:         hostmaster@nextlayer.at&lt;br /&gt;
 nic-hdl:        NLTU11579014-NICAT&lt;br /&gt;
 changed:        20170929 13:17:54&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall a nice tool, useful for beginners who don&#039;t have experience with the basic tools yet. However, to an experienced IT Security specialist, the tools that DMitry is based on, like nmap and whois would be the better choice to use here, since they just offer you the same output and nmap and whois itself offer much more options. One drawback however is that you need to install whois separately, whilst DMitry will be in the preinstalled set of tools. When it comes to portscan, it offers pretty insufficient results in DMitry.&lt;br /&gt;
This tool is fairly outdated nowadays, although it used to be very good a few years ago. Now there are better alternatives.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/dmitry tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recon-ng ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
On the first glance, it looks very similar to Metasploit. You can start it via the command line and enter an environment in the shell. It is a python web reconnaissance framework designed specifically for web-based information gathering, and is, unlike Metasploit, not an exploitation framework.&amp;lt;br&amp;gt;&lt;br /&gt;
To navigate it, always utilize the help flag to view possible options. At first, you won&#039;t have any modules enables/installed, which is kind of confusing and one really has to look into the documentation first before using it because the shell environment isn&#039;t that intuitive.&amp;lt;br&amp;gt;&lt;br /&gt;
To view available modules, use &amp;lt;code&amp;gt;show modules&amp;lt;/code&amp;gt;. When you want to start now, create a workspace first where your retrieved data will be saved:&lt;br /&gt;
 [recon-ng][default] &amp;gt; workspaces create test&lt;br /&gt;
Now install the module you would like to use, we will use hackertarget to get subdomains. You can use &amp;lt;code&amp;gt;marketplace search hackertarget&amp;lt;/code&amp;gt; to view the module and install it by:&lt;br /&gt;
 [recon-ng][test] &amp;gt; marketplace install hackertarget &lt;br /&gt;
   [*] Module installed: recon/domains-hosts/hackertarget&lt;br /&gt;
   [*] Reloading modules...&lt;br /&gt;
Now we will load the module and set the source of input, which we want to retrieve data from. With the command &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; you can view the current source. Execute the module with &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;:&lt;br /&gt;
 [recon-ng][test] &amp;gt; modules load hackertarget&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  options set SOURCE tesla.com&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  run&lt;br /&gt;
This will get you 27 found hosts, after the &amp;lt;code&amp;gt;show hosts&amp;lt;/code&amp;gt; command you can review them in an arranged list:&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | rowid |            host           |   ip_address   | region | country | latitude | longitude | notes |    module    |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | 1     | tesla.com                 | 199.66.11.62   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 2     | o7.ptr6980.tesla.com      | 149.72.144.42  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 3     | vpn1.tesla.com            | 8.45.124.215   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 4     | model3.tesla.com          | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 5     | o3.ptr1444.tesla.com      | 149.72.152.236 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 6     | o2.ptr556.tesla.com       | 149.72.134.64  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 7     | o5.ptr8466.tesla.com      | 149.72.172.170 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 8     | o6.ptr9437.tesla.com      | 168.245.123.10 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 9     | o4.ptr1867.tesla.com      | 149.72.163.58  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 10    | mobile.tesla.com          | 209.133.79.82  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 11    | marketing.tesla.com       | 13.111.47.196  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 12    | o1.ptr2410.link.tesla.com | 149.72.247.52  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 13    | referral.tesla.com        | 72.10.32.90    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 14    | mta2.email.tesla.com      | 13.111.4.231   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 15    | mta.email.tesla.com       | 13.111.14.190  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 16    | xmail.tesla.com           | 204.74.99.100  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 17    | comparison.tesla.com      | 64.125.183.133 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 18    | emails.tesla.com          | 13.111.18.27   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 19    | mta2.emails.tesla.com     | 13.111.88.1    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 20    | mta3.emails.tesla.com     | 13.111.88.2    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 21    | mta4.emails.tesla.com     | 13.111.88.52   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 22    | mta5.emails.tesla.com     | 13.111.88.53   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 23    | mta.emails.tesla.com      | 13.111.62.118  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 24    | click.emails.tesla.com    | 13.111.48.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 25    | view.emails.tesla.com     | 13.111.49.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 26    | events.tesla.com          | 13.111.47.195  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 27    | shop.eu.tesla.com         | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
Disclaimer: the used Recon-ng version here is &amp;lt;code&amp;gt;recon-ng v5.1.1&amp;lt;/code&amp;gt;, which is important to note, because countless tutorials on the internet refer to older commands which no longer work, so you kind of really have to play around with it to see which modules work (because some don&#039;t) and what commands are available by always utilizing the &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; flag along the way.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A powerful framework that offers many modules to perform reconnaissance on web-hosts. Personally would not recommend to newbies, simply because it is not that easy and intuitive to navigate, some modules are not working and the documentation is pretty lacking, with internet tutorials often showing old versions of commands.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the official [https://tools.kali.org/information-gathering/recon-ng documentation] or Github, however the documentation in this case is quite lacking.&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Maltego ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Maltego is a graphical footprinting tool with quite some extensions available. With the preinstalled extensions you can allready footprint any domain and view it as a tree. where this tree is formatted according to the amount discovered and may change to a mesh view, if it would get too crowded.&lt;br /&gt;
&lt;br /&gt;
[[File:Elvis.science.png|thumb|none|700px|Example footprinting of elvis.science]]&lt;br /&gt;
&lt;br /&gt;
There is allready a page in this wiki for Maltego about how to create networks yourself without the use of extensions: [[Maltego]]&lt;br /&gt;
&lt;br /&gt;
=== Netdiscover ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Route Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is another reconnaissance tool that can be used for host discovery on wireless and switched networks. You can scan your subnet at home or at work, wherever your device is connected. It works through ARP requests and can detect hosts either by actively sending requests, or if you set it to passive mode, only by sniffing.&amp;lt;br&amp;gt;&lt;br /&gt;
If Nmap is too much for a given moment and you just want to see quickly who is in your network, this is the way to go. Below is a comparison of Netdiscover used on a local subnet, a very well-arranged output, and nmap, which in some situations offers &amp;lt;i&amp;gt;too much&amp;lt;/i&amp;gt;:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ netdiscover -r 192.168.0.0/24&amp;lt;/b&amp;gt;&lt;br /&gt;
 20 Captured ARP Req/Rep packets, from 16 hosts.   Total size: 1200                                                                                                                      &lt;br /&gt;
 _____________________________________________________________________________&lt;br /&gt;
   IP            At MAC Address     Count     Len  MAC Vendor / Hostname      &lt;br /&gt;
 -----------------------------------------------------------------------------&lt;br /&gt;
 192.168.0.1     00:xx:xx:xx:xx:c2      2     120  Cisco Systems, Inc                                                                                                                    &lt;br /&gt;
 192.168.0.9     00:xx:xx:xx:xx:a9      1      60  Weinzierl Engineering GmbH                                                                                                            &lt;br /&gt;
 192.168.0.10    50:xx:xx:xx:xx:c7      1      60  Loxone Electronics GmbH                                                                                                               &lt;br /&gt;
 192.168.0.80    54:xx:xx:xx:xx:a0      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.81    18:xx:xx:xx:xx:50      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.82    54:xx:xx:xx:xx:ff      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.83    28:xx:xx:xx:xx:27      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.84    18:xx:xx:xx:xx:d7      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.101   48:xx:xx:xx:xx:2e      1      60  ZENNIO AVANCE Y TECNOLOGIA, S.L.                                                                                                      &lt;br /&gt;
 192.168.0.102   00:xx:xx:xx:xx:bb      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.109   fc:xx:xx:xx:xx:f9      4     240  Ubiquiti Networks Inc.                                                                                                                &lt;br /&gt;
 192.168.0.112   04:xx:xx:xx:xx:a5      1      60  ASUSTek COMPUTER INC.                                                                                                                 &lt;br /&gt;
 192.168.0.132   00:xx:xx:xx:xx:d4      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.149   c4:xx:xx:xx:xx:48      1      60  Hewlett Packard                                                                                                                       &lt;br /&gt;
 192.168.0.172   8c:xx:xx:xx:xx:eb      1      60  Apple, Inc.                                                                                                                           &lt;br /&gt;
 192.168.0.195   f2:xx:xx:xx:xx:3a      1      60  Unknown vendor   &lt;br /&gt;
If you were to do this same information in Nmap, you would need to perform a host discovery scan first:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ nmap -sP 192.168.0.0/24 &amp;lt;/b&amp;gt;                                                                                                                                                        &lt;br /&gt;
 Starting Nmap 7.91 ( https://nmap.org ) at 2021-06-20 16:34 CEST&lt;br /&gt;
 Nmap scan report for 192.168.0.1    Host is up (0.0051s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.10   Host is up (0.00058s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.80   Host is up (0.00034s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.81   Host is up (0.0018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.82   Host is up (0.0017s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.83   Host is up (0.0037s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.84   Host is up (0.0019s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.101  Host is up (0.00045s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.102  Host is up (0.00018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.107  Host is up (0.00021s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.109  Host is up (0.00049s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.132  Host is up (0.00033s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.172  Host is up (0.089s latency).&lt;br /&gt;
 Nmap done: 256 IP addresses (13 hosts up) scanned in 2.42 seconds&lt;br /&gt;
Only then you can scan each alive host separately for their Hostname/OS/MAC address with &amp;lt;code&amp;gt;sudo nmap -O &amp;lt;IP address&amp;gt;&amp;lt;/code&amp;gt;. That is unless you want to wait several hours by scanning the whole subnet for their OS which I would not recommend since it takes so long. If you need a quick swipe, Nmap is possibly the inferior option here and could be used once you want to find out more about each host, their ports etc.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Definitely a useful tool for an initial scan, or in a case where you don&#039;t know what range to look for exactly, since it is very fast. If you just want to find alive hosts and their IPs in a big range, this would be a good option. Nmap however, offers alive hosts discovery as well, and if you turn portscan off, it will be much faster than Netdiscover. Netdiscover kind of connects the various options of Nmap by showing IPs, MACs and Hostnames and makes it fairly easy to use, without having to read the extensive documentation of Nmap in the hope to find the correct options to perform a simple initial scan.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://manpages.debian.org/unstable/netdiscover/netdiscover.8.en.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ike-scan ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Ike-scan is useful for VPN endpoints. To explain this a little, first we should know what IKE is. It is Internet Key Exchange protocol, which is used by IPsec. The majority of IPsec VPNs use IKE for key exchange. The Ike-scan tool is for discovering, testing and fingerprinting IPsec VPN systems. It sends IKE phase 1 packets to the target and displays the received responses. To be able to test this, we now need a target that we are certain uses IKE for key exchange. To achieve this, we will demonstrate this on an IP address found through www.shodan.io, where you need to search for the keyword &amp;quot;IKE&amp;quot; to find targets that satisfy this condition. For demonstration, we chose the IP 110.142.206.85, which should be a VPN in Melbourne, Australia.&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 110.142.206.85  Main Mode Handshake returned HDR=(CKY-R=49cc50cbfcf85509) SA=(Enc=3DES Hash=SHA1 Group=2:modp1024 Auth=PSK LifeType=Seconds LifeDuration=28800) VID=dbfb81eb5760b0788562067da102d755 VID=09002689dfd6b712 (XAUTH) VID=afcad71368a1f1c96b8696fc77570100 (Dead Peer Detection v1.0) VID=12f5f28c457168a9702d9fe274cc0100 (Cisco Unity)&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 0.356 seconds (2.81 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
This returns the main mode handshake and shows information like security associations (hash, encoding, authentication) and also vendor ID etc.&lt;br /&gt;
&amp;lt;br&amp;gt;The following scan tries to fingerprint the firewall in use and additionally to the previous output it shows the following:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan --showbackoff -v -v 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 DEBUG: pkt len=336 bytes, bandwidth=56000 bps, int=52000 us&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 ---     Sending packet #1 to host entry 1 (110.142.206.85) tmo 500000 us&lt;br /&gt;
 ---     Received packet #1 from 110.142.206.85&lt;br /&gt;
 ---     Removing host entry 1 (110.142.206.85) - Received 152 bytes&lt;br /&gt;
 IKE Backoff Patterns:                                                                                                                                                              &lt;br /&gt;
 IP Address      No.     Recv time               Delta Time                                                                                                                                &lt;br /&gt;
 110.142.206.85  1       1624204029.790995       0.000000                                                                                                                                  &lt;br /&gt;
 110.142.206.85  Implementation guess: Linksys Etherfast&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 60.426 seconds (0.02 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
There is a possibility to use the so called aggressive mode (default is Main Mode) which uses a 3-way-handshake where the VPN sends an unencrypted message to the client containing the hashed PSK. If you manage to capture the plaintext hash, you could use psk-crack to perform a brute force attack and try to recover the PSK (Pre-shared key).&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is not a very well known tool, however it can offer some valuable insights to experienced security experts and a possibility to use the recovered data in further exploitation/scanning.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ike-scan tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dnsenum ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - DNS Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is an efficient and well-performing tool for locating all DNS servers and DNS entries for a given organization. A basic demonstration on the example of &amp;lt;code&amp;gt;google.com&amp;lt;/code&amp;gt; is shown below (some entries have been replaced with ... to keep it as short as possible):&lt;br /&gt;
 $ dnsenum google.com                                                                             255 ⨯&lt;br /&gt;
 dnsenum VERSION:1.2.6&lt;br /&gt;
 -----   google.com   -----                                                                                                                                                                                       &lt;br /&gt;
 Host&#039;s addresses:                                                                                        &lt;br /&gt;
 __________________                                                                                       &lt;br /&gt;
 google.com.                              300      IN    A        216.58.201.78                           &lt;br /&gt;
 Name Servers:                                                                                            &lt;br /&gt;
 ______________                                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 ns2.google.com.                          345600   IN    A        216.239.34.10                           &lt;br /&gt;
 ns4.google.com.                          345600   IN    A        216.239.38.10&lt;br /&gt;
 ns1.google.com.                          345600   IN    A        216.239.32.10&lt;br /&gt;
 ns3.google.com.                          345600   IN    A        216.239.36.10&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Mail (MX) Servers:                                                                                       &lt;br /&gt;
 ___________________                                                                                      &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 aspmx.l.google.com.                      293      IN    A        173.194.69.27                           &lt;br /&gt;
 alt1.aspmx.l.google.com.                 293      IN    A        142.250.150.27&lt;br /&gt;
 alt2.aspmx.l.google.com.                 293      IN    A        74.125.200.27&lt;br /&gt;
 alt3.aspmx.l.google.com.                 293      IN    A        142.250.157.27&lt;br /&gt;
 alt4.aspmx.l.google.com.                 293      IN    A        173.194.202.26&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Trying Zone Transfers and getting Bind Versions:                                                         &lt;br /&gt;
 _________________________________________________                                                                                                                                                                 &lt;br /&gt;
 Trying Zone Transfer for google.com on ns1.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
 ...&lt;br /&gt;
 Trying Zone Transfer for google.com on ns4.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
                                                                                                    &lt;br /&gt;
 Brute forcing with /usr/share/dnsenum/dns.txt:                                                           &lt;br /&gt;
 _______________________________________________                                                          &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 about.google.com.                        0        IN    CNAME    www3.l.google.com.                      &lt;br /&gt;
 www3.l.google.com.                       300      IN    A        172.217.23.238&lt;br /&gt;
 accounts.google.com.                     300      IN    A        172.217.23.205&lt;br /&gt;
 admin.google.com.                        300      IN    A        172.217.23.206&lt;br /&gt;
 ads.google.com.                          300      IN    A        216.58.201.78&lt;br /&gt;
 america.google.com.                      0        IN    CNAME    www3.l.google.com.&lt;br /&gt;
 ...&lt;br /&gt;
 www.google.com.                          300      IN    A        172.217.23.196&lt;br /&gt;
 &lt;br /&gt;
 google.com class C netranges:                                                                            &lt;br /&gt;
 ______________________________                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 8.8.4.0/24                                                                                              &lt;br /&gt;
 8.8.8.0/24&lt;br /&gt;
 ...&lt;br /&gt;
 216.239.36.0/24&lt;br /&gt;
 216.239.38.0/24&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Performing reverse lookup on 4096 ip addresses:                                                          &lt;br /&gt;
 ________________________________________________                                                         &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 68.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.                         &lt;br /&gt;
 69.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 70.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 10.32.239.216.in-addr.arpa.              86400    IN    PTR      ns1.google.com.&lt;br /&gt;
 11.32.239.216.in-addr.arpa.              86400    IN    PTR      ns.google.com.&lt;br /&gt;
 15.32.239.216.in-addr.arpa.              86400    IN    PTR      time1.google.com.&lt;br /&gt;
 116.32.239.216.in-addr.arpa.             86400    IN    PTR      e2a.google.com.&lt;br /&gt;
 10.34.239.216.in-addr.arpa.              86400    IN    PTR      ns2.google.com.&lt;br /&gt;
 10.36.239.216.in-addr.arpa.              86400    IN    PTR      ns3.google.com.&lt;br /&gt;
 11.36.239.216.in-addr.arpa.              86400    IN    PTR      hedns1.google.com.&lt;br /&gt;
 10.38.239.216.in-addr.arpa.              86400    IN    PTR      ns4.google.com.&lt;br /&gt;
 &lt;br /&gt;
 11 results out of 4096 IP addresses.&lt;br /&gt;
                                                                                                          &lt;br /&gt;
 google.com ip blocks:                                                                                     &lt;br /&gt;
 ______________________                                                                                    &lt;br /&gt;
                                                                                                            &lt;br /&gt;
 64.9.224.68/31                                                                                           &lt;br /&gt;
 64.9.224.70/32&lt;br /&gt;
 216.239.32.10/31&lt;br /&gt;
 216.239.32.15/32&lt;br /&gt;
 216.239.32.116/32&lt;br /&gt;
 216.239.34.10/32&lt;br /&gt;
 216.239.36.10/31&lt;br /&gt;
 216.239.38.10/32&lt;br /&gt;
 &lt;br /&gt;
 done.&lt;br /&gt;
You can also use the --enum flag to gather whois information and to dig up subdomains.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A very convenient and useful tool for DNS information gathering on domains/servers etc. Results are also very well arranged and offer a clear overview.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://tools.kali.org/information-gathering/dnsenum tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Swaks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SMTP Scan&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This tool is for sending e-mails of all kinds. Now, compared to a regular e-mail client, here you can change the header, attachments, which server to talk to and more. It handles TLS, authentication, and pipelining.&lt;br /&gt;
&amp;lt;br&amp;gt;Since I don&#039;t have my own SMTP server available, for demonstration purposes we will use the Gmail&#039;s SMTP server:&lt;br /&gt;
 $ swaks -t example.receiver@gmail.com -s smtp.gmail.com:587 -tls -a LOGIN&lt;br /&gt;
You will then be prompted to enter Gmail credentials of an actual existing account. However, from security reasons, Gmail will probably block this login attempt, that&#039;s why using your own SMTP server would be ideal. To have a look at some more examples of changing headers and using different servers, please refer [https://github.com/jetmore/swaks/blob/v20201014.0/doc/base.pod here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This tool is known as the Swiss Army Knife for SMTP (=Swaks) and helps you with the complexity of setting up e-mail servers. You have many various possibilities of choosing a mail server and changing headers and other data, that you wouldn&#039;t have if you sent an email from a simple public mail server.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/swaks tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SSLdump ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SSL Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
SSLdump is a TLS/SSL network protocol analyzer that identifies TCP streams/connections from a specified port and interface and attempts to interpret them. Once it identifies SSL/TLS traffic, it decodes and displays the content in a readable form as text. If you provide a necessary key as well, it can decrypt the connection fully and display the exchanged application data traffic (&amp;lt;code&amp;gt;ssldump -Ad -k ~/privatekey.pem -p password -i eth0 host user123&amp;lt;/code&amp;gt;). Below is a demonstration of a basic command that listens to traffic on port 443 of interface eth0:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;b&amp;gt;$ sudo ssldump -i eth0 port 443&amp;lt;/b&amp;gt;                                                                                                                                                 &lt;br /&gt;
 New TCP connection #2: 192.168.0.102(53984) &amp;lt;-&amp;gt; edge-star-mini-shv-01-vie1.facebook.com(443)&lt;br /&gt;
 2 1  0.0096 (0.0096)  C&amp;gt;S  Handshake&lt;br /&gt;
      ClientHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        resume [32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipher suites&lt;br /&gt;
        TLS_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_3DES_EDE_CBC_SHA&lt;br /&gt;
        compression methods&lt;br /&gt;
                  NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          server_name&lt;br /&gt;
              host_name: www.facebook.com&lt;br /&gt;
          extended_master_secret&lt;br /&gt;
          renegotiation_info&lt;br /&gt;
          supported_groups&lt;br /&gt;
          ec_point_formats&lt;br /&gt;
          session_ticket&lt;br /&gt;
          application_layer_protocol_negotiation&lt;br /&gt;
          status_request&lt;br /&gt;
          key_share&lt;br /&gt;
          supported_versions&lt;br /&gt;
          signature_algorithms&lt;br /&gt;
          psk_key_exchange_modes&lt;br /&gt;
          record_size_limit&lt;br /&gt;
          padding&lt;br /&gt;
        ja3 string:  &lt;br /&gt;
 771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53-10,0-23-65281-10-11-35-16-5-51-43-13-45-28-21,29-23-24-25-256-257,0&lt;br /&gt;
        ja3 fingerprint: aa7744226c695c0b2e440419848cf700&lt;br /&gt;
 2 2  0.0146 (0.0049)  S&amp;gt;C  Handshake&lt;br /&gt;
      ServerHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        session_id[32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipherSuite         TLS_AES_128_GCM_SHA256&lt;br /&gt;
        compressionMethod                   NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          supported_versions&lt;br /&gt;
          key_share&lt;br /&gt;
        ja3s string: 771,4865,43-51&lt;br /&gt;
        ja3s fingerprint: f4febc55ea12b31ae17cfb7e614afda8&lt;br /&gt;
 2 3  0.0146 (0.0000)  S&amp;gt;C  ChangeCipherSpec&lt;br /&gt;
 2 4  0.0146 (0.0000)  S&amp;gt;C  application_data&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This seems to be a very powerful tool with which you can actually sniff SSL encrypted traffic, and even if you don&#039;t have the private key, you can see the TLS handshake and the hello&#039;s from client  and server together with their exchanged cipher suites.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ssldump tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What&#039;s different in ParrotOS? ==&lt;br /&gt;
As we know, you can install any tools from Kali also on ParrotOS, and the other way around, that&#039;s why in this context, the preinstalled tools are meant. Overall you can say, that the &amp;quot;main&amp;quot; tools are the same on both operating systems.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:ComparisonKaliParr.png|thumb|none|500px|Information Gathering Tools Menu Preview Comparison]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
On the first glance the tools look very similar, however when you click on the the various sub-categories, you can see that Parrot offers a greater range of tools. Refer to the table below for a detailed overview:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 50%&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt;Tool Category&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Kali&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Parrot&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;DNS Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsdict6&lt;br /&gt;
&amp;lt;br&amp;gt;dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsmap&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;dnstracer&lt;br /&gt;
&amp;lt;br&amp;gt;dnswalk&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&lt;br /&gt;
&amp;lt;br&amp;gt;gobuster&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;IDS/IPS Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd &lt;br /&gt;
&amp;lt;br&amp;gt;wafw00f&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd&lt;br /&gt;
&amp;lt;br&amp;gt;fragrouter&lt;br /&gt;
&amp;lt;br&amp;gt;ftest&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Live Host Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;cdpsnarf&lt;br /&gt;
&amp;lt;br&amp;gt;detect-new-ip6&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;inverse_lookup6&lt;br /&gt;
&amp;lt;br&amp;gt;ncat&lt;br /&gt;
&amp;lt;br&amp;gt;passive_discovery6&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&lt;br /&gt;
&amp;lt;br&amp;gt;xprobe2&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Network &amp;amp; port scanners&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
amap&lt;br /&gt;
&amp;lt;br&amp;gt;etherape&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&lt;br /&gt;
&amp;lt;br&amp;gt;unicornscan&lt;br /&gt;
&amp;lt;br&amp;gt;wireshark&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;OSINT Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
maltego&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot-cli&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
casefile&lt;br /&gt;
&amp;lt;br&amp;gt;maltego&lt;br /&gt;
&amp;lt;br&amp;gt;metagoofil&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Route Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
netdiscover&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
0trace&lt;br /&gt;
&amp;lt;br&amp;gt;intrace&lt;br /&gt;
&amp;lt;br&amp;gt;irpas-ass&lt;br /&gt;
&amp;lt;br&amp;gt;irpass-cdp&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&lt;br /&gt;
&amp;lt;br&amp;gt;trace6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMB Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMTP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;swaks&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
smtp-user-enum&lt;br /&gt;
&amp;lt;br&amp;gt;swaks&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SNMP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
braa&lt;br /&gt;
&amp;lt;br&amp;gt;onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SSL Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.parrotsec.org/docs/&lt;br /&gt;
* https://www.kali.org/docs/&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7605</id>
		<title>Information Gathering Tools</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7605"/>
		<updated>2021-06-24T08:21:19Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This is a draft. Comparing various available pre-installed information gathering tools in Kali and comparing differences to ParrotOS. This document is &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; a documentation of the tools, it is merely a comparison and practical evaluation of the tools for an average security specialist or a security newbie wanting to start using the tools.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Operating system: Kali Linux 2021.1 amd64, Parrot Security 4.10 amd64&lt;br /&gt;
Disclaimer: all possible examples and tests done have been done in VMWare in a Kali Linux 2021.1 and the commands are up-to-date as of 21st June 2021.&lt;br /&gt;
&lt;br /&gt;
== Tools==&lt;br /&gt;
&lt;br /&gt;
=== Nmap ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Network &amp;amp; Port Scanners&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Nmap is known to be a very powerful tool for information gathering and vulnerability scanning. It offers loads of options, offering for example for host discovery, scans (TCP, UDP, IP...), service/version detection, OS detection, firewalls/IDS evasion and spoofing, script scanning etc. Since this is not meant to be a [https://nmap.org/book/man.html full documentation] of the tools, but rather an evaluation overview, compared to the other tools in this category, Nmap is the one main tool that most of the other secondary tools are using and it is very powerful. See the following tools for some comparison and Nmap examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;If your goal is to perform a network scan to determine alive hosts, open ports, used systems on ports or used operation systems on the hosts, this would be the way to go. It is fast and efficient (speed depends on the range of hosts and ports scanned though). The other tools that offer these results are using Nmap anyway, for example the way DMitry or Legion use it.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://nmap.org/book/man.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spiderfoot ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is a reconnaissance framework that uses many modules for information gathering, working on the OSINT principle. You can access a GUI by starting the framework on a port on localhost and accessing that address via web browser once it starts:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;$ spiderfoot -l 127.0.0.1:5001&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can then set up a new scan, where you would give the program a target: this can be a domain/sub-domain name, IPv4 or IPv6 address, hostname, subnet, ASN, e-mail address, phone number, a person&#039;s actual name or username. This gives a really wide spectrum on options. The full scan is demonstrated below.&lt;br /&gt;
 scan www.fh-campuswien.ac.at for a full scan, where you &amp;quot;get anything and everything about the target&amp;quot;:&lt;br /&gt;
Execution takes &amp;lt;b&amp;gt;many days&amp;lt;/b&amp;gt;, depending on the size of the target and the information available on the internet to that target. This specific inquiry took several days to complete and collect all information. Some parts of the information is displayed below, however the results were much more extensive:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Spiderscan.png|thumb|none|800px|Results of Spiderfoot Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is a very good and very powerful reconnaissance framework. It really collects &amp;quot;anything and everything&amp;quot; about a target, as it states. The scans take a very long time, but the amount of information connected is priceless, it really searches through the whole www to provide any and every connection to the target. Based on the very user friendly and well-arranged GUI it is quite good for beginners too, however the amount of data delivered is useful only for professional security analysts who know what to do with the results, how to navigate them and how to interpret them.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://www.spiderfoot.net/documentation/ tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Legion ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Legion is a GUI tool, a network penetration testing framework, that offers many options. It automatically detects CVEs and provides nmap, Vulners, whataweb, webslayer, sslyzer, SMBenum, dirbuster, nikto, Hydra and other additional scripts. Its execution takes up to a couple of minutes. A demonstration: &lt;br /&gt;
 scan www.fh-campuswien.ac.at&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Legion scan.png|thumb|none|600px|Results of Legion Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
No CVEs have been found. &amp;lt;br&amp;gt;Below is a comparison with the Metasploitable2 machine that can be found in the same subnet, so that it is clear how the vulnerabilities are shown in an actual weak system:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Meta legion.png|thumb|none|1000px|Results of Legion Scan on Metasploitable2 VM]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
It is safe to say that it is a very powerful and useful tool, also very user friendly and quite fast. Maybe not the best for domains in the internet because it won&#039;t offer much more information than nmap and whois lookup, but when you look at the metasploitable output, so a scan of a server, you can see how much information is shown. The implementation of Hydra also gets you the cracked passwords in the vulnerabilities which is very useful.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall definitely a recommended tool, nice GUI, works quickly and efficiently and is very well arranged and easy to navigate.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://govanguard.com/legion/#about-legion official Legion Framework website].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== DMitry===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
DMitry is a CLI tool to gather information about a host - possible subdomains, uptime information, tcp port scan, email addresses, whois lookups etc. It is mostly used to reveal information that exists through search engines about the owner or host of a web page, i.e. for social engineering attacks.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
When using the portscan option, the results show less open ports than doing that same TCP scan with nmap. &lt;br /&gt;
&amp;lt;br&amp;gt; DMitry:&lt;br /&gt;
 HostIP:192.168.0.130                                                                                                                                                                    &lt;br /&gt;
 HostName:                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
 Gathered TCP Port information for 192.168.0.130                                                                                                                                                                                                                                                                               &lt;br /&gt;
 Port           State&lt;br /&gt;
 23/tcp          open&lt;br /&gt;
 Portscan Finished: Scanned 150 ports, 148 ports were in state closed&lt;br /&gt;
Nmap:&lt;br /&gt;
 Nmap scan report for 192.168.0.130&lt;br /&gt;
 Host is up (0.20s latency).&lt;br /&gt;
 Not shown: 996 closed ports&lt;br /&gt;
 PORT     STATE SERVICE&lt;br /&gt;
 23/tcp   open  telnet&lt;br /&gt;
 554/tcp  open  rtsp&lt;br /&gt;
 843/tcp  open  unknown&lt;br /&gt;
 5001/tcp open  commplex-link&lt;br /&gt;
 MAC Address: 7C:DD:90:AF:4E:7D (Shenzhen Ogemray Technology)&lt;br /&gt;
 Nmap done: 1 IP address (1 host up) scanned in 2.33 seconds&lt;br /&gt;
&lt;br /&gt;
To find out information about a domain, you need either the IP or the domain same. &lt;br /&gt;
&amp;lt;br&amp;gt;Whois lookup on the other hand gets you some nice useful results. Below is an example of using &amp;lt;code&amp;gt;dmitry -w www.fh-campuswien.ac.at&amp;lt;/code&amp;gt; on the college website of FH Campus Wien www.fh-campuswien.ac.at, and it just goes to show that it is exactly the same output as if you were to type &amp;lt;code&amp;gt;whois fh-campuswien.ac.at&amp;lt;/code&amp;gt;&lt;br /&gt;
 HostIP:91.213.77.62&lt;br /&gt;
 HostName:www.fh-campuswien.ac.at&lt;br /&gt;
 Gathered Inic-whois information for fh-campuswien.ac.at&lt;br /&gt;
 ---------------------------------&lt;br /&gt;
 domain:         fh-campuswien.ac.at&lt;br /&gt;
 registrar:      &lt;br /&gt;
 registrant:     FCW1942152-NICAT&lt;br /&gt;
 admin-c:        &amp;lt;data not disclosed&amp;gt;&lt;br /&gt;
 tech-c:         NLTU11579014-NICAT&lt;br /&gt;
 nserver:        ns.nextlayer.at&lt;br /&gt;
 remarks:        81.16.150.30&lt;br /&gt;
 nserver:        ns2.nextlayer.at&lt;br /&gt;
 remarks:        81.16.151.30&lt;br /&gt;
 changed:        20171003 19:16:08&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     &lt;br /&gt;
 organization:   fh campus wien&lt;br /&gt;
 street address: Favoritenstrasse 226&lt;br /&gt;
 postal code:    A-1100&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43160668771000&lt;br /&gt;
 fax-no:         +43160668771009&lt;br /&gt;
 e-mail:         office@fh-campuswien.ac.at&lt;br /&gt;
 nic-hdl:        FCW1942152-NICAT&lt;br /&gt;
 changed:        20100323 17:12:46&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     Hostmaster Hostmaster&lt;br /&gt;
 organization:   next layer Telekommunikationsdienstleistungs- und BeratungsGmbH&lt;br /&gt;
 street address: Mariahilfer Guertel 37- 7&lt;br /&gt;
 postal code:    1150&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43517649&lt;br /&gt;
 e-mail:         hostmaster@nextlayer.at&lt;br /&gt;
 nic-hdl:        NLTU11579014-NICAT&lt;br /&gt;
 changed:        20170929 13:17:54&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall a nice tool, useful for beginners who don&#039;t have experience with the basic tools yet. However, to an experienced IT Security specialist, the tools that DMitry is based on, like nmap and whois would be the better choice to use here, since they just offer you the same output and nmap and whois itself offer much more options. One drawback however is that you need to install whois separately, whilst DMitry will be in the preinstalled set of tools. When it comes to portscan, it offers pretty insufficient results in DMitry.&lt;br /&gt;
This tool is fairly outdated nowadays, although it used to be very good a few years ago. Now there are better alternatives.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/dmitry tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recon-ng ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
On the first glance, it looks very similar to Metasploit. You can start it via the command line and enter an environment in the shell. It is a python web reconnaissance framework designed specifically for web-based information gathering, and is, unlike Metasploit, not an exploitation framework.&amp;lt;br&amp;gt;&lt;br /&gt;
To navigate it, always utilize the help flag to view possible options. At first, you won&#039;t have any modules enables/installed, which is kind of confusing and one really has to look into the documentation first before using it because the shell environment isn&#039;t that intuitive.&amp;lt;br&amp;gt;&lt;br /&gt;
To view available modules, use &amp;lt;code&amp;gt;show modules&amp;lt;/code&amp;gt;. When you want to start now, create a workspace first where your retrieved data will be saved:&lt;br /&gt;
 [recon-ng][default] &amp;gt; workspaces create test&lt;br /&gt;
Now install the module you would like to use, we will use hackertarget to get subdomains. You can use &amp;lt;code&amp;gt;marketplace search hackertarget&amp;lt;/code&amp;gt; to view the module and install it by:&lt;br /&gt;
 [recon-ng][test] &amp;gt; marketplace install hackertarget &lt;br /&gt;
   [*] Module installed: recon/domains-hosts/hackertarget&lt;br /&gt;
   [*] Reloading modules...&lt;br /&gt;
Now we will load the module and set the source of input, which we want to retrieve data from. With the command &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; you can view the current source. Execute the module with &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;:&lt;br /&gt;
 [recon-ng][test] &amp;gt; modules load hackertarget&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  options set SOURCE tesla.com&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  run&lt;br /&gt;
This will get you 27 found hosts, after the &amp;lt;code&amp;gt;show hosts&amp;lt;/code&amp;gt; command you can review them in an arranged list:&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | rowid |            host           |   ip_address   | region | country | latitude | longitude | notes |    module    |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | 1     | tesla.com                 | 199.66.11.62   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 2     | o7.ptr6980.tesla.com      | 149.72.144.42  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 3     | vpn1.tesla.com            | 8.45.124.215   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 4     | model3.tesla.com          | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 5     | o3.ptr1444.tesla.com      | 149.72.152.236 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 6     | o2.ptr556.tesla.com       | 149.72.134.64  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 7     | o5.ptr8466.tesla.com      | 149.72.172.170 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 8     | o6.ptr9437.tesla.com      | 168.245.123.10 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 9     | o4.ptr1867.tesla.com      | 149.72.163.58  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 10    | mobile.tesla.com          | 209.133.79.82  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 11    | marketing.tesla.com       | 13.111.47.196  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 12    | o1.ptr2410.link.tesla.com | 149.72.247.52  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 13    | referral.tesla.com        | 72.10.32.90    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 14    | mta2.email.tesla.com      | 13.111.4.231   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 15    | mta.email.tesla.com       | 13.111.14.190  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 16    | xmail.tesla.com           | 204.74.99.100  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 17    | comparison.tesla.com      | 64.125.183.133 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 18    | emails.tesla.com          | 13.111.18.27   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 19    | mta2.emails.tesla.com     | 13.111.88.1    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 20    | mta3.emails.tesla.com     | 13.111.88.2    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 21    | mta4.emails.tesla.com     | 13.111.88.52   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 22    | mta5.emails.tesla.com     | 13.111.88.53   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 23    | mta.emails.tesla.com      | 13.111.62.118  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 24    | click.emails.tesla.com    | 13.111.48.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 25    | view.emails.tesla.com     | 13.111.49.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 26    | events.tesla.com          | 13.111.47.195  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 27    | shop.eu.tesla.com         | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
Disclaimer: the used Recon-ng version here is &amp;lt;code&amp;gt;recon-ng v5.1.1&amp;lt;/code&amp;gt;, which is important to note, because countless tutorials on the internet refer to older commands which no longer work, so you kind of really have to play around with it to see which modules work (because some don&#039;t) and what commands are available by always utilizing the &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; flag along the way.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A powerful framework that offers many modules to perform reconnaissance on web-hosts. Personally would not recommend to newbies, simply because it is not that easy and intuitive to navigate, some modules are not working and the documentation is pretty lacking, with internet tutorials often showing old versions of commands.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the official [https://tools.kali.org/information-gathering/recon-ng documentation] or Github, however the documentation in this case is quite lacking.&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Maltego ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Maltego is a graphical footprinting tool with quite some extensions available. With the preinstalled extensions you can allready footprint any domain and view it as a tree. where this tree is formatted according to the amount discovered and may change to a mesh view, if it would get too crowded.&lt;br /&gt;
&lt;br /&gt;
[[File:Elvis.science.png|thumb|none|700px|Example footprinting of elvis.science]]&lt;br /&gt;
&lt;br /&gt;
There is allready a page in this wiki for Maltego about how to create networks yourself without the use of extensions: [[https://wiki.elvis.science/index.php?title=Maltego|Documetation/Maltego]]&lt;br /&gt;
&lt;br /&gt;
=== Netdiscover ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Route Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is another reconnaissance tool that can be used for host discovery on wireless and switched networks. You can scan your subnet at home or at work, wherever your device is connected. It works through ARP requests and can detect hosts either by actively sending requests, or if you set it to passive mode, only by sniffing.&amp;lt;br&amp;gt;&lt;br /&gt;
If Nmap is too much for a given moment and you just want to see quickly who is in your network, this is the way to go. Below is a comparison of Netdiscover used on a local subnet, a very well-arranged output, and nmap, which in some situations offers &amp;lt;i&amp;gt;too much&amp;lt;/i&amp;gt;:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ netdiscover -r 192.168.0.0/24&amp;lt;/b&amp;gt;&lt;br /&gt;
 20 Captured ARP Req/Rep packets, from 16 hosts.   Total size: 1200                                                                                                                      &lt;br /&gt;
 _____________________________________________________________________________&lt;br /&gt;
   IP            At MAC Address     Count     Len  MAC Vendor / Hostname      &lt;br /&gt;
 -----------------------------------------------------------------------------&lt;br /&gt;
 192.168.0.1     00:xx:xx:xx:xx:c2      2     120  Cisco Systems, Inc                                                                                                                    &lt;br /&gt;
 192.168.0.9     00:xx:xx:xx:xx:a9      1      60  Weinzierl Engineering GmbH                                                                                                            &lt;br /&gt;
 192.168.0.10    50:xx:xx:xx:xx:c7      1      60  Loxone Electronics GmbH                                                                                                               &lt;br /&gt;
 192.168.0.80    54:xx:xx:xx:xx:a0      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.81    18:xx:xx:xx:xx:50      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.82    54:xx:xx:xx:xx:ff      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.83    28:xx:xx:xx:xx:27      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.84    18:xx:xx:xx:xx:d7      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.101   48:xx:xx:xx:xx:2e      1      60  ZENNIO AVANCE Y TECNOLOGIA, S.L.                                                                                                      &lt;br /&gt;
 192.168.0.102   00:xx:xx:xx:xx:bb      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.109   fc:xx:xx:xx:xx:f9      4     240  Ubiquiti Networks Inc.                                                                                                                &lt;br /&gt;
 192.168.0.112   04:xx:xx:xx:xx:a5      1      60  ASUSTek COMPUTER INC.                                                                                                                 &lt;br /&gt;
 192.168.0.132   00:xx:xx:xx:xx:d4      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.149   c4:xx:xx:xx:xx:48      1      60  Hewlett Packard                                                                                                                       &lt;br /&gt;
 192.168.0.172   8c:xx:xx:xx:xx:eb      1      60  Apple, Inc.                                                                                                                           &lt;br /&gt;
 192.168.0.195   f2:xx:xx:xx:xx:3a      1      60  Unknown vendor   &lt;br /&gt;
If you were to do this same information in Nmap, you would need to perform a host discovery scan first:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ nmap -sP 192.168.0.0/24 &amp;lt;/b&amp;gt;                                                                                                                                                        &lt;br /&gt;
 Starting Nmap 7.91 ( https://nmap.org ) at 2021-06-20 16:34 CEST&lt;br /&gt;
 Nmap scan report for 192.168.0.1    Host is up (0.0051s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.10   Host is up (0.00058s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.80   Host is up (0.00034s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.81   Host is up (0.0018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.82   Host is up (0.0017s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.83   Host is up (0.0037s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.84   Host is up (0.0019s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.101  Host is up (0.00045s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.102  Host is up (0.00018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.107  Host is up (0.00021s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.109  Host is up (0.00049s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.132  Host is up (0.00033s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.172  Host is up (0.089s latency).&lt;br /&gt;
 Nmap done: 256 IP addresses (13 hosts up) scanned in 2.42 seconds&lt;br /&gt;
Only then you can scan each alive host separately for their Hostname/OS/MAC address with &amp;lt;code&amp;gt;sudo nmap -O &amp;lt;IP address&amp;gt;&amp;lt;/code&amp;gt;. That is unless you want to wait several hours by scanning the whole subnet for their OS which I would not recommend since it takes so long. If you need a quick swipe, Nmap is possibly the inferior option here and could be used once you want to find out more about each host, their ports etc.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Definitely a useful tool for an initial scan, or in a case where you don&#039;t know what range to look for exactly, since it is very fast. If you just want to find alive hosts and their IPs in a big range, this would be a good option. Nmap however, offers alive hosts discovery as well, and if you turn portscan off, it will be much faster than Netdiscover. Netdiscover kind of connects the various options of Nmap by showing IPs, MACs and Hostnames and makes it fairly easy to use, without having to read the extensive documentation of Nmap in the hope to find the correct options to perform a simple initial scan.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://manpages.debian.org/unstable/netdiscover/netdiscover.8.en.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ike-scan ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Ike-scan is useful for VPN endpoints. To explain this a little, first we should know what IKE is. It is Internet Key Exchange protocol, which is used by IPsec. The majority of IPsec VPNs use IKE for key exchange. The Ike-scan tool is for discovering, testing and fingerprinting IPsec VPN systems. It sends IKE phase 1 packets to the target and displays the received responses. To be able to test this, we now need a target that we are certain uses IKE for key exchange. To achieve this, we will demonstrate this on an IP address found through www.shodan.io, where you need to search for the keyword &amp;quot;IKE&amp;quot; to find targets that satisfy this condition. For demonstration, we chose the IP 110.142.206.85, which should be a VPN in Melbourne, Australia.&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 110.142.206.85  Main Mode Handshake returned HDR=(CKY-R=49cc50cbfcf85509) SA=(Enc=3DES Hash=SHA1 Group=2:modp1024 Auth=PSK LifeType=Seconds LifeDuration=28800) VID=dbfb81eb5760b0788562067da102d755 VID=09002689dfd6b712 (XAUTH) VID=afcad71368a1f1c96b8696fc77570100 (Dead Peer Detection v1.0) VID=12f5f28c457168a9702d9fe274cc0100 (Cisco Unity)&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 0.356 seconds (2.81 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
This returns the main mode handshake and shows information like security associations (hash, encoding, authentication) and also vendor ID etc.&lt;br /&gt;
&amp;lt;br&amp;gt;The following scan tries to fingerprint the firewall in use and additionally to the previous output it shows the following:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan --showbackoff -v -v 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 DEBUG: pkt len=336 bytes, bandwidth=56000 bps, int=52000 us&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 ---     Sending packet #1 to host entry 1 (110.142.206.85) tmo 500000 us&lt;br /&gt;
 ---     Received packet #1 from 110.142.206.85&lt;br /&gt;
 ---     Removing host entry 1 (110.142.206.85) - Received 152 bytes&lt;br /&gt;
 IKE Backoff Patterns:                                                                                                                                                              &lt;br /&gt;
 IP Address      No.     Recv time               Delta Time                                                                                                                                &lt;br /&gt;
 110.142.206.85  1       1624204029.790995       0.000000                                                                                                                                  &lt;br /&gt;
 110.142.206.85  Implementation guess: Linksys Etherfast&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 60.426 seconds (0.02 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
There is a possibility to use the so called aggressive mode (default is Main Mode) which uses a 3-way-handshake where the VPN sends an unencrypted message to the client containing the hashed PSK. If you manage to capture the plaintext hash, you could use psk-crack to perform a brute force attack and try to recover the PSK (Pre-shared key).&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is not a very well known tool, however it can offer some valuable insights to experienced security experts and a possibility to use the recovered data in further exploitation/scanning.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ike-scan tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dnsenum ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - DNS Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is an efficient and well-performing tool for locating all DNS servers and DNS entries for a given organization. A basic demonstration on the example of &amp;lt;code&amp;gt;google.com&amp;lt;/code&amp;gt; is shown below (some entries have been replaced with ... to keep it as short as possible):&lt;br /&gt;
 $ dnsenum google.com                                                                             255 ⨯&lt;br /&gt;
 dnsenum VERSION:1.2.6&lt;br /&gt;
 -----   google.com   -----                                                                                                                                                                                       &lt;br /&gt;
 Host&#039;s addresses:                                                                                        &lt;br /&gt;
 __________________                                                                                       &lt;br /&gt;
 google.com.                              300      IN    A        216.58.201.78                           &lt;br /&gt;
 Name Servers:                                                                                            &lt;br /&gt;
 ______________                                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 ns2.google.com.                          345600   IN    A        216.239.34.10                           &lt;br /&gt;
 ns4.google.com.                          345600   IN    A        216.239.38.10&lt;br /&gt;
 ns1.google.com.                          345600   IN    A        216.239.32.10&lt;br /&gt;
 ns3.google.com.                          345600   IN    A        216.239.36.10&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Mail (MX) Servers:                                                                                       &lt;br /&gt;
 ___________________                                                                                      &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 aspmx.l.google.com.                      293      IN    A        173.194.69.27                           &lt;br /&gt;
 alt1.aspmx.l.google.com.                 293      IN    A        142.250.150.27&lt;br /&gt;
 alt2.aspmx.l.google.com.                 293      IN    A        74.125.200.27&lt;br /&gt;
 alt3.aspmx.l.google.com.                 293      IN    A        142.250.157.27&lt;br /&gt;
 alt4.aspmx.l.google.com.                 293      IN    A        173.194.202.26&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Trying Zone Transfers and getting Bind Versions:                                                         &lt;br /&gt;
 _________________________________________________                                                                                                                                                                 &lt;br /&gt;
 Trying Zone Transfer for google.com on ns1.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
 ...&lt;br /&gt;
 Trying Zone Transfer for google.com on ns4.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
                                                                                                    &lt;br /&gt;
 Brute forcing with /usr/share/dnsenum/dns.txt:                                                           &lt;br /&gt;
 _______________________________________________                                                          &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 about.google.com.                        0        IN    CNAME    www3.l.google.com.                      &lt;br /&gt;
 www3.l.google.com.                       300      IN    A        172.217.23.238&lt;br /&gt;
 accounts.google.com.                     300      IN    A        172.217.23.205&lt;br /&gt;
 admin.google.com.                        300      IN    A        172.217.23.206&lt;br /&gt;
 ads.google.com.                          300      IN    A        216.58.201.78&lt;br /&gt;
 america.google.com.                      0        IN    CNAME    www3.l.google.com.&lt;br /&gt;
 ...&lt;br /&gt;
 www.google.com.                          300      IN    A        172.217.23.196&lt;br /&gt;
 &lt;br /&gt;
 google.com class C netranges:                                                                            &lt;br /&gt;
 ______________________________                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 8.8.4.0/24                                                                                              &lt;br /&gt;
 8.8.8.0/24&lt;br /&gt;
 ...&lt;br /&gt;
 216.239.36.0/24&lt;br /&gt;
 216.239.38.0/24&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Performing reverse lookup on 4096 ip addresses:                                                          &lt;br /&gt;
 ________________________________________________                                                         &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 68.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.                         &lt;br /&gt;
 69.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 70.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 10.32.239.216.in-addr.arpa.              86400    IN    PTR      ns1.google.com.&lt;br /&gt;
 11.32.239.216.in-addr.arpa.              86400    IN    PTR      ns.google.com.&lt;br /&gt;
 15.32.239.216.in-addr.arpa.              86400    IN    PTR      time1.google.com.&lt;br /&gt;
 116.32.239.216.in-addr.arpa.             86400    IN    PTR      e2a.google.com.&lt;br /&gt;
 10.34.239.216.in-addr.arpa.              86400    IN    PTR      ns2.google.com.&lt;br /&gt;
 10.36.239.216.in-addr.arpa.              86400    IN    PTR      ns3.google.com.&lt;br /&gt;
 11.36.239.216.in-addr.arpa.              86400    IN    PTR      hedns1.google.com.&lt;br /&gt;
 10.38.239.216.in-addr.arpa.              86400    IN    PTR      ns4.google.com.&lt;br /&gt;
 &lt;br /&gt;
 11 results out of 4096 IP addresses.&lt;br /&gt;
                                                                                                          &lt;br /&gt;
 google.com ip blocks:                                                                                     &lt;br /&gt;
 ______________________                                                                                    &lt;br /&gt;
                                                                                                            &lt;br /&gt;
 64.9.224.68/31                                                                                           &lt;br /&gt;
 64.9.224.70/32&lt;br /&gt;
 216.239.32.10/31&lt;br /&gt;
 216.239.32.15/32&lt;br /&gt;
 216.239.32.116/32&lt;br /&gt;
 216.239.34.10/32&lt;br /&gt;
 216.239.36.10/31&lt;br /&gt;
 216.239.38.10/32&lt;br /&gt;
 &lt;br /&gt;
 done.&lt;br /&gt;
You can also use the --enum flag to gather whois information and to dig up subdomains.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A very convenient and useful tool for DNS information gathering on domains/servers etc. Results are also very well arranged and offer a clear overview.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://tools.kali.org/information-gathering/dnsenum tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Swaks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SMTP Scan&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This tool is for sending e-mails of all kinds. Now, compared to a regular e-mail client, here you can change the header, attachments, which server to talk to and more. It handles TLS, authentication, and pipelining.&lt;br /&gt;
&amp;lt;br&amp;gt;Since I don&#039;t have my own SMTP server available, for demonstration purposes we will use the Gmail&#039;s SMTP server:&lt;br /&gt;
 $ swaks -t example.receiver@gmail.com -s smtp.gmail.com:587 -tls -a LOGIN&lt;br /&gt;
You will then be prompted to enter Gmail credentials of an actual existing account. However, from security reasons, Gmail will probably block this login attempt, that&#039;s why using your own SMTP server would be ideal. To have a look at some more examples of changing headers and using different servers, please refer [https://github.com/jetmore/swaks/blob/v20201014.0/doc/base.pod here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This tool is known as the Swiss Army Knife for SMTP (=Swaks) and helps you with the complexity of setting up e-mail servers. You have many various possibilities of choosing a mail server and changing headers and other data, that you wouldn&#039;t have if you sent an email from a simple public mail server.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/swaks tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SSLdump ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SSL Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
SSLdump is a TLS/SSL network protocol analyzer that identifies TCP streams/connections from a specified port and interface and attempts to interpret them. Once it identifies SSL/TLS traffic, it decodes and displays the content in a readable form as text. If you provide a necessary key as well, it can decrypt the connection fully and display the exchanged application data traffic (&amp;lt;code&amp;gt;ssldump -Ad -k ~/privatekey.pem -p password -i eth0 host user123&amp;lt;/code&amp;gt;). Below is a demonstration of a basic command that listens to traffic on port 443 of interface eth0:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;b&amp;gt;$ sudo ssldump -i eth0 port 443&amp;lt;/b&amp;gt;                                                                                                                                                 &lt;br /&gt;
 New TCP connection #2: 192.168.0.102(53984) &amp;lt;-&amp;gt; edge-star-mini-shv-01-vie1.facebook.com(443)&lt;br /&gt;
 2 1  0.0096 (0.0096)  C&amp;gt;S  Handshake&lt;br /&gt;
      ClientHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        resume [32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipher suites&lt;br /&gt;
        TLS_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_3DES_EDE_CBC_SHA&lt;br /&gt;
        compression methods&lt;br /&gt;
                  NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          server_name&lt;br /&gt;
              host_name: www.facebook.com&lt;br /&gt;
          extended_master_secret&lt;br /&gt;
          renegotiation_info&lt;br /&gt;
          supported_groups&lt;br /&gt;
          ec_point_formats&lt;br /&gt;
          session_ticket&lt;br /&gt;
          application_layer_protocol_negotiation&lt;br /&gt;
          status_request&lt;br /&gt;
          key_share&lt;br /&gt;
          supported_versions&lt;br /&gt;
          signature_algorithms&lt;br /&gt;
          psk_key_exchange_modes&lt;br /&gt;
          record_size_limit&lt;br /&gt;
          padding&lt;br /&gt;
        ja3 string:  &lt;br /&gt;
 771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53-10,0-23-65281-10-11-35-16-5-51-43-13-45-28-21,29-23-24-25-256-257,0&lt;br /&gt;
        ja3 fingerprint: aa7744226c695c0b2e440419848cf700&lt;br /&gt;
 2 2  0.0146 (0.0049)  S&amp;gt;C  Handshake&lt;br /&gt;
      ServerHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        session_id[32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipherSuite         TLS_AES_128_GCM_SHA256&lt;br /&gt;
        compressionMethod                   NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          supported_versions&lt;br /&gt;
          key_share&lt;br /&gt;
        ja3s string: 771,4865,43-51&lt;br /&gt;
        ja3s fingerprint: f4febc55ea12b31ae17cfb7e614afda8&lt;br /&gt;
 2 3  0.0146 (0.0000)  S&amp;gt;C  ChangeCipherSpec&lt;br /&gt;
 2 4  0.0146 (0.0000)  S&amp;gt;C  application_data&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This seems to be a very powerful tool with which you can actually sniff SSL encrypted traffic, and even if you don&#039;t have the private key, you can see the TLS handshake and the hello&#039;s from client  and server together with their exchanged cipher suites.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ssldump tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What&#039;s different in ParrotOS? ==&lt;br /&gt;
As we know, you can install any tools from Kali also on ParrotOS, and the other way around, that&#039;s why in this context, the preinstalled tools are meant. Overall you can say, that the &amp;quot;main&amp;quot; tools are the same on both operating systems.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:ComparisonKaliParr.png|thumb|none|500px|Information Gathering Tools Menu Preview Comparison]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
On the first glance the tools look very similar, however when you click on the the various sub-categories, you can see that Parrot offers a greater range of tools. Refer to the table below for a detailed overview:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 50%&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt;Tool Category&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Kali&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Parrot&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;DNS Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsdict6&lt;br /&gt;
&amp;lt;br&amp;gt;dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsmap&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;dnstracer&lt;br /&gt;
&amp;lt;br&amp;gt;dnswalk&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&lt;br /&gt;
&amp;lt;br&amp;gt;gobuster&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;IDS/IPS Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd &lt;br /&gt;
&amp;lt;br&amp;gt;wafw00f&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd&lt;br /&gt;
&amp;lt;br&amp;gt;fragrouter&lt;br /&gt;
&amp;lt;br&amp;gt;ftest&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Live Host Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;cdpsnarf&lt;br /&gt;
&amp;lt;br&amp;gt;detect-new-ip6&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;inverse_lookup6&lt;br /&gt;
&amp;lt;br&amp;gt;ncat&lt;br /&gt;
&amp;lt;br&amp;gt;passive_discovery6&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&lt;br /&gt;
&amp;lt;br&amp;gt;xprobe2&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Network &amp;amp; port scanners&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
amap&lt;br /&gt;
&amp;lt;br&amp;gt;etherape&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&lt;br /&gt;
&amp;lt;br&amp;gt;unicornscan&lt;br /&gt;
&amp;lt;br&amp;gt;wireshark&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;OSINT Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
maltego&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot-cli&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
casefile&lt;br /&gt;
&amp;lt;br&amp;gt;maltego&lt;br /&gt;
&amp;lt;br&amp;gt;metagoofil&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Route Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
netdiscover&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
0trace&lt;br /&gt;
&amp;lt;br&amp;gt;intrace&lt;br /&gt;
&amp;lt;br&amp;gt;irpas-ass&lt;br /&gt;
&amp;lt;br&amp;gt;irpass-cdp&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&lt;br /&gt;
&amp;lt;br&amp;gt;trace6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMB Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMTP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;swaks&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
smtp-user-enum&lt;br /&gt;
&amp;lt;br&amp;gt;swaks&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SNMP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
braa&lt;br /&gt;
&amp;lt;br&amp;gt;onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SSL Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.parrotsec.org/docs/&lt;br /&gt;
* https://www.kali.org/docs/&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7604</id>
		<title>Information Gathering Tools</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Information_Gathering_Tools&amp;diff=7604"/>
		<updated>2021-06-24T08:18:33Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This is a draft. Comparing various available pre-installed information gathering tools in Kali and comparing differences to ParrotOS. This document is &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; a documentation of the tools, it is merely a comparison and practical evaluation of the tools for an average security specialist or a security newbie wanting to start using the tools.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Operating system: Kali Linux 2021.1 amd64, Parrot Security 4.10 amd64&lt;br /&gt;
Disclaimer: all possible examples and tests done have been done in VMWare in a Kali Linux 2021.1 and the commands are up-to-date as of 21st June 2021.&lt;br /&gt;
&lt;br /&gt;
== Tools==&lt;br /&gt;
&lt;br /&gt;
=== Nmap ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Network &amp;amp; Port Scanners&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Nmap is known to be a very powerful tool for information gathering and vulnerability scanning. It offers loads of options, offering for example for host discovery, scans (TCP, UDP, IP...), service/version detection, OS detection, firewalls/IDS evasion and spoofing, script scanning etc. Since this is not meant to be a [https://nmap.org/book/man.html full documentation] of the tools, but rather an evaluation overview, compared to the other tools in this category, Nmap is the one main tool that most of the other secondary tools are using and it is very powerful. See the following tools for some comparison and Nmap examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;If your goal is to perform a network scan to determine alive hosts, open ports, used systems on ports or used operation systems on the hosts, this would be the way to go. It is fast and efficient (speed depends on the range of hosts and ports scanned though). The other tools that offer these results are using Nmap anyway, for example the way DMitry or Legion use it.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://nmap.org/book/man.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spiderfoot ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is a reconnaissance framework that uses many modules for information gathering, working on the OSINT principle. You can access a GUI by starting the framework on a port on localhost and accessing that address via web browser once it starts:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;$ spiderfoot -l 127.0.0.1:5001&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can then set up a new scan, where you would give the program a target: this can be a domain/sub-domain name, IPv4 or IPv6 address, hostname, subnet, ASN, e-mail address, phone number, a person&#039;s actual name or username. This gives a really wide spectrum on options. The full scan is demonstrated below.&lt;br /&gt;
 scan www.fh-campuswien.ac.at for a full scan, where you &amp;quot;get anything and everything about the target&amp;quot;:&lt;br /&gt;
Execution takes &amp;lt;b&amp;gt;many days&amp;lt;/b&amp;gt;, depending on the size of the target and the information available on the internet to that target. This specific inquiry took several days to complete and collect all information. Some parts of the information is displayed below, however the results were much more extensive:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Spiderscan.png|thumb|none|800px|Results of Spiderfoot Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is a very good and very powerful reconnaissance framework. It really collects &amp;quot;anything and everything&amp;quot; about a target, as it states. The scans take a very long time, but the amount of information connected is priceless, it really searches through the whole www to provide any and every connection to the target. Based on the very user friendly and well-arranged GUI it is quite good for beginners too, however the amount of data delivered is useful only for professional security analysts who know what to do with the results, how to navigate them and how to interpret them.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://www.spiderfoot.net/documentation/ tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Legion ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Legion is a GUI tool, a network penetration testing framework, that offers many options. It automatically detects CVEs and provides nmap, Vulners, whataweb, webslayer, sslyzer, SMBenum, dirbuster, nikto, Hydra and other additional scripts. Its execution takes up to a couple of minutes. A demonstration: &lt;br /&gt;
 scan www.fh-campuswien.ac.at&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Legion scan.png|thumb|none|600px|Results of Legion Scan on www.fh-campuswien.ac.at]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
No CVEs have been found. &amp;lt;br&amp;gt;Below is a comparison with the Metasploitable2 machine that can be found in the same subnet, so that it is clear how the vulnerabilities are shown in an actual weak system:&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Meta legion.png|thumb|none|1000px|Results of Legion Scan on Metasploitable2 VM]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
It is safe to say that it is a very powerful and useful tool, also very user friendly and quite fast. Maybe not the best for domains in the internet because it won&#039;t offer much more information than nmap and whois lookup, but when you look at the metasploitable output, so a scan of a server, you can see how much information is shown. The implementation of Hydra also gets you the cracked passwords in the vulnerabilities which is very useful.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall definitely a recommended tool, nice GUI, works quickly and efficiently and is very well arranged and easy to navigate.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://govanguard.com/legion/#about-legion official Legion Framework website].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== DMitry===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
DMitry is a CLI tool to gather information about a host - possible subdomains, uptime information, tcp port scan, email addresses, whois lookups etc. It is mostly used to reveal information that exists through search engines about the owner or host of a web page, i.e. for social engineering attacks.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
When using the portscan option, the results show less open ports than doing that same TCP scan with nmap. &lt;br /&gt;
&amp;lt;br&amp;gt; DMitry:&lt;br /&gt;
 HostIP:192.168.0.130                                                                                                                                                                    &lt;br /&gt;
 HostName:                                                                                                                                                                                                                                                                                                                                                                &lt;br /&gt;
 Gathered TCP Port information for 192.168.0.130                                                                                                                                                                                                                                                                               &lt;br /&gt;
 Port           State&lt;br /&gt;
 23/tcp          open&lt;br /&gt;
 Portscan Finished: Scanned 150 ports, 148 ports were in state closed&lt;br /&gt;
Nmap:&lt;br /&gt;
 Nmap scan report for 192.168.0.130&lt;br /&gt;
 Host is up (0.20s latency).&lt;br /&gt;
 Not shown: 996 closed ports&lt;br /&gt;
 PORT     STATE SERVICE&lt;br /&gt;
 23/tcp   open  telnet&lt;br /&gt;
 554/tcp  open  rtsp&lt;br /&gt;
 843/tcp  open  unknown&lt;br /&gt;
 5001/tcp open  commplex-link&lt;br /&gt;
 MAC Address: 7C:DD:90:AF:4E:7D (Shenzhen Ogemray Technology)&lt;br /&gt;
 Nmap done: 1 IP address (1 host up) scanned in 2.33 seconds&lt;br /&gt;
&lt;br /&gt;
To find out information about a domain, you need either the IP or the domain same. &lt;br /&gt;
&amp;lt;br&amp;gt;Whois lookup on the other hand gets you some nice useful results. Below is an example of using &amp;lt;code&amp;gt;dmitry -w www.fh-campuswien.ac.at&amp;lt;/code&amp;gt; on the college website of FH Campus Wien www.fh-campuswien.ac.at, and it just goes to show that it is exactly the same output as if you were to type &amp;lt;code&amp;gt;whois fh-campuswien.ac.at&amp;lt;/code&amp;gt;&lt;br /&gt;
 HostIP:91.213.77.62&lt;br /&gt;
 HostName:www.fh-campuswien.ac.at&lt;br /&gt;
 Gathered Inic-whois information for fh-campuswien.ac.at&lt;br /&gt;
 ---------------------------------&lt;br /&gt;
 domain:         fh-campuswien.ac.at&lt;br /&gt;
 registrar:      &lt;br /&gt;
 registrant:     FCW1942152-NICAT&lt;br /&gt;
 admin-c:        &amp;lt;data not disclosed&amp;gt;&lt;br /&gt;
 tech-c:         NLTU11579014-NICAT&lt;br /&gt;
 nserver:        ns.nextlayer.at&lt;br /&gt;
 remarks:        81.16.150.30&lt;br /&gt;
 nserver:        ns2.nextlayer.at&lt;br /&gt;
 remarks:        81.16.151.30&lt;br /&gt;
 changed:        20171003 19:16:08&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     &lt;br /&gt;
 organization:   fh campus wien&lt;br /&gt;
 street address: Favoritenstrasse 226&lt;br /&gt;
 postal code:    A-1100&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43160668771000&lt;br /&gt;
 fax-no:         +43160668771009&lt;br /&gt;
 e-mail:         office@fh-campuswien.ac.at&lt;br /&gt;
 nic-hdl:        FCW1942152-NICAT&lt;br /&gt;
 changed:        20100323 17:12:46&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
 personname:     Hostmaster Hostmaster&lt;br /&gt;
 organization:   next layer Telekommunikationsdienstleistungs- und BeratungsGmbH&lt;br /&gt;
 street address: Mariahilfer Guertel 37- 7&lt;br /&gt;
 postal code:    1150&lt;br /&gt;
 city:           Vienna&lt;br /&gt;
 country:        Austria&lt;br /&gt;
 phone:          +43517649&lt;br /&gt;
 e-mail:         hostmaster@nextlayer.at&lt;br /&gt;
 nic-hdl:        NLTU11579014-NICAT&lt;br /&gt;
 changed:        20170929 13:17:54&lt;br /&gt;
 source:         AT-DOM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Overall a nice tool, useful for beginners who don&#039;t have experience with the basic tools yet. However, to an experienced IT Security specialist, the tools that DMitry is based on, like nmap and whois would be the better choice to use here, since they just offer you the same output and nmap and whois itself offer much more options. One drawback however is that you need to install whois separately, whilst DMitry will be in the preinstalled set of tools. When it comes to portscan, it offers pretty insufficient results in DMitry.&lt;br /&gt;
This tool is fairly outdated nowadays, although it used to be very good a few years ago. Now there are better alternatives.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/dmitry tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recon-ng ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
On the first glance, it looks very similar to Metasploit. You can start it via the command line and enter an environment in the shell. It is a python web reconnaissance framework designed specifically for web-based information gathering, and is, unlike Metasploit, not an exploitation framework.&amp;lt;br&amp;gt;&lt;br /&gt;
To navigate it, always utilize the help flag to view possible options. At first, you won&#039;t have any modules enables/installed, which is kind of confusing and one really has to look into the documentation first before using it because the shell environment isn&#039;t that intuitive.&amp;lt;br&amp;gt;&lt;br /&gt;
To view available modules, use &amp;lt;code&amp;gt;show modules&amp;lt;/code&amp;gt;. When you want to start now, create a workspace first where your retrieved data will be saved:&lt;br /&gt;
 [recon-ng][default] &amp;gt; workspaces create test&lt;br /&gt;
Now install the module you would like to use, we will use hackertarget to get subdomains. You can use &amp;lt;code&amp;gt;marketplace search hackertarget&amp;lt;/code&amp;gt; to view the module and install it by:&lt;br /&gt;
 [recon-ng][test] &amp;gt; marketplace install hackertarget &lt;br /&gt;
   [*] Module installed: recon/domains-hosts/hackertarget&lt;br /&gt;
   [*] Reloading modules...&lt;br /&gt;
Now we will load the module and set the source of input, which we want to retrieve data from. With the command &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; you can view the current source. Execute the module with &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;:&lt;br /&gt;
 [recon-ng][test] &amp;gt; modules load hackertarget&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  options set SOURCE tesla.com&lt;br /&gt;
 [recon-ng][test][hackertarget] &amp;gt;  run&lt;br /&gt;
This will get you 27 found hosts, after the &amp;lt;code&amp;gt;show hosts&amp;lt;/code&amp;gt; command you can review them in an arranged list:&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | rowid |            host           |   ip_address   | region | country | latitude | longitude | notes |    module    |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
  | 1     | tesla.com                 | 199.66.11.62   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 2     | o7.ptr6980.tesla.com      | 149.72.144.42  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 3     | vpn1.tesla.com            | 8.45.124.215   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 4     | model3.tesla.com          | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 5     | o3.ptr1444.tesla.com      | 149.72.152.236 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 6     | o2.ptr556.tesla.com       | 149.72.134.64  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 7     | o5.ptr8466.tesla.com      | 149.72.172.170 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 8     | o6.ptr9437.tesla.com      | 168.245.123.10 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 9     | o4.ptr1867.tesla.com      | 149.72.163.58  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 10    | mobile.tesla.com          | 209.133.79.82  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 11    | marketing.tesla.com       | 13.111.47.196  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 12    | o1.ptr2410.link.tesla.com | 149.72.247.52  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 13    | referral.tesla.com        | 72.10.32.90    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 14    | mta2.email.tesla.com      | 13.111.4.231   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 15    | mta.email.tesla.com       | 13.111.14.190  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 16    | xmail.tesla.com           | 204.74.99.100  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 17    | comparison.tesla.com      | 64.125.183.133 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 18    | emails.tesla.com          | 13.111.18.27   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 19    | mta2.emails.tesla.com     | 13.111.88.1    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 20    | mta3.emails.tesla.com     | 13.111.88.2    |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 21    | mta4.emails.tesla.com     | 13.111.88.52   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 22    | mta5.emails.tesla.com     | 13.111.88.53   |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 23    | mta.emails.tesla.com      | 13.111.62.118  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 24    | click.emails.tesla.com    | 13.111.48.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 25    | view.emails.tesla.com     | 13.111.49.179  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 26    | events.tesla.com          | 13.111.47.195  |        |         |          |           |       | hackertarget |&lt;br /&gt;
  | 27    | shop.eu.tesla.com         | 205.234.27.221 |        |         |          |           |       | hackertarget |&lt;br /&gt;
  +---------------------------------------------------------------------------------------------------------------------+&lt;br /&gt;
Disclaimer: the used Recon-ng version here is &amp;lt;code&amp;gt;recon-ng v5.1.1&amp;lt;/code&amp;gt;, which is important to note, because countless tutorials on the internet refer to older commands which no longer work, so you kind of really have to play around with it to see which modules work (because some don&#039;t) and what commands are available by always utilizing the &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; flag along the way.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A powerful framework that offers many modules to perform reconnaissance on web-hosts. Personally would not recommend to newbies, simply because it is not that easy and intuitive to navigate, some modules are not working and the documentation is pretty lacking, with internet tutorials often showing old versions of commands.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the official [https://tools.kali.org/information-gathering/recon-ng documentation] or Github, however the documentation in this case is quite lacking.&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Maltego ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - OSINT&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Maltego is a graphical footprinting tool with quite some extensions available. With the preinstalled extensions you can allready footprint any domain and view it as a tree. where this tree is formatted according to the amount discovered and may change to a mesh view, if it would get too crowded.&lt;br /&gt;
[[File:Elvis.science.png|thumb|none|700px|Example footprinting of elvis.science]]&lt;br /&gt;
&lt;br /&gt;
=== Netdiscover ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - Route Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is another reconnaissance tool that can be used for host discovery on wireless and switched networks. You can scan your subnet at home or at work, wherever your device is connected. It works through ARP requests and can detect hosts either by actively sending requests, or if you set it to passive mode, only by sniffing.&amp;lt;br&amp;gt;&lt;br /&gt;
If Nmap is too much for a given moment and you just want to see quickly who is in your network, this is the way to go. Below is a comparison of Netdiscover used on a local subnet, a very well-arranged output, and nmap, which in some situations offers &amp;lt;i&amp;gt;too much&amp;lt;/i&amp;gt;:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ netdiscover -r 192.168.0.0/24&amp;lt;/b&amp;gt;&lt;br /&gt;
 20 Captured ARP Req/Rep packets, from 16 hosts.   Total size: 1200                                                                                                                      &lt;br /&gt;
 _____________________________________________________________________________&lt;br /&gt;
   IP            At MAC Address     Count     Len  MAC Vendor / Hostname      &lt;br /&gt;
 -----------------------------------------------------------------------------&lt;br /&gt;
 192.168.0.1     00:xx:xx:xx:xx:c2      2     120  Cisco Systems, Inc                                                                                                                    &lt;br /&gt;
 192.168.0.9     00:xx:xx:xx:xx:a9      1      60  Weinzierl Engineering GmbH                                                                                                            &lt;br /&gt;
 192.168.0.10    50:xx:xx:xx:xx:c7      1      60  Loxone Electronics GmbH                                                                                                               &lt;br /&gt;
 192.168.0.80    54:xx:xx:xx:xx:a0      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.81    18:xx:xx:xx:xx:50      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.82    54:xx:xx:xx:xx:ff      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.83    28:xx:xx:xx:xx:27      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.84    18:xx:xx:xx:xx:d7      1      60  Hangzhou Hikvision Digital Technology Co.,Ltd.                                                                                        &lt;br /&gt;
 192.168.0.101   48:xx:xx:xx:xx:2e      1      60  ZENNIO AVANCE Y TECNOLOGIA, S.L.                                                                                                      &lt;br /&gt;
 192.168.0.102   00:xx:xx:xx:xx:bb      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.109   fc:xx:xx:xx:xx:f9      4     240  Ubiquiti Networks Inc.                                                                                                                &lt;br /&gt;
 192.168.0.112   04:xx:xx:xx:xx:a5      1      60  ASUSTek COMPUTER INC.                                                                                                                 &lt;br /&gt;
 192.168.0.132   00:xx:xx:xx:xx:d4      1      60  VMware, Inc.                                                                                                                          &lt;br /&gt;
 192.168.0.149   c4:xx:xx:xx:xx:48      1      60  Hewlett Packard                                                                                                                       &lt;br /&gt;
 192.168.0.172   8c:xx:xx:xx:xx:eb      1      60  Apple, Inc.                                                                                                                           &lt;br /&gt;
 192.168.0.195   f2:xx:xx:xx:xx:3a      1      60  Unknown vendor   &lt;br /&gt;
If you were to do this same information in Nmap, you would need to perform a host discovery scan first:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ nmap -sP 192.168.0.0/24 &amp;lt;/b&amp;gt;                                                                                                                                                        &lt;br /&gt;
 Starting Nmap 7.91 ( https://nmap.org ) at 2021-06-20 16:34 CEST&lt;br /&gt;
 Nmap scan report for 192.168.0.1    Host is up (0.0051s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.10   Host is up (0.00058s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.80   Host is up (0.00034s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.81   Host is up (0.0018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.82   Host is up (0.0017s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.83   Host is up (0.0037s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.84   Host is up (0.0019s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.101  Host is up (0.00045s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.102  Host is up (0.00018s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.107  Host is up (0.00021s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.109  Host is up (0.00049s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.132  Host is up (0.00033s latency).&lt;br /&gt;
 Nmap scan report for 192.168.0.172  Host is up (0.089s latency).&lt;br /&gt;
 Nmap done: 256 IP addresses (13 hosts up) scanned in 2.42 seconds&lt;br /&gt;
Only then you can scan each alive host separately for their Hostname/OS/MAC address with &amp;lt;code&amp;gt;sudo nmap -O &amp;lt;IP address&amp;gt;&amp;lt;/code&amp;gt;. That is unless you want to wait several hours by scanning the whole subnet for their OS which I would not recommend since it takes so long. If you need a quick swipe, Nmap is possibly the inferior option here and could be used once you want to find out more about each host, their ports etc.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;Definitely a useful tool for an initial scan, or in a case where you don&#039;t know what range to look for exactly, since it is very fast. If you just want to find alive hosts and their IPs in a big range, this would be a good option. Nmap however, offers alive hosts discovery as well, and if you turn portscan off, it will be much faster than Netdiscover. Netdiscover kind of connects the various options of Nmap by showing IPs, MACs and Hostnames and makes it fairly easy to use, without having to read the extensive documentation of Nmap in the hope to find the correct options to perform a simple initial scan.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://manpages.debian.org/unstable/netdiscover/netdiscover.8.en.html tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ike-scan ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - general&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Ike-scan is useful for VPN endpoints. To explain this a little, first we should know what IKE is. It is Internet Key Exchange protocol, which is used by IPsec. The majority of IPsec VPNs use IKE for key exchange. The Ike-scan tool is for discovering, testing and fingerprinting IPsec VPN systems. It sends IKE phase 1 packets to the target and displays the received responses. To be able to test this, we now need a target that we are certain uses IKE for key exchange. To achieve this, we will demonstrate this on an IP address found through www.shodan.io, where you need to search for the keyword &amp;quot;IKE&amp;quot; to find targets that satisfy this condition. For demonstration, we chose the IP 110.142.206.85, which should be a VPN in Melbourne, Australia.&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 110.142.206.85  Main Mode Handshake returned HDR=(CKY-R=49cc50cbfcf85509) SA=(Enc=3DES Hash=SHA1 Group=2:modp1024 Auth=PSK LifeType=Seconds LifeDuration=28800) VID=dbfb81eb5760b0788562067da102d755 VID=09002689dfd6b712 (XAUTH) VID=afcad71368a1f1c96b8696fc77570100 (Dead Peer Detection v1.0) VID=12f5f28c457168a9702d9fe274cc0100 (Cisco Unity)&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 0.356 seconds (2.81 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
This returns the main mode handshake and shows information like security associations (hash, encoding, authentication) and also vendor ID etc.&lt;br /&gt;
&amp;lt;br&amp;gt;The following scan tries to fingerprint the firewall in use and additionally to the previous output it shows the following:&lt;br /&gt;
 &amp;lt;b&amp;gt;$ ike-scan --showbackoff -v -v 110.142.206.85&amp;lt;/b&amp;gt;&lt;br /&gt;
 DEBUG: pkt len=336 bytes, bandwidth=56000 bps, int=52000 us&lt;br /&gt;
 Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)&lt;br /&gt;
 ---     Sending packet #1 to host entry 1 (110.142.206.85) tmo 500000 us&lt;br /&gt;
 ---     Received packet #1 from 110.142.206.85&lt;br /&gt;
 ---     Removing host entry 1 (110.142.206.85) - Received 152 bytes&lt;br /&gt;
 IKE Backoff Patterns:                                                                                                                                                              &lt;br /&gt;
 IP Address      No.     Recv time               Delta Time                                                                                                                                &lt;br /&gt;
 110.142.206.85  1       1624204029.790995       0.000000                                                                                                                                  &lt;br /&gt;
 110.142.206.85  Implementation guess: Linksys Etherfast&lt;br /&gt;
 Ending ike-scan 1.9.4: 1 hosts scanned in 60.426 seconds (0.02 hosts/sec).  1 returned handshake; 0 returned notify&lt;br /&gt;
There is a possibility to use the so called aggressive mode (default is Main Mode) which uses a 3-way-handshake where the VPN sends an unencrypted message to the client containing the hashed PSK. If you manage to capture the plaintext hash, you could use psk-crack to perform a brute force attack and try to recover the PSK (Pre-shared key).&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This is not a very well known tool, however it can offer some valuable insights to experienced security experts and a possibility to use the recovered data in further exploitation/scanning.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ike-scan tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dnsenum ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - DNS Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This is an efficient and well-performing tool for locating all DNS servers and DNS entries for a given organization. A basic demonstration on the example of &amp;lt;code&amp;gt;google.com&amp;lt;/code&amp;gt; is shown below (some entries have been replaced with ... to keep it as short as possible):&lt;br /&gt;
 $ dnsenum google.com                                                                             255 ⨯&lt;br /&gt;
 dnsenum VERSION:1.2.6&lt;br /&gt;
 -----   google.com   -----                                                                                                                                                                                       &lt;br /&gt;
 Host&#039;s addresses:                                                                                        &lt;br /&gt;
 __________________                                                                                       &lt;br /&gt;
 google.com.                              300      IN    A        216.58.201.78                           &lt;br /&gt;
 Name Servers:                                                                                            &lt;br /&gt;
 ______________                                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 ns2.google.com.                          345600   IN    A        216.239.34.10                           &lt;br /&gt;
 ns4.google.com.                          345600   IN    A        216.239.38.10&lt;br /&gt;
 ns1.google.com.                          345600   IN    A        216.239.32.10&lt;br /&gt;
 ns3.google.com.                          345600   IN    A        216.239.36.10&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Mail (MX) Servers:                                                                                       &lt;br /&gt;
 ___________________                                                                                      &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 aspmx.l.google.com.                      293      IN    A        173.194.69.27                           &lt;br /&gt;
 alt1.aspmx.l.google.com.                 293      IN    A        142.250.150.27&lt;br /&gt;
 alt2.aspmx.l.google.com.                 293      IN    A        74.125.200.27&lt;br /&gt;
 alt3.aspmx.l.google.com.                 293      IN    A        142.250.157.27&lt;br /&gt;
 alt4.aspmx.l.google.com.                 293      IN    A        173.194.202.26&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Trying Zone Transfers and getting Bind Versions:                                                         &lt;br /&gt;
 _________________________________________________                                                                                                                                                                 &lt;br /&gt;
 Trying Zone Transfer for google.com on ns1.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
 ...&lt;br /&gt;
 Trying Zone Transfer for google.com on ns4.google.com ... &lt;br /&gt;
 AXFR record query failed: corrupt packet&lt;br /&gt;
                                                                                                    &lt;br /&gt;
 Brute forcing with /usr/share/dnsenum/dns.txt:                                                           &lt;br /&gt;
 _______________________________________________                                                          &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 about.google.com.                        0        IN    CNAME    www3.l.google.com.                      &lt;br /&gt;
 www3.l.google.com.                       300      IN    A        172.217.23.238&lt;br /&gt;
 accounts.google.com.                     300      IN    A        172.217.23.205&lt;br /&gt;
 admin.google.com.                        300      IN    A        172.217.23.206&lt;br /&gt;
 ads.google.com.                          300      IN    A        216.58.201.78&lt;br /&gt;
 america.google.com.                      0        IN    CNAME    www3.l.google.com.&lt;br /&gt;
 ...&lt;br /&gt;
 www.google.com.                          300      IN    A        172.217.23.196&lt;br /&gt;
 &lt;br /&gt;
 google.com class C netranges:                                                                            &lt;br /&gt;
 ______________________________                                                                           &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 8.8.4.0/24                                                                                              &lt;br /&gt;
 8.8.8.0/24&lt;br /&gt;
 ...&lt;br /&gt;
 216.239.36.0/24&lt;br /&gt;
 216.239.38.0/24&lt;br /&gt;
                                                                                                         &lt;br /&gt;
 Performing reverse lookup on 4096 ip addresses:                                                          &lt;br /&gt;
 ________________________________________________                                                         &lt;br /&gt;
                                                                                                         &lt;br /&gt;
 68.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.                         &lt;br /&gt;
 69.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 70.224.9.64.in-addr.arpa.                86400    IN    PTR      vpn.google.com.&lt;br /&gt;
 10.32.239.216.in-addr.arpa.              86400    IN    PTR      ns1.google.com.&lt;br /&gt;
 11.32.239.216.in-addr.arpa.              86400    IN    PTR      ns.google.com.&lt;br /&gt;
 15.32.239.216.in-addr.arpa.              86400    IN    PTR      time1.google.com.&lt;br /&gt;
 116.32.239.216.in-addr.arpa.             86400    IN    PTR      e2a.google.com.&lt;br /&gt;
 10.34.239.216.in-addr.arpa.              86400    IN    PTR      ns2.google.com.&lt;br /&gt;
 10.36.239.216.in-addr.arpa.              86400    IN    PTR      ns3.google.com.&lt;br /&gt;
 11.36.239.216.in-addr.arpa.              86400    IN    PTR      hedns1.google.com.&lt;br /&gt;
 10.38.239.216.in-addr.arpa.              86400    IN    PTR      ns4.google.com.&lt;br /&gt;
 &lt;br /&gt;
 11 results out of 4096 IP addresses.&lt;br /&gt;
                                                                                                          &lt;br /&gt;
 google.com ip blocks:                                                                                     &lt;br /&gt;
 ______________________                                                                                    &lt;br /&gt;
                                                                                                            &lt;br /&gt;
 64.9.224.68/31                                                                                           &lt;br /&gt;
 64.9.224.70/32&lt;br /&gt;
 216.239.32.10/31&lt;br /&gt;
 216.239.32.15/32&lt;br /&gt;
 216.239.32.116/32&lt;br /&gt;
 216.239.34.10/32&lt;br /&gt;
 216.239.36.10/31&lt;br /&gt;
 216.239.38.10/32&lt;br /&gt;
 &lt;br /&gt;
 done.&lt;br /&gt;
You can also use the --enum flag to gather whois information and to dig up subdomains.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;A very convenient and useful tool for DNS information gathering on domains/servers etc. Results are also very well arranged and offer a clear overview.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://tools.kali.org/information-gathering/dnsenum tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Swaks ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SMTP Scan&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This tool is for sending e-mails of all kinds. Now, compared to a regular e-mail client, here you can change the header, attachments, which server to talk to and more. It handles TLS, authentication, and pipelining.&lt;br /&gt;
&amp;lt;br&amp;gt;Since I don&#039;t have my own SMTP server available, for demonstration purposes we will use the Gmail&#039;s SMTP server:&lt;br /&gt;
 $ swaks -t example.receiver@gmail.com -s smtp.gmail.com:587 -tls -a LOGIN&lt;br /&gt;
You will then be prompted to enter Gmail credentials of an actual existing account. However, from security reasons, Gmail will probably block this login attempt, that&#039;s why using your own SMTP server would be ideal. To have a look at some more examples of changing headers and using different servers, please refer [https://github.com/jetmore/swaks/blob/v20201014.0/doc/base.pod here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This tool is known as the Swiss Army Knife for SMTP (=Swaks) and helps you with the complexity of setting up e-mail servers. You have many various possibilities of choosing a mail server and changing headers and other data, that you wouldn&#039;t have if you sent an email from a simple public mail server.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/swaks tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SSLdump ===&lt;br /&gt;
&amp;lt;b&amp;gt;Category: Information Gathering - SSL Analysis&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
SSLdump is a TLS/SSL network protocol analyzer that identifies TCP streams/connections from a specified port and interface and attempts to interpret them. Once it identifies SSL/TLS traffic, it decodes and displays the content in a readable form as text. If you provide a necessary key as well, it can decrypt the connection fully and display the exchanged application data traffic (&amp;lt;code&amp;gt;ssldump -Ad -k ~/privatekey.pem -p password -i eth0 host user123&amp;lt;/code&amp;gt;). Below is a demonstration of a basic command that listens to traffic on port 443 of interface eth0:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;b&amp;gt;$ sudo ssldump -i eth0 port 443&amp;lt;/b&amp;gt;                                                                                                                                                 &lt;br /&gt;
 New TCP connection #2: 192.168.0.102(53984) &amp;lt;-&amp;gt; edge-star-mini-shv-01-vie1.facebook.com(443)&lt;br /&gt;
 2 1  0.0096 (0.0096)  C&amp;gt;S  Handshake&lt;br /&gt;
      ClientHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        resume [32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipher suites&lt;br /&gt;
        TLS_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
        TLS_RSA_WITH_AES_256_GCM_SHA384&lt;br /&gt;
        TLS_RSA_WITH_AES_128_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_AES_256_CBC_SHA&lt;br /&gt;
        TLS_RSA_WITH_3DES_EDE_CBC_SHA&lt;br /&gt;
        compression methods&lt;br /&gt;
                  NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          server_name&lt;br /&gt;
              host_name: www.facebook.com&lt;br /&gt;
          extended_master_secret&lt;br /&gt;
          renegotiation_info&lt;br /&gt;
          supported_groups&lt;br /&gt;
          ec_point_formats&lt;br /&gt;
          session_ticket&lt;br /&gt;
          application_layer_protocol_negotiation&lt;br /&gt;
          status_request&lt;br /&gt;
          key_share&lt;br /&gt;
          supported_versions&lt;br /&gt;
          signature_algorithms&lt;br /&gt;
          psk_key_exchange_modes&lt;br /&gt;
          record_size_limit&lt;br /&gt;
          padding&lt;br /&gt;
        ja3 string:  &lt;br /&gt;
 771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53-10,0-23-65281-10-11-35-16-5-51-43-13-45-28-21,29-23-24-25-256-257,0&lt;br /&gt;
        ja3 fingerprint: aa7744226c695c0b2e440419848cf700&lt;br /&gt;
 2 2  0.0146 (0.0049)  S&amp;gt;C  Handshake&lt;br /&gt;
      ServerHello&lt;br /&gt;
        Version 3.3 &lt;br /&gt;
        session_id[32]=&lt;br /&gt;
          37 64 3d 51 d2 3d 5a 44 38 c6 72 d6 7f 34 16 ed &lt;br /&gt;
          cc f0 32 fe ed 95 94 67 c8 dc ec 2e f5 ba 04 cf &lt;br /&gt;
        cipherSuite         TLS_AES_128_GCM_SHA256&lt;br /&gt;
        compressionMethod                   NULL&lt;br /&gt;
        extensions&lt;br /&gt;
          supported_versions&lt;br /&gt;
          key_share&lt;br /&gt;
        ja3s string: 771,4865,43-51&lt;br /&gt;
        ja3s fingerprint: f4febc55ea12b31ae17cfb7e614afda8&lt;br /&gt;
 2 3  0.0146 (0.0000)  S&amp;gt;C  ChangeCipherSpec&lt;br /&gt;
 2 4  0.0146 (0.0000)  S&amp;gt;C  application_data&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #225207; background-color: #dffdcd; color: #225207; padding: 5px 10px; margin-bottom: 5px; text-align: justify&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Conclusion: &amp;lt;/b&amp;gt;This seems to be a very powerful tool with which you can actually sniff SSL encrypted traffic, and even if you don&#039;t have the private key, you can see the TLS handshake and the hello&#039;s from client  and server together with their exchanged cipher suites.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;For more information please refer to the full [https://linux.die.net/man/1/ssldump tool documentation].&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What&#039;s different in ParrotOS? ==&lt;br /&gt;
As we know, you can install any tools from Kali also on ParrotOS, and the other way around, that&#039;s why in this context, the preinstalled tools are meant. Overall you can say, that the &amp;quot;main&amp;quot; tools are the same on both operating systems.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:ComparisonKaliParr.png|thumb|none|500px|Information Gathering Tools Menu Preview Comparison]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
On the first glance the tools look very similar, however when you click on the the various sub-categories, you can see that Parrot offers a greater range of tools. Refer to the table below for a detailed overview:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 50%&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt;Tool Category&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Kali&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th style=&amp;quot;background-color: #ccccff; color: #000000;&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;Parrot&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;DNS Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
dnsdict6&lt;br /&gt;
&amp;lt;br&amp;gt;dnsenum&lt;br /&gt;
&amp;lt;br&amp;gt;dnsmap&lt;br /&gt;
&amp;lt;br&amp;gt;dnsrecon&lt;br /&gt;
&amp;lt;br&amp;gt;dnstracer&lt;br /&gt;
&amp;lt;br&amp;gt;dnswalk&lt;br /&gt;
&amp;lt;br&amp;gt;fierce&lt;br /&gt;
&amp;lt;br&amp;gt;gobuster&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;IDS/IPS Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd &lt;br /&gt;
&amp;lt;br&amp;gt;wafw00f&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
lbd&lt;br /&gt;
&amp;lt;br&amp;gt;fragrouter&lt;br /&gt;
&amp;lt;br&amp;gt;ftest&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Live Host Identification&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
arping&lt;br /&gt;
&amp;lt;br&amp;gt;cdpsnarf&lt;br /&gt;
&amp;lt;br&amp;gt;detect-new-ip6&lt;br /&gt;
&amp;lt;br&amp;gt;fping&lt;br /&gt;
&amp;lt;br&amp;gt;hping3&lt;br /&gt;
&amp;lt;br&amp;gt;inverse_lookup6&lt;br /&gt;
&amp;lt;br&amp;gt;ncat&lt;br /&gt;
&amp;lt;br&amp;gt;passive_discovery6&lt;br /&gt;
&amp;lt;br&amp;gt;thcping6&lt;br /&gt;
&amp;lt;br&amp;gt;xprobe2&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Network &amp;amp; port scanners&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
amap&lt;br /&gt;
&amp;lt;br&amp;gt;etherape&lt;br /&gt;
&amp;lt;br&amp;gt;masscan&lt;br /&gt;
&amp;lt;br&amp;gt;nmap&lt;br /&gt;
&amp;lt;br&amp;gt;unicornscan&lt;br /&gt;
&amp;lt;br&amp;gt;wireshark&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;OSINT Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
maltego&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot&lt;br /&gt;
&amp;lt;br&amp;gt;spiderfoot-cli&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
casefile&lt;br /&gt;
&amp;lt;br&amp;gt;maltego&lt;br /&gt;
&amp;lt;br&amp;gt;metagoofil&lt;br /&gt;
&amp;lt;br&amp;gt;theharvester&lt;br /&gt;
&amp;lt;br&amp;gt;urlcrazy&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;Route Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
netdiscover&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
0trace&lt;br /&gt;
&amp;lt;br&amp;gt;intrace&lt;br /&gt;
&amp;lt;br&amp;gt;irpas-ass&lt;br /&gt;
&amp;lt;br&amp;gt;irpass-cdp&lt;br /&gt;
&amp;lt;br&amp;gt;netmask&lt;br /&gt;
&amp;lt;br&amp;gt;trace6&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMB Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
enum4linux&lt;br /&gt;
&amp;lt;br&amp;gt;nbtscan&lt;br /&gt;
&amp;lt;br&amp;gt;smbmap&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SMTP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;swaks&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
smtp-user-enum&lt;br /&gt;
&amp;lt;br&amp;gt;swaks&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SNMP Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
braa&lt;br /&gt;
&amp;lt;br&amp;gt;onesixtyone&lt;br /&gt;
&amp;lt;br&amp;gt;snmp-check&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #e6e6ff; color: #000000; font-weight: bold&amp;quot;&amp;gt;SSL Analysis&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td style=&amp;quot;background-color: #f4f4ff; color: #000000;&amp;quot;&amp;gt;&lt;br /&gt;
ssldump&lt;br /&gt;
&amp;lt;br&amp;gt;sslh&lt;br /&gt;
&amp;lt;br&amp;gt;sslscan&lt;br /&gt;
&amp;lt;br&amp;gt;sslyze&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.parrotsec.org/docs/&lt;br /&gt;
* https://www.kali.org/docs/&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Elvis.science.png&amp;diff=7603</id>
		<title>File:Elvis.science.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Elvis.science.png&amp;diff=7603"/>
		<updated>2021-06-24T08:13:32Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Kali_vs._Black_Arch_vs._Parrot&amp;diff=7361</id>
		<title>Kali vs. Black Arch vs. Parrot</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Kali_vs._Black_Arch_vs._Parrot&amp;diff=7361"/>
		<updated>2021-05-18T06:53:27Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This is a draft about the differences of the three operating systems&lt;br /&gt;
&lt;br /&gt;
== Differences ==&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
==== Black Arch ====&lt;br /&gt;
&lt;br /&gt;
Black Arch is an Arch Linux-based penetration testing distibution. It is a relatively new project, therefore there will be more bugs, less documentation and more room for improvement overall. The repository contains 2677 tools, which you can install either individually or in groups. Depending on whether you install the Full Iso or Slim Iso, which is a more lightweight version that will save you some storage space, you have multiple windows managers.&lt;br /&gt;
&lt;br /&gt;
==== Kali Linux ====&lt;br /&gt;
&lt;br /&gt;
Kali is a Debian-based well-known penetration testing and digital forensics Linux distribution, created for cyber security experts. It has around 600 pre-installed tools.&lt;br /&gt;
&lt;br /&gt;
==== ParrotOS ====&lt;br /&gt;
&lt;br /&gt;
ParrotOS is a Debian-based Linux distibution, while the Parrot Security is especially designed for security specialists, offering tools for pentesting, digital forensics and reverse engineering, but also for software engineers. It has a simplistic GUI and is a lightweight distro and comes with even more pre-installed tools than Kali does.&lt;br /&gt;
&lt;br /&gt;
=== First Impression ===&lt;br /&gt;
&lt;br /&gt;
==== Black Arch ====&lt;br /&gt;
First impression is a very sterile and simplistic one. Basically you just see the background, date and time on the bottom, and only by doing a right click, you can access the &amp;quot;blackarch menu&amp;quot; tab, from where you can open terminals in various color schemes and access all of the available tools, as can be seen in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:BlackArch_Homescreen.PNG|thumb|none|700px|Black Arch homescreen Tools overview]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kali Linux ====&lt;br /&gt;
A big leap from the BlackArch aesthetics. This now looks like an actual homescreen, more like something a human would want to work with, compared to BlackArch, but this obviously comes down to everyone&#039;s own preference. There is a dropdown menu from where you access the preinstalled tools, as shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Kali_Homescreen.PNG|thumb|none|700px|Kali Linux homescreen Tools overview]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ParrotOS ====&lt;br /&gt;
At the first glance looks very nice and neat, like with Kali you can see a menu on top from where you can access all of the tools for pentesting, programming etc. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Parrot_Homescreen.PNG|thumb|none|700px|Parrot Security homescreen Tools overview]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== User friendliness (for lay people) ===&lt;br /&gt;
Kali and ParrotOS are pretty on par on user friendliness. Both offer the installed pentesting tools directly in the start menu of the OS. Parrot is more colorful and therefore offers more clarity. &amp;lt;br/&amp;gt;&lt;br /&gt;
BlackArch on the other hand is not very user friendly. the only menu available is found on right-clicking on the desktop and some of the sub menus are completely overfilled, so even on a UHD display not all programms can be displayed; no scrollig available.&amp;lt;br/&amp;gt;&lt;br /&gt;
On the bash, there&#039;s not much difference between the OSes.&lt;br /&gt;
&lt;br /&gt;
=== Kernel Type ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! OS !! Kernel &lt;br /&gt;
|-&lt;br /&gt;
| BlackArch || Arch Linux&lt;br /&gt;
|-&lt;br /&gt;
| Kali || Debian&lt;br /&gt;
|-&lt;br /&gt;
| ParrotOS || Debian&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Stability ===&lt;br /&gt;
All three OSes are build upon a very stable and far developed Linux kernel. During our works we weren&#039;t able to discern them in any way&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
The installation is quite similar with all distributions, however some cause more problems than the others. Black Arch is the fastest, has the least setup to go through: basically you just choose the boot and you are good to go to log in with the default username and password. Afterwards you can create users and change these settings, but the setup itself does NOT require you to.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
On the other hand, the Parrot OS takes a while to set up, going through all the setup steps. It might happen, that your setup (especially in a VM) will not work if you click some wrong setting. However, the complexity of the setup corresponds to the result, ParrotOS being really nice and user friendly, while getting a small window in Black Arch with no idea, how to actually use it since there are no buttons.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Kali Linux is also somewhat more complex to set up, but works more effortlessly. You can set up users and passwords right in the setup process, choose a desktop environment of your choice (Xfce, GNOME, KDE Plasma...)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The installation process has been thoroughly documented in the following links:&lt;br /&gt;
*[https://wiki.elvis.science/index.php?title=Install_ParrotOS ParrotOS Installation]&lt;br /&gt;
*[https://wiki.elvis.science/index.php?title=Kali_Linux_VMware_Installation Kali Linux Installation]&lt;br /&gt;
*[https://wiki.elvis.science/index.php?title=Black_Arch_VMware_Installation Black Arch Installation]&lt;br /&gt;
&lt;br /&gt;
=== Packager ===&lt;br /&gt;
&lt;br /&gt;
* Black Arch: Pacman&lt;br /&gt;
* ParrotOS: APT&lt;br /&gt;
* Kali Linux: APT&lt;br /&gt;
&lt;br /&gt;
=== Pre-installed Tools ===&lt;br /&gt;
&lt;br /&gt;
=== Desktop Environment ===&lt;br /&gt;
* Black Arch: XFCE Desktop Environment&lt;br /&gt;
* ParrotOS: MATE, KDE, XFCE&lt;br /&gt;
* Kali Linux: GNOME, KDE, XFCE&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
VM Ware virtual Machines with each:&lt;br /&gt;
* 4 vCPU&lt;br /&gt;
* 8 GB RAM&lt;br /&gt;
* 100 GB HDD&lt;br /&gt;
&lt;br /&gt;
=== Idly used Hardware of the OS ===&lt;br /&gt;
This stats are aggregates by watching &amp;lt;span style=&amp;quot;font-family:Courier;&amp;quot;&amp;gt;htop&amp;lt;/span&amp;gt; over at least an hour and executing &amp;lt;span style=&amp;quot;font-family:Courier;&amp;quot;&amp;gt;du -sh&amp;lt;/span&amp;gt; in the root directory:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! OS !! RAM/MiB !! HDD/GiB&lt;br /&gt;
|-&lt;br /&gt;
| BlackArch || 333 || 65 &lt;br /&gt;
|-&lt;br /&gt;
| Kali || 749 || 14&lt;br /&gt;
|-&lt;br /&gt;
| ParrotOS || 679 || 12&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.kali.org&lt;br /&gt;
* https://www.parrotlinux.org/&lt;br /&gt;
* https://www.blackarch.org&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Kali_vs._Black_Arch_vs._Parrot&amp;diff=7348</id>
		<title>Kali vs. Black Arch vs. Parrot</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Kali_vs._Black_Arch_vs._Parrot&amp;diff=7348"/>
		<updated>2021-05-16T10:13:32Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This is a draft about the differences of the three operating systems&lt;br /&gt;
&lt;br /&gt;
== Differences ==&lt;br /&gt;
&lt;br /&gt;
=== User friendliness (for lay people) ===&lt;br /&gt;
&lt;br /&gt;
=== Kernel Type ===&lt;br /&gt;
&lt;br /&gt;
=== Stability ===&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
=== Packager ===&lt;br /&gt;
&lt;br /&gt;
=== Pre-installed Tools ===&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
VM Ware virtual Machines with each:&lt;br /&gt;
* 4 vCPU&lt;br /&gt;
* 8 GB RAM&lt;br /&gt;
* 100 GB HDD&lt;br /&gt;
&lt;br /&gt;
=== Idly used Hardware of the OS ===&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.kali.org&lt;br /&gt;
* https://parrotlinux.org&lt;br /&gt;
* https://www.blackarch.org&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Kali_vs._Black_Arch_vs._Parrot&amp;diff=7347</id>
		<title>Kali vs. Black Arch vs. Parrot</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Kali_vs._Black_Arch_vs._Parrot&amp;diff=7347"/>
		<updated>2021-05-16T09:46:52Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This is a draft about the differences of the three operating systems&lt;br /&gt;
&lt;br /&gt;
== Differences ==&lt;br /&gt;
&lt;br /&gt;
=== User friendliness (for lay people) ===&lt;br /&gt;
&lt;br /&gt;
=== Kernel Type ===&lt;br /&gt;
&lt;br /&gt;
=== Stability ===&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
=== Packager ===&lt;br /&gt;
&lt;br /&gt;
=== Pre-installed Tools ===&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
VM Ware virtual Machines with each:&lt;br /&gt;
* 4 vCPU&lt;br /&gt;
* 8 GB RAM&lt;br /&gt;
* 100 GB HDD&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.kali.org&lt;br /&gt;
* https://parrotlinux.org&lt;br /&gt;
* https://www.blackarch.org&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Kali_vs._Black_Arch_vs._Parrot&amp;diff=7346</id>
		<title>Kali vs. Black Arch vs. Parrot</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Kali_vs._Black_Arch_vs._Parrot&amp;diff=7346"/>
		<updated>2021-05-16T09:35:17Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This is a draft about the differences of the three operating systems&lt;br /&gt;
&lt;br /&gt;
== Differences ==&lt;br /&gt;
&lt;br /&gt;
=== User friendliness (for lay people) ===&lt;br /&gt;
&lt;br /&gt;
=== Kernel Type ===&lt;br /&gt;
&lt;br /&gt;
=== Stability ===&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
VM Ware virtual Machines with each:&lt;br /&gt;
* 4 vCPU&lt;br /&gt;
* 8 GB RAM&lt;br /&gt;
* 100 GB HDD&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.kali.org&lt;br /&gt;
* https://parrotlinux.org&lt;br /&gt;
* https://www.blackarch.org&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Install_ParrotOS&amp;diff=7228</id>
		<title>Install ParrotOS</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Install_ParrotOS&amp;diff=7228"/>
		<updated>2021-04-11T13:54:33Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;max-width: 970px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;border-color: #eaecf0; background-color: white; overflow:auto; calc(100% - 12px);&amp;quot;&amp;gt;&lt;br /&gt;
== Table of Contents ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary == &lt;br /&gt;
&lt;br /&gt;
In this documentation we describe the steps taken to install ParotOS onto a system, either physical or on a VM.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Media: install image of the most recent version of Parrot Security OS&lt;br /&gt;
* Server: a physical or virtual machine with at least:&lt;br /&gt;
** 2 CPUs&lt;br /&gt;
** 2GB RAM&lt;br /&gt;
** 40GB HDD&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
The images can be downloaded via the official site https://www.parrotsec.org/download/.&amp;lt;/br&amp;gt;&lt;br /&gt;
to get the version with all available security tools available for Parrot, choose the Security Edition and next you can choose between MATE and KDE desktops(accessed of 11.04.2021.)&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&lt;br /&gt;
You can either run ParrotOS as a Live system or install it, where the installer is a little out of sight at the bottom of the choices:&amp;lt;/br&amp;gt;&lt;br /&gt;
[[File:Install_Parrot_Screen.png]]&amp;lt;/br&amp;gt;&lt;br /&gt;
under some circumstances the installer won&#039;t acknowledge the DVD(or image for virtual systems) and can&#039;t continue to install. In such a case, start the Live version and install it from there, the option is on the desktop. Or if you are an advanced user, you can enter the shell and take the steps manually, but his won&#039;t be covered in this wiki page.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
The rest is a typical Linux installation:&lt;br /&gt;
* choose localization&lt;br /&gt;
* choose keymap settings&lt;br /&gt;
* choose partitioning and filesystems used&lt;br /&gt;
* create a sudo user and choose its password&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
* Virtual machine in VMWare: 4 vCPUs, 8GB RAM, 100GB SCSI HDD&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.parrotsec.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Basic]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Install_ParrotOS&amp;diff=7227</id>
		<title>Install ParrotOS</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Install_ParrotOS&amp;diff=7227"/>
		<updated>2021-04-11T13:51:46Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: Created page with &amp;quot;&amp;lt;div style=&amp;quot;max-width: 970px&amp;quot;&amp;gt;  &amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;border-color: #eaecf0; background-color: white; overflow:auto; calc(100% - 12px);&amp;quot;&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;max-width: 970px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;border-color: #eaecf0; background-color: white; overflow:auto; calc(100% - 12px);&amp;quot;&amp;gt;&lt;br /&gt;
== Table of Contents ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary == &lt;br /&gt;
&lt;br /&gt;
In this documentation we describe the steps taken to install ParotOS onto a system, either physical or on a VM.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Media: install image of the most recent version of Parrot Security OS&lt;br /&gt;
* Server: a physical or virtual machine with at least:&lt;br /&gt;
** 2 CPUs&lt;br /&gt;
** 2GB RAM&lt;br /&gt;
** 40GB HDD&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
The images can be downloaded via the official site https://www.parrotsec.org/download/.&amp;lt;/br&amp;gt;&lt;br /&gt;
to get the version with all available security tools available for Parrot, choose the Security Edition and next you can choose between MATE and KDE desktops(accessed of 11.04.2021.)&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&lt;br /&gt;
You can either run ParrotOS as a Live system or install it, where the installer is a little out of sight at the bottom of the choices:&amp;lt;/br&amp;gt;&lt;br /&gt;
[[File:Install_Parrot_Screen.png]]&amp;lt;/br&amp;gt;&lt;br /&gt;
under some circumstances the installer won&#039;t acknowledge the DVD(or image for virtual systems) and can&#039;t continue to install. In such a case, start the Live version and install it from there, the option is on the desktop. Or if you are an advanced user, you can enter the shell and take the steps manually, but his won&#039;t be covered in this wiki page.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
The rest is a typical Linux installation:&lt;br /&gt;
* choose localization&lt;br /&gt;
* choose keymap settings&lt;br /&gt;
* choose partitioning and filesystems used&lt;br /&gt;
* create a sudo user and choose its password&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
* Virtual machine in VMWare: 4 vCPUs, 8GB RAM, 100GB SCSI HDD&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.parrotsec.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Install_Parrot_Screen.png&amp;diff=7226</id>
		<title>File:Install Parrot Screen.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Install_Parrot_Screen.png&amp;diff=7226"/>
		<updated>2021-04-11T13:20:00Z</updated>

		<summary type="html">&lt;p&gt;MFriedl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MFriedl</name></author>
	</entry>
</feed>