49

GitHub - anouarbensaad/IoT-Honeypot: This tool to simulate http server attacks i...

 6 years ago
source link: https://github.com/anouarbensaad/IoT-Honeypot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

README.md

IoT-Honeypot

isetsohoney to git

This tool to simulate Device IoT(Router) attacks in Python which logs HackerIP and all the tracing he does into a Logfile then a database.

Requirements
  • Python (2.7 or 3.0)
  • Apache2
  • Mysql-server
  • HTTrack

Installation

  • Clone the repository. git clone https://github.com/anouarbensaad/HTTP-Honeypot.git and switch into the directory cd HTTP-Honeypot
Configuration DATABASE
  • Run mysql with root user sudo mysql -u root
  • Create the database isetsohoney CREATE DATABASE isetsohoney;
  • add the privileges to rootGRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'isetso';
  • create table log with this fieldsCREATE TABLE log (id int NOT NULL PRIMARY KEY, date datetime, iphacker varchar(255), uri varchar(255));

Running

  • run server with command : python HTTP_Honeypot_Server.py
  • Starting Server ON 999, Username : root , Password : toor
  • Run HTTrack for copy real websites to local directory and copy it in Sys/fake
Test
  • Scan The Server Banner with Nmap nmap -sV --script=banner 192.168.1.1 -p999
  • Open http://192.168.1.1:999
Logs Files

43874380-d7dd5066-9b8b-11e8-8ce7-28903206cdeb.png

License

MIT


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK