All Projects → mushorg → Snare

mushorg / Snare

Licence: gpl-3.0
Super Next generation Advanced Reactive honEypot

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Snare

Pyrdp
RDP man-in-the-middle (mitm) and library for Python with the ability to watch connections live or after the fact
Stars: ✭ 567 (+82.32%)
Mutual labels:  hacktoberfest, honeypot
Conpot
ICS/SCADA honeypot
Stars: ✭ 853 (+174.28%)
Mutual labels:  hacktoberfest, honeypot
Glutton
Generic Low Interaction Honeypot
Stars: ✭ 151 (-51.45%)
Mutual labels:  hacktoberfest, honeypot
Cucumber
A monorepo of common components - building blocks for implementing Cucumber in various languages.
Stars: ✭ 3,299 (+960.77%)
Mutual labels:  hacktoberfest
Submitty
Homework Submission, Automated Grading, and TA grading system.
Stars: ✭ 311 (+0%)
Mutual labels:  hacktoberfest
Openhospital
Open Hospital is a free and open source software for healthcare data management. This repository is used to build its releases.
Stars: ✭ 312 (+0.32%)
Mutual labels:  hacktoberfest
Ghost Cli
CLI Tool for installing & updating Ghost
Stars: ✭ 313 (+0.64%)
Mutual labels:  hacktoberfest
Coala
coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.
Stars: ✭ 3,280 (+954.66%)
Mutual labels:  hacktoberfest
Grabana
User-friendly Go library for building Grafana dashboards
Stars: ✭ 313 (+0.64%)
Mutual labels:  hacktoberfest
Carbon Components Angular
An Angular implementation of the Carbon Design System for IBM.
Stars: ✭ 310 (-0.32%)
Mutual labels:  hacktoberfest
Scssphp
SCSS compiler written in PHP
Stars: ✭ 309 (-0.64%)
Mutual labels:  hacktoberfest
Overland Ios
📌 GPS logger for iOS devices
Stars: ✭ 310 (-0.32%)
Mutual labels:  hacktoberfest
Jackson Modules Java8
Set of support modules for Java 8 datatypes (Optionals, date/time) and features (parameter names)
Stars: ✭ 312 (+0.32%)
Mutual labels:  hacktoberfest
Awesome Dashboards
List of dashboards free to use
Stars: ✭ 309 (-0.64%)
Mutual labels:  hacktoberfest
Laravel Packer
Awesome Command Line Tool for speeding up your package creation.
Stars: ✭ 313 (+0.64%)
Mutual labels:  hacktoberfest
Esphome
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Stars: ✭ 4,324 (+1290.35%)
Mutual labels:  hacktoberfest
Katello
Katello integrates open source systems management tools into a single solution for controlling the lifecycle of your machines.
Stars: ✭ 312 (+0.32%)
Mutual labels:  hacktoberfest
Physx Rs
🎳 Rust binding and wrapper over NVIDIA PhysX 🦀
Stars: ✭ 310 (-0.32%)
Mutual labels:  hacktoberfest
Gatsby Woocommerce Themes
⚡ A Gatsby Theme for WooCommerce E-commerce site Gatsby WooCommerce WordPress
Stars: ✭ 306 (-1.61%)
Mutual labels:  hacktoberfest
Code Sleep Python
Awesome Projects in Python - Machine Learning Applications, Games, Desktop Applications all in Python 🐍
Stars: ✭ 306 (-1.61%)
Mutual labels:  hacktoberfest

SNARE

Documentation Status Build Status Coverage Status

Super Next generation Advanced Reactive honEypot

About

SNARE is a web application honeypot sensor attracting all sort of maliciousness from the Internet.

Documentation

The documentation can be found here.

Basic Concepts

  • Surface first. Focus on the attack surface generation.
  • Sensors and masters. Lightweight collectors (SNARE) and central decision maker (tanner).

Getting started

  • You need Python3.6 to run SNARE
  • This was tested with a recent Ubuntu based Linux.

Steps to setup

  1. Get SNARE: git clone https://github.com/mushorg/snare.git and cd snare
  2. [Optional] Make virtual environment: python3 -m venv venv
  3. [Optional] Activate virtual environment: . venv/bin/activate

Note: Do not use sudo with below commands if you're running snare in virtual environment.

  1. Install requirements: sudo pip3 install -r requirements.txt
  2. Setup snare: sudo python3 setup.py install
  3. Clone a page: sudo clone --target http://example.com --path <path to base dir>
  4. Run SNARE: sudo snare --port 8080 --page-dir example.com --path <path to base dir>
  5. Test: Visit http://localhost:8080/index.html
  6. (Optionally) Have your own tanner service running.

[Note : Cloner clones the whole website, to restrict to a desired depth of cloning add --max-depth parameter]

Docker build instructions

  1. Change current directory to snare project directory
  2. docker-compose build
  3. docker-compose up
  4. Snare will start on 0.0.0.0 with port 80. More information about running docker-compose can be found here.

In case of an error while running docker-compose up, check the availability of port 80, if it is occupied then refer to Docker documentation to change the default port.

You obviously want to bind to 0.0.0.0 and port 80 when running in production.

Testing

In order to run the tests and receive a test coverage report, we recommend running pytest:

    pip install pytest pytest-cov
    sudo pytest --cov-report term-missing --cov=snare snare/tests/

Sample Output

    # sudo snare --port 8080 --page-dir example.com

       _____ _   _____    ____  ______
      / ___// | / /   |  / __ \/ ____/
      \__ \/  |/ / /| | / /_/ / __/
     ___/ / /|  / ___ |/ _, _/ /___
    /____/_/ |_/_/  |_/_/ |_/_____/


    privileges dropped, running as "nobody:nogroup"
    serving with uuid 9c10172f-7ce2-4fb4-b1c6-abc70141db56
    Debug logs will be stored in /opt/snare/snare.log
    Error logs will be stored in /opt/snare/snare.err
    ======== Running on http://127.0.0.1:8080 ========
    (Press CTRL+C to quit)
    you are running the latest version

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].