Thanks to visit codestin.com
Credit goes to github.com

Skip to content

HPotter is a lightweight, easy to install, perfect interaction honey pot that uses containerization for the victim applications.

License

Notifications You must be signed in to change notification settings

drsjb80/HPotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HPotter

A simple to install and run Honey Pot.

Build Status

Running and developing

Clone the repo

git clone https://github.com/drsjb80/HPotter
cd HPotter
source venv/bin/activate

Make sure you're running Docker.

To install the necessary packages, do:

pip install -r requirements.txt

To run the honeypot itself, do:

sudo python3 -m src

This should create listeners for HTTP, HTTPS, and telnet. Point your local broser to http://127.0.0.1 and https://127.0.0.1 For HTTPS, you'll need to accept the risk (minimal in this case) and find one of the Easter Eggs.

When/if you want to monitor who is probing you from the internet, you'll need to create port forwarding on your DSL/Cable modem etc. Here's a screen shot of how the might look for you.

Port Fowarding

containers.yml

A list of one or more of the following.

  • container, the name of the Docker container to run
  • listen_address, default: 0.0.0.0
  • listen_port, the port number.
  • request_length, how many bytes requests are allowed to be, default: 4096.
  • response_length, how many bytes responses are allowed to be, default: 4096.
  • request_commands, how many request commands (between delimiters), default: 10.
  • response_commands, how many response commands (between delimiters), default: 10.
  • request_delimiters, a list of delimiters between request commands, default: - \n\r.
  • response_delimiters, a list of delimiters between response commands, default: - \n\r.
  • socket_timeout, how many seconds of inactivity before closing socket.
  • threads, how many concurrent threads for this type of container, default: Python's default.
  • arguments, takes a valid ast.literal_eval input.
    • Example: 'arguments': '{"publish_all_ports":True, "detach":True, "volumes":["tmp:/tmp"]}'

config.yml

  • database, default: 'sqlite'
  • database_name, default: 'hpotter.db'
  • database_user, default: ''
  • database_password, default: ''
  • database_host, default: ''
  • database_port', default: ''

About

HPotter is a lightweight, easy to install, perfect interaction honey pot that uses containerization for the victim applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 12