Giter VIP home page Giter VIP logo

devdevdany / turris-sentinel-minipot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from turris-cz/sentinel-minipot

0.0 0.0 0.0 544 KB

Lightweight honeypots - recording connection attempts and usernames&passwords tried.

Home Page: https://gitlab.nic.cz/turris/sentinel/minipot

License: GNU General Public License v3.0

Shell 0.62% Python 62.32% C 35.86% Makefile 0.63% M4 0.35% Dockerfile 0.22%

turris-sentinel-minipot's Introduction

Sentinel-minipot - minimal honeypot

It emulates Telnet, HTTP, FTP and SMTP network services. Main purpose of the Sentinel-minipot is to collect authentication information from login attempts. Not all functionalities of particular service - protocol are implemented, only functionality needed for authentication is. Recorded events of peer connection and authentication are logged to Sentinel proxy.

Dependencies

for non glibc:

compilation tools:

  • gperf - a perfect hash function generator

For bootstrap (not release tarballs):

  • autotools
  • autoconf-archive

For tests:

Compilation and tests

GNU Autotools are used for building executable file from the source code. C99 compliant compiler is needed.

In main project folder run:

./bootstrap
./configure
make

To enable tests run: ./bootstrap --enable-tests

To run tests: make ckeck

To run tests with valgrind: make check-valgrind

To run tests with just one specific Valgrind test such as memtest you can run: make check-valgrind-memcheck

Program arguments

optional - these arguments has a default values in case their value is not given by input arguments.

  • -u x - user to drop privileges. Default is nobody.
  • -t x - MQTT topic for later communication of Sentinel proxy with server. Default is sentinel/collect/minipot.
  • -s x - local ZMQ socket for interprocess communication with Sentinel proxy. Default is ipc:///tmp/sentinel_pull.sock.

mandatory - At least one of them must be present. These arguments define which minipots are run on which ports, so at least one minipot must be set up for running.

  • -T x - Telnet minipot on port x
  • -H x - HTTP minipot on port x
  • -F x - FTP minipot on port x
  • -S x - SMTP minipot on port x

Several instances of same service minipot - child process can run together. Of course not at the same port.

E.g. for running HTTP minipot on port 9000, FTP minipot on port 9001 and SMTP minipot on port 9002 run:

./sentinel_minipot -H 9000 -F 9001 -S 9002

turris-sentinel-minipot's People

Contributors

mirus3 avatar cynerd avatar miska 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.