How To Install ike-scan on Kali Linux
Introduction
In this tutorial we learn how to install ike-scan
on Kali Linux.
What is ike-scan
ike-scan is:
ike-scan discovers IKE hosts and can also fingerprint them using the retransmission backoff pattern.
ike-scan does two things:
a) Discovery: Determine which hosts are running IKE. This is done by displaying those hosts which respond to the IKE requests sent by ike-scan.
b) Fingerprinting: Determine which IKE implementation the hosts are using. This is done by recording the times of the IKE response packets from the target hosts and comparing the observed retransmission backoff pattern against known patterns.
The retransmission backoff fingerprinting concept is discussed in more
detail in the UDP backoff fingerprinting paper which should be included
in the ike-scan kit as udp-backoff-fingerprinting-paper.txt.
There are three methods to install ike-scan
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ike-scan Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ike-scan
using apt-get
by running the following command:
sudo apt-get -y install ike-scan
Install ike-scan Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ike-scan
using apt
by running the following command:
sudo apt -y install ike-scan
Install ike-scan Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ike-scan
using aptitude
by running the following command:
sudo aptitude -y install ike-scan
How To Uninstall ike-scan on Kali Linux
To uninstall only the ike-scan
package we can use the following command:
sudo apt-get remove ike-scan
Uninstall ike-scan And Its Dependencies
To uninstall ike-scan
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ike-scan
Remove ike-scan Configurations and Data
To remove ike-scan
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ike-scan
Remove ike-scan configuration, data, and all of its dependencies
We can use the following command to remove ike-scan
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ike-scan
Dependencies
ike-scan have the following dependencies:
References
Summary
In this tutorial we learn how to install ike-scan
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.