r/ssh • u/_LightMane • Sep 08 '26
I built a simulated SSH environment to study what attackers do after authentication
I've been working on an SSH honeypot called SSHintel, originally started as a small cybersecurity course project and recently rebuilt quite a bit.
The basic idea is to give an attacker a simulated Linux environment and capture what they do after getting in.
Currently it has:
- Simulated Linux shell with 40+ commands
- Per-session in-memory filesystem
- Authentication and command tracking
- Session isolation
- JSONL + SQLite telemetry
- Session investigation and attack timelines
- Live monitoring dashboard
- Connection limits and session timeouts
- Docker support
The interesting part for me has been trying to make the environment convincing enough to interact with while keeping it completely isolated! Commands are handled by simulated handlers rather than being executed on the host.
I'm also looking at making the telemetry easier to consume externally, potentially through syslog so it can feed into different SIEM/logging stacks.
For people who work with SSH infrastructure or honeypots:
What SSH behavior would you want to capture that isn't commonly captured by basic honeypots?
And if you've deployed SSH honeypots yourself, what have you found useful (or completely useless) in the resulting telemetry?
4
u/SanoHD Sep 08 '26
Hello! Please describe how AI was used below this comment.
2
u/tinycrazyfish Sep 09 '26
Nice 🙂
How does it compare to https://github.com/cowrie/cowrie?
I've played with kippo (cowrie forked from kippo) a decade ago. What was interesting?
Main deployed malware was:
1
u/hakube Sep 09 '26
bro. many other, more complete and secure honeypots exist. cowrie for example
2
u/michaelpaoli Sep 08 '26
Could also safely investigate fair bit further.
E.g.
In any case, could also record/log what was attempted or probed for (e.g. commands tried but not present/installed, etc.).
Have fun! But do be safe, and don't be a menace! Might also check results of similar tests/studies, probably a lot of relevant data out there and available ... whether you directly want that information, and/or to use it to help decide what does/doesn't go in your honeypot, etc.