Projects
100 · Security · Network
SSH Honeypot
A low-interaction honeypot that looks like an ordinary SSH server and records the usernames and passwords bots try.
Problem
Mini SIEM showed brute force attempts, but not the passwords or what bots do once they get in. I wanted to see that without giving anyone a real shell.
What I did
- Built a server with asyncssh that behaves like a real SSH server and records every login attempt and the client's fingerprint.
- Made a fake shell that runs entirely in memory; commands never run on the system, and download attempts only record the address.
- Records go to SQLite and to an sshd-style log that Mini SIEM can read; I added a small dashboard on top.
Flow
- SSH bots
- Fake SSH server
- Fake shell
- SQLite · log
- Dashboard
Result
The attacker never reaches a real shell, and every connection is limited in time and size. I checked this with tests: when a download or port forwarding is attempted, not a single outbound connection is opened.