Giter Site home page Giter Site logo

manuka's Introduction

manuka - docker honeypot setup script

A script to run a dionaea docker image and kippo docker image.

Next iteration of the honeypot setup script it sticks all the dependencies in the Docker images which should make it more compatible across operating systems.

pre-requisites

# docker 1.3+ and docker-compose installed
sudo apt-get update && sudo apt-get install -y python-pip
sudo pip install docker-compose

setup

# ! This will move SSH from port 22 to 65534
#
# Make sure Docker and docker-compose are installed
#
curl -q https://raw.githubusercontent.com/andrewmichaelsmith/manuka/master/run.sh > run.sh
chmod +x run.sh
./run.sh

effects

  • Moves SSH server from port 22 to 65534
  • Installs dionaea, micheloosterhof/kippo
  • All logs and binaries saved to $PWD/var
  • Sets up dionaea and kippo as system services that run on startup
  • Uses docker

manuka's People

Contributors

andrewmichaelsmith avatar bossiernesto avatar mboman avatar ravenium avatar

Stargazers

 avatar JustSKY avatar Andrew Eng avatar Ahmed Naveed Asif avatar  avatar  avatar HGA avatar  avatar  avatar  avatar Jared Egolf avatar muuk avatar  avatar  avatar Av1at0r avatar Alexander Schroll avatar Francis avatar Santeri Vesalainen avatar  avatar Matthew Wollenweber avatar  avatar Nogweii avatar

Watchers

 avatar James Cloos avatar  avatar  avatar Jamz avatar  avatar  avatar  avatar

manuka's Issues

Port the rest of honeypot-setup-script

We shouldn't be downloading a git repo that has a bash file that just does stuff with can do with our Dockerfile. Should port the rest of it to Dockerfile.

Script fails when creating containers

Hi there. I have been trying to get Dionaea running in one form or another for 2 days and it's been a stupid process with errors a-plenty and I'm about ready to basically kill myself. I tried your first script and it never worked creating the services because the files were missing #!/bin/sh at the start.

So now I'm trying this. And I'm getting this:

ERROR: for ubuntu_dionaea_1  Cannot create container for service dionaea: create var/dionaea: "var/dionaea" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intented to pass a host directory, use abCreating ubuntu_kippo_1 ... error

ERROR: for ubuntu_kippo_1  Cannot create container for service kippo: create var/kippo: "var/kippo" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intented to pass a host directory, use absolute path

ERROR: for dionaea  Cannot create container for service dionaea: create var/dionaea: "var/dionaea" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intented to pass a host directory, use absolute path

ERROR: for kippo  Cannot create container for service kippo: create var/kippo: "var/kippo" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intented to pass a host directory, use absolute path
ERROR: Encountered errors while bringing up the project.

Any ideas? This is with an unmodified version of your script.

kippo takes a while to restart after re-launch/upgrade

Reproduce:

./run.sh
./run.sh
docker logs manuka_kippo_1

Issue:

Another twistd server is running, PID 18

This could either be a previously started instance of your application or a
different application entirely. To start a new one, either run it in some other
directory, or use the --pidfile and --logfile parameters to avoid clashes.

..
..

Removing stale pidfile /vol/kippo/kippo.pid

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.