How To Install hb-honeypot on Kali Linux
Introduction
In this tutorial we learn how to install hb-honeypot
on Kali Linux.
What is hb-honeypot
hb-honeypot is:
This Perl script listens on TCP port 443 and responds with completely bogus SSL heartbeat responses, unless it detects the start of a byte pattern similar to that used in Jared Stafford’s ([email protected]) demo for CVE-2014-0160 ‘Heartbleed’. Run as root for the privileged port. Outputs IPs of suspected heartbleed scan to the console. Rickrolls scanner in the hex dump.
There are three methods to install hb-honeypot
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 hb-honeypot Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install hb-honeypot
using apt-get
by running the following command:
sudo apt-get -y install hb-honeypot
Install hb-honeypot Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install hb-honeypot
using apt
by running the following command:
sudo apt -y install hb-honeypot
Install hb-honeypot 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 hb-honeypot
using aptitude
by running the following command:
sudo aptitude -y install hb-honeypot
How To Uninstall hb-honeypot on Kali Linux
To uninstall only the hb-honeypot
package we can use the following command:
sudo apt-get remove hb-honeypot
Uninstall hb-honeypot And Its Dependencies
To uninstall hb-honeypot
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove hb-honeypot
Remove hb-honeypot Configurations and Data
To remove hb-honeypot
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge hb-honeypot
Remove hb-honeypot configuration, data, and all of its dependencies
We can use the following command to remove hb-honeypot
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge hb-honeypot
Dependencies
hb-honeypot have the following dependencies:
References
Summary
In this tutorial we learn how to install hb-honeypot
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.