Code Monkey home page Code Monkey logo

https-honeypot's Introduction

Simple HTTPS Honeypot Server

Introduction

The Simple HTTPS Honeypot Server is a cybersecurity tool aimed at emulating a secure web server (HTTPS) to monitor and analyze encrypted web traffic. It uses Python and the Twisted framework to simulate a secure server environment, complete with self-signed SSL certificates. This server is crucial for understanding HTTPS vulnerabilities and potential intrusion methods.

Features

  • HTTPS Server Emulation: Mimics a secure web server to log HTTPS requests.
  • Self-Signed SSL Certificates: Generates self-signed SSL certificates to mimic secure connections.
  • Resource Inlining: Downloads and adjusts external resources like CSS, JS, and images for realistic emulation.
  • Extensive Logging: Records all HTTPS requests, including headers, client IP, and requested paths.
  • Real-Time Monitoring: Instant insights into HTTPS traffic for suspicious activity detection.
  • Educational Resource: Great for studying web security in encrypted environments.

Beta Version Notice

  • Beta Version: This script is currently in beta. It may not fully support all websites or web services. Contributions and pull requests are welcome!

Requirements

  • Python 3.x
  • Twisted Python library
  • BeautifulSoup4 Python library
  • Requests Python library
  • Cryptography Python library

Installation

Set up the HTTPS honeypot server with these steps:

git clone https://github.com/0xNslabs/https-honeypot.git
cd https-honeypot
pip install twisted beautifulsoup4 requests cryptography

Usage

Run the server with the necessary arguments for host, port, SSL configuration, and target URL:

python3 https.py --host 0.0.0.0 --port 443 --url "https://example.com" --ssl_country "US" --ssl_state "CA" --ssl_locality "San Francisco" --ssl_org "NeroTeam Security Labs" --domain_name "localhost"

Logging

Logs are saved in https_honeypot.log, containing detailed records of HTTPS requests and interactions.

Simple HTTPS Honeypot in Action

Simple HTTPS Honeypot in Action This image illustrates the Simple HTTPS Honeypot Server capturing real-time HTTPS requests.

Other Simple Honeypot Services

Check out the other honeypot services for monitoring various network protocols:

Security and Compliance

  • Caution: Operate this honeypot within secure, controlled settings for research and learning purposes.
  • Compliance: Deploy this honeypot in accordance with local and international legal and ethical standards.

License

This project is available under the MIT License. See the LICENSE file for more information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.