frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Watch bots interact with an SSH honeypot in real time

https://honeypotlive.cc/
41•tusksm•1h ago

Comments

tusksm•1h ago
Hi HN,

I maintain several web servers and kept seeing a constant stream of SSH login attempts. At some point I became curious: what do these bots actually try to do after they get in?

I set up a Cowrie SSH honeypot and built a small live dashboard around its JSON logs. Cowrie listens on port 22, a Python service follows the log and streams events over WebSockets, and Nginx serves the frontend. The whole thing currently runs on a 1 vCPU / 1 GB Debian VPS.

The dashboard groups activity by source IP, with individual SSH sessions nested underneath. It shows authentication attempts, commands, SSH client fingerprints, file writes and downloads, and tunneling requests in real time.

Initially I thought the interesting part would be simply watching commands appear. After looking at the collected data, I realized that recurring behavior is much more interesting than individual events.

In one roughly 8-hour sample, the honeypot recorded about 1,950 sessions from 213 source IPs. 327 sessions reached command execution.

Some recurring patterns included:

- the same SSH public key being installed 152 times from 11 source IPs - a system fingerprinting script that appears designed to distinguish a real shell from a honeypot - a downloader requesting payloads for several CPU architectures - attempts to use SSH forwarding as a proxy - distributed credential probes that connect, test one value, and immediately disconnect

This also showed me that grouping activity only by IP isn't enough. Several apparently different sources can use the same SSH client fingerprint, command sequence, public key, or downloaded artifact and probably belong to the same automated campaign.

At the moment this is primarily a live log viewer. Some directions I am considering are:

- automatic classification of sessions as scanning, credential probing, reconnaissance, persistence, downloading, or tunneling - clustering activity into campaigns using HASSH fingerprints, command sequences, SSH keys, and artifact hashes - historical statistics and searchable sessions - support for multiple distributed honeypot sensors - publishing the collector and dashboard code

The public stream currently includes source IPs, attempted credentials, and commands. I added a notice explaining that an IP may belong to a compromised machine, proxy, VPN, or scanner, but I am still thinking through the privacy and responsible-disclosure tradeoffs.

Cowrie's "login.success" events only mean that the honeypot accepted the credentials; they don't mean those credentials would work on a real server.

I'm trying to decide whether this should remain a simple live visualization or grow into a small analysis tool.

Which direction would make this project most useful or interesting to you? Are there other patterns or types of analysis that would be worth adding?

p1anecrazy•38m ago
Hi, this is very interesting, thanks. While trying to educate myself about honeypots I came across this (https://securehoney.net/).

The aggregations of popular logins and IP locations seem interesting.

LorenDB•28m ago
From that site:

    Files uploaded 25,522 (46 unique)
    Malware uploaded 7,735 (43 unique)
I wonder what 3 files were so common that they were uploaded 17,787 times instead of malware.
hideout_berlin•37m ago
you could make the logs public too :)
krunck•35m ago
This is great. Thanks.

Try fingerprinting the behaviour in the sessions. Over time you should be able to distinguish between various automated tools and live people.

rkagerer•18m ago
Some kind of source IP masking would be prudent. As you pointed out, some of those machines are compromised, and you aren't making their owners' lives any easier.

Bad actors might use the data you're publishing to fingerprint specific exploits to which the machines are vulnerable, multiplying the problem.

If producing an IP blacklist is one of your aims, divorcing it from any specific traffic would be more responsible.

You may also want to consider the risk traffic from compromised machines could leak PII (eg. say a script tried to use you as a relay to exfiltrate data) - and the ethical and legal consequences. A filter for SIN, credit cards, etc. would be a basic table-stakes mitigation step.

arm32•50m ago
Hi tusksm! It's honeypot season! Really cool project, I've been working on a honeypot project of my own right now called `honeyprompt` (https://github.com/alectrocute/honeyprompt) that utilizes LLMs to craft responses and supports multiple protocols. Having a public sink presentation layer like honeypotlive.cc was one of my next todos.
tarpitt•34m ago
reminds me of https://xkcd.com/350/
CzaxTanmay•20m ago
Looks cool!
drcongo•16m ago
You know what extra data would be cool? If you hit `curl https://ip.guide/{src_ip}` and got back the ASN and country etc and added a leaderboard. In my own experiments in this area I've been gobsmacked by how much malicious traffic comes from Azure.

Show HN: Watch bots interact with an SSH honeypot in real time

https://honeypotlive.cc/
42•tusksm•1h ago•10 comments

Show HN: On-chain bond market where the issuers are AI agents

https://selbonds.now
5•griffinfoster7•1h ago•3 comments

Show HN: Explore the Workspaces of Modern Creators

https://workspaces.xyz/
2•ryangilbert•2m ago•0 comments

Show HN: DSA View View – A TypeScript runtime visualizer for algorithms

https://dsa-view-view.vercel.app/
3•nyaomaru•1h ago•1 comments

Show HN: Crux, a personal AI on your computer you can reach from anywhere

https://qunt.in
3•parker-nyx•1h ago•2 comments

Show HN: Wolbarg – Local-first shared memory for AI agents using SQLite

https://wolbarg.com/blog/why-sqlite-is-enough-for-local-ai-agent-memory
3•atharvmunde•1h ago•0 comments

Show HN: Clx – Compile Lua to Native Executables Through C++20

https://github.com/samyeyo/clx
130•_samt_•6d ago•30 comments

Show HN: Hearth, an open-source local AI that runs your PC (files, apps, voice)

https://github.com/0pen-Sourcer/Hearth
2•SwagKing•2h ago•0 comments

Show HN: Mojibake – A low-level Unicode library written in C

https://mojibake.zaerl.com/
71•program•17h ago•21 comments

Show HN: Leaves – A text-UI disk usage treemap visualizer

https://github.com/patonw/leaves
85•patonw•23h ago•25 comments

Show HN: Notvex – encrypted local-first notes with SQLCipher and XChaCha20

https://github.com/GFrancV/notvex
2•GFrancV•3h ago•0 comments

Show HN: BambooGrid – Open-source web UI for power grid modeling and power flow

https://bamboo.kickstage.com
31•soaringmonchi•23h ago•12 comments

Show HN: Be the ChatBOT

https://bethechatbot.com/
47•keito•20h ago•20 comments

Show HN: Libretto PR agents – Automatically fix failing playwright scripts

https://libretto.sh/debug-agents
19•muchael•19h ago•3 comments

Show HN: I've built a words game based on binary search

https://hilogame.cc/
48•ludovicianul•1d ago•60 comments

Show HN: I built TrackMyMetro, a fast, ad-free metro router for India

https://trackmymetro.com
3•HelloShiv•1h ago•0 comments

Show HN: A modern port of Linux to a ten-year-old QWERTY phone

41•tmzt•23h ago•12 comments

Show HN: Firefox in WebAssembly

https://developer.puter.com/labs/firefox-wasm/
255•coolelectronics•1d ago•126 comments

Show HN: Deadwire-HTTPD A triple-threaded x86-64 assembly static server

https://github.com/Deadbytes101/DEADWIRE-HTTPD
4•lexsandra56•6h ago•0 comments

Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)

https://github.com/welcome-to-the-sunny-side/misa77
158•nonadhocproblem•1d ago•48 comments

Show HN: Galois connections for composable numeric casts in Rust

https://github.com/cmk/connections
30•partialsolve•23h ago•3 comments

Show HN: QBasic Gorillas (Repeeled)

https://gameswithtony.com/gorillas/
26•TonyAlicea10•1d ago•25 comments

Show HN: One More Letter

https://playonemoreletter.com/
85•hmate9•1d ago•57 comments

Show HN: Algotrek – Algorithms visualized, problem shape shifting and a tutor

https://app.algotrek.io
12•nyggy•1d ago•4 comments

Show HN: Sentinel – open-source QA agent that reads your code before it clicks

https://blog.simbastack.com/announcing-sentinel/
15•asenna•1d ago•4 comments

Show HN: Scribe, a CLI that builds AI agent memory from your repos and sessions

https://getscribe.dev/
3•quatermain•10h ago•2 comments

Show HN: Low-latency local LLM runner via OpenJDK Panama FFM (Java 22)

https://github.com/projectargus-cc/libargus.cc
38•KingJoker•3d ago•9 comments

Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop

https://github.com/clawkwork/clawk
223•celrenheit•4d ago•156 comments

Show HN: E-- – A language you dial between English and Python

https://github.com/frmoded/e--
28•OdedF•6d ago•18 comments

Show HN: Opening lines of famous literary works

https://www.verbaprima.com/
178•plicerin•3d ago•104 comments