# Kippo Honeypot Video Gallery

**URL:** https://forum.tjll.net/t/kippo-honeypot-video-gallery/44
**Category:** uncategorized
**Created:** [October 20, 2014, 4:21am UTC](https://forum.tjll.net/t/kippo-honeypot-video-gallery/44 "2014-10-20T04:21:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tyler](https://forum.tjll.net/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@tyler](https://forum.tjll.net/u/tyler)
#### Post date: [October 20, 2014, 4:21am UTC](https://forum.tjll.net/t/kippo-honeypot-video-gallery/44/1 "2014-10-20T04:21:31Z")

</div>

[Honeypots](https://en.wikipedia.org/wiki/Honeypot_%28computing%29) are rad. Their uses are varied, but I’ve used my own mostly for research (and entertainment.) It’s been running for over a year now, and I thought it would be worthwhile (and interesting) to summarize my findings.

* * *
This is a companion discussion topic for the original entry at [http://blog.tjll.net/kippo-honeypot-video-gallery/](http://blog.tjll.net/kippo-honeypot-video-gallery/)

---

<div class="post-metadata">

### Author: ![backwardm](https://forum.tjll.net/user_avatar/forum.tjll.net/backwardm/32/29_2.png) [@backwardm](https://forum.tjll.net/u/backwardm)
#### Post date: [October 23, 2014, 5:47pm UTC](https://forum.tjll.net/t/kippo-honeypot-video-gallery/44/2 "2014-10-23T17:47:37Z")

</div>

Pretty fun to see those… especially the drunken typist. A quick question: Did you just leave your root password blank? _(is that what you mean by an “open port 22”?)_ If not, how were these guys able to log in as root?

---

<div class="post-metadata">

### Author: ![tylerjl](https://forum.tjll.net/user_avatar/forum.tjll.net/tylerjl/32/21_2.png) [@tylerjl](https://forum.tjll.net/u/tylerjl)
#### Post date: [October 24, 2014, 12:23am UTC](https://forum.tjll.net/t/kippo-honeypot-video-gallery/44/3 "2014-10-24T00:23:49Z")

</div>

Yeah, the drunken typist has oddly been my favorite. 🍺

In short, root logins were “left open” by having the honeypot listen on port 22 with a weak password.

In more detail: I definitely wanted to have kippo running unprivileged, but that means that it’s unable to bind to port :22 on the host (yeah, there are some special flags you can tack onto binaries to enable these sort of capabilities, but I didn’t want to get _too_ fancy.) The following IPTables rule reroutes incoming port 22 to a different listening port:

```
-A PREROUTING -p tcp -m tcp --dport 22 -j REDIRECT --to-ports 2222

```

Weak credentials are kind of tricky. I’ve found that a simple password like “root” makes crackers wary of the box (“That looks a little _too_ open…”) but setting the root password to something like “password1234” is just enough above the “stupidly guessable” threshold that brute forcers will bite.

---

<div class="post-metadata">

### Author: ![Pbpredator](https://forum.tjll.net/letter_avatar_proxy/v4/letter/p/3da27b/32.png) [@Pbpredator](https://forum.tjll.net/u/Pbpredator)
#### Post date: [October 14, 2016, 8:07pm UTC](https://forum.tjll.net/t/kippo-honeypot-video-gallery/44/4 "2016-10-14T20:07:47Z")

</div>

I know this thread is like 2 years old… but, I was wondering how you film the hackers in the honeypot? I have my honey pot setup, but I’m not sure the best way to record the actions of the person on the other side…

---

<div class="post-metadata">

### Author: ![tylerjl](https://forum.tjll.net/user_avatar/forum.tjll.net/tylerjl/32/21_2.png) [@tylerjl](https://forum.tjll.net/u/tylerjl)
#### Post date: [October 15, 2016, 6:28pm UTC](https://forum.tjll.net/t/kippo-honeypot-video-gallery/44/5 "2016-10-15T18:28:04Z")

</div>

Hi! It’s been a while but there are a few places I can point you:

Kippo has a utility that it ships with that enables you to playback the logs that it records - checkout the `util/playlog.py` utility in the [kippo github repo](https://github.com/desaster/kippo) (not sure what options you might have if you’re not using kippo).

In order to record and reproduce the logs here, I piped the output of `playlog.py` into [asciinema](https://asciinema.org/docs/usage) using it to record the output. At that point it’s just a matter of embedding the asciinema recording.

Hope that helps!

---

<div class="post-metadata">

### Author: ![sbrl](https://forum.tjll.net/user_avatar/forum.tjll.net/sbrl/32/62_2.png) [@sbrl](https://forum.tjll.net/u/sbrl)
#### Post date: [October 27, 2019, 10:25am UTC](https://forum.tjll.net/t/kippo-honeypot-video-gallery/44/6 "2019-10-27T10:25:37Z")

</div>

Hey! Great post. It was a little hard to follow though, because all the asciinema recordings have been archived and I can’t see them (asciinema made a change recently where all recordings that aren’t attached to an account are automatically archived after 7 days).

---

<div class="post-metadata">

### Author: ![tylerjl](https://forum.tjll.net/user_avatar/forum.tjll.net/tylerjl/32/21_2.png) [@tylerjl](https://forum.tjll.net/u/tylerjl)
#### Post date: [January 29, 2020, 5:22am UTC](https://forum.tjll.net/t/kippo-honeypot-video-gallery/44/7 "2020-01-29T05:22:09Z")

</div>

@sbrl thank you for catching that! I’ve had the recordings restored by Asciinema, and also retrieved them to host them purely locally to avoid this situation in the future. Let me know if any of the recordings continue to fail to render.

---

<div class="post-metadata">

### Author: ![sbrl](https://forum.tjll.net/user_avatar/forum.tjll.net/sbrl/32/62_2.png) [@sbrl](https://forum.tjll.net/u/sbrl)
#### Post date: [February 5, 2020, 9:33pm UTC](https://forum.tjll.net/t/kippo-honeypot-video-gallery/44/8 "2020-02-05T21:33:48Z")

</div>

Hey, thanks!

Re-reading it with the asciinema recordings, it’s pretty hilarious. Thanks for sharing! Once I’ve got a proper setup going (inspired by your going completely overboard post!), I’d like to perhaps look at something like this.

> In more detail: I definitely wanted to have kippo running unprivileged, but that means that it’s unable to bind to port :22 on the host

I do this on for my Gitea instance:

```bash
setcap 'cap_net_bind_service=+ep' path/to/binary

```

I’ve got it as a little shell script that I re-execute every time it updates. Thinking about it, I could use a `systemctl edit service_name` and add an `ExecStartPre=` line to it for the same effect.
