Code Monkey home page Code Monkey logo

sshhipot's Introduction

Version 2 is under development. Please switch to the v2 branch, build, and run with -h.

SSHHiPot

High-interaction SSH honeypot (ok, it's really a logging ssh proxy).

Still more or less a work-in-progress. Feel free to go install this repository if you'd like to try it. Run it with -h to see more options. In particular, logging is kinda rough.

One of these days there'll be better documentation, really.

The general idea is that sshlowpot runs somewhere between the attacker and the real SSH server such that the attacker logs into the honeypot, and the honeypot logs into the server.

Contact

At this stage in its development, it's probably easier to find me on Freenode than anything, though reading the source is another option. It's not that painful. I can usually be found as magisterquis in #devious on freenode.

Installation

go install github.com/magisterquis/sshhipot

If you don't have go available, feel free to ask me (or someone who does) for compiled binaries. They can be made for a bunch of different platforms.

Config

Most of the options should be useable as-is. The ones I expect will need to be configured:

Option Use
-ck SSH identity file (i.e. id_rsa) to use to authenticate to the server.
-cs Server's address. Can be loopback, even.
-cu Ok, maybe root wasn't a great default. test is probably better.
-p Try 123456 or something more common than hunter2. Also see the -pf flag.
-sf Fingerprint of real server's Host Key (retreivable with `ssh-keyscan hostname 2>/dev/null

Please note by default the server listens on port 2222. You'll have to use pf or iptables or whatever other firewall to redirect the port. It's probably a really bad idea to run it as root. Don't do that.

There is a general log which goes to stdout. More granular logs go in a directory named conns by default (-d flag). At the moment, the granular logs also go to stderr.

Contributions

Yes, please.

Windows

It's in Go, so, probably? Send me a pull request if it doesn't work.

sshhipot's People

Contributors

magisterquis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sshhipot's Issues

About install

Hi,I found your ssh pot and installed it.But I met some problems with this sshhipot. Can you help me to figure it out? Following is my questions:
1.what is the function of the pot?
2.After install it, how can I make it function ?
3.How to see the results? Are the results some logs? And, where are the results?
Waiting for your answers ,Thank you!

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.