News for hackers. Stuff that matters.
Re:Show HN: Watch bots interact with an SSH honeypot in real... by tusksm on Friday July 17, 2026 @10:05AM (#48947557)
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?

Re:Show HN: Watch bots interact with an SSH honeypot in real... by rkagerer on Friday July 17, 2026 @11:25AM (#48948531)
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.

Re:Show HN: Watch bots interact with an SSH honeypot in real... by ryandrake on Friday July 17, 2026 @11:44AM (#48948734)
> 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.

Hard for me to find much sympathy for negligent users who unintentionally allowed their home computers or phones to join a malicious botnet, or their ISPs who aren't stopping the activity. Even if it is my own grandma's PC.

I agree about the content though, there probably are a lot of actually innocent victims' personal information in the traffic itself.

Re:Show HN: Watch bots interact with an SSH honeypot in real... by taftster on Friday July 17, 2026 @12:03PM (#48948942)
Easy for you to say, assuming your PC is clean. I don't think negligent is the right word though. Ignorant maybe? Or some form of naivety? The negligence might be on software or hardware vendors, but grandma isn't to blame for the problem.
Re:Show HN: Watch bots interact with an SSH honeypot in real... by singleshot_ on Friday July 17, 2026 @03:35PM (#48951395)
Software providers generally lack a duty to their clients to create and sell secure software. Further, generally, when you get hacked, there is only an interrupted causal chain between the software and your loss. Interrupting that chain is the intervening superseding cause of a criminal third-party. Finally, no states allow punitive damages, absent gross negligence in a software context.
Re:Show HN: Watch bots interact with an SSH honeypot in real... by dpoloncsak on Friday July 17, 2026 @12:51PM (#48949471)
I disagree personally. If these IPs are being used to attempt to gain unauthorized access, it's better to make the public aware, imo.
Re:Show HN: Watch bots interact with an SSH honeypot in real... by rolph on Friday July 17, 2026 @01:16PM (#48949781)
when you read or are told not to click on that link in the e-mail, or open the attachment, you should fire up your monitor while you are clicking on the links.

it might be interesting to have an eye on this while you are talking to the phone scammer.

Re:Show HN: Watch bots interact with an SSH honeypot in real... by p1anecrazy on Friday July 17, 2026 @11:04AM (#48948260)
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.

Re:Show HN: Watch bots interact with an SSH honeypot in real... by LorenDB on Friday July 17, 2026 @11:14AM (#48948394)
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.
Re:Show HN: Watch bots interact with an SSH honeypot in real... by CookieCrisp on Friday July 17, 2026 @11:50AM (#48948805)
Probably the ssh key
Re:Show HN: Watch bots interact with an SSH honeypot in real... by tusksm on Tuesday July 21, 2026 @06:41AM (#48990511)
Added https://honeypotlive.cc/campaigns/ to view combined campaigns. For now, only in strict high-confidence clusters.
Re:Show HN: Watch bots interact with an SSH honeypot in real... by krunck on Friday July 17, 2026 @11:08AM (#48948312)
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.

Re:Show HN: Watch bots interact with an SSH honeypot in real... by hideout_berlin on Friday July 17, 2026 @11:05AM (#48948271)
you could make the logs public too :)
Re:Show HN: Watch bots interact with an SSH honeypot in real... by left-struck on Saturday July 18, 2026 @02:26AM (#48955722)
> a system fingerprinting script that appears designed to distinguish a real shell from a honeypot

Huh, so if you figure out what triggers this script into thinking your system is a honeypot, and then make your real system behave that way… unhackable /s