Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magisterquis/sshhipot
High-interaction MitM SSH honeypot
https://github.com/magisterquis/sshhipot
Last synced: 24 days ago
JSON representation
High-interaction MitM SSH honeypot
- Host: GitHub
- URL: https://github.com/magisterquis/sshhipot
- Owner: magisterquis
- License: zlib
- Created: 2016-01-23T07:09:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-13T17:10:27.000Z (over 6 years ago)
- Last Synced: 2024-08-04T23:09:57.876Z (4 months ago)
- Language: Go
- Size: 83.3 MB
- Stars: 168
- Watchers: 9
- Forks: 53
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-honeypot - **146**星 - interaction MitM SSH honeypot (<a id="c8f749888134d57b5fb32382c78ef2d1"></a>SSH&&Telnet)
- awesome-network-stuff - **146**星 - interaction MitM SSH honeypot (<a id="42f9e068b6511bcbb47d6b2b273097da"></a>未分类 / <a id="3bd67ee9f322e2c85854991c85ed6da0"></a>投毒&&Poisoning)
README
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
------------
```bash
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`](http://bash.org/?244321). Also see the `-pf` flag.
`-sf` | Fingerprint of real server's Host Key (retreivable with `ssh-keyscan hostname 2>/dev/null | ssh-keygen -lf -`)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.