Git Product home page Git Product logo

ssh-honeypot's Introduction

Simple SSH Honeypot Server

Introduction

The Simple SSH Honeypot Server is a script for cybersecurity enthusiasts and professionals to analyze SSH-based network interactions. Utilizing Python and the Twisted framework, this script simulates an SSH server, logging unauthorized access attempts and credentials. This is a valuable resource for understanding SSH vulnerabilities and intrusion techniques.

Features

  • Low-Interaction Honeypot: Simulates an SSH server for safely logging authentication attempts.
  • Customizable Configuration: Host and port settings can be adjusted through command-line arguments.
  • Detailed Logging: Records all SSH interactions, including usernames and passwords.
  • Real-Time Monitoring: Enables immediate logging and reporting of SSH activities for swift detection of anomalies.
  • Educational Tool: Great for learning about SSH security issues and network reconnaissance methods.

Requirements

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

Installation

To install and set up the SSH honeypot server, execute the following commands:

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

Usage

Start the server with these optional parameters for the host and port. By default, it binds to all interfaces (0.0.0.0) on port 2222.

python3 ssh.py --host 0.0.0.0 --port 2222 --version "SSH-2.0-OpenSSH_7.4"

Logging

All SSH interactions are logged in ssh_honeypot.log, providing detailed records of login attempts and commands issued to the server.

Simple SSH Honeypot In Action

Simple SSH Honeypot in Action This image displays the Simple SSH Honeypot Server capturing real-time SSH login attempts and commands.

Other Simple Honeypot Services

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

Security and Compliance

  • Caution: Employ this honeypot in secure and controlled environments for research and educational purposes.
  • Compliance: Ensure all deployments comply with local and international legal standards.

License

This project is released under the MIT License. For more details, see the LICENSE file.

ssh-honeypot's People

Contributors

iodn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

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.