How To Install endlessh on Kali Linux
Introduction
In this tutorial we learn how to install endlessh on Kali Linux.
What is endlessh
endlessh is:
Endlessh is an SSH tarpit that very slowly sends an endless, random SSH banner. It keeps SSH clients locked up for hours or even days at a time. The purpose is to put your real SSH server on another port and then let abusive bots get stuck in this tarpit instead of bothering a real server.
Since the tarpit is in the banner before any cryptographic exchange occurs, this program doesn’t depend on any cryptographic libraries. It’s a simple, single-threaded, standalone C program. It uses poll() to trap multiple clients at a time.
See https://nullprogram.com/blog/2019/03/22/ for more details.
There are three methods to install endlessh 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 endlessh Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install endlessh using apt-get by running the following command:
sudo apt-get -y install endlesshInstall endlessh Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install endlessh using apt by running the following command:
sudo apt -y install endlesshInstall endlessh 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 updateAfter updating apt database, We can install endlessh using aptitude by running the following command:
sudo aptitude -y install endlesshHow To Uninstall endlessh on Kali Linux
To uninstall only the endlessh package we can use the following command:
sudo apt-get remove endlesshUninstall endlessh And Its Dependencies
To uninstall endlessh and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove endlesshRemove endlessh Configurations and Data
To remove endlessh configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge endlesshRemove endlessh configuration, data, and all of its dependencies
We can use the following command to remove endlessh configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge endlesshDependencies
endlessh have the following dependencies:
References
Summary
In this tutorial we learn how to install endlessh package on Kali Linux using different package management tools: apt, apt-get and aptitude.