Setting Up a Honeypot with PentBox in Kali Linux
-
Install Ruby (required to run PentBox):
sudo apt update sudo apt install ruby
-
Download PentBox from GitHub:
git clone https://github.com/technicaldada/pentbox.git cd pentbox
-
Run PentBox:
ruby pentbox.rb
-
Navigate the menu:
Select
3→ Faking stuffThen
2→ Honeypot -
Configure the honeypot:
Choose a port number (e.g., 23 for Telnet)
Enter a log file path (e.g., /home/kali/Desktop/honeypot.log)
Set a warning message (e.g., "Unauthorized access is prohibited!")
-
Let it run:
PentBox will listen on the selected port and log all connection attempts.
-
Check logs:
cat /home/kali/Desktop/honeypot.log