https://github.com/xstoudi/ssh-winnie
SSH-Winnie is a Node.js SSH honeypot to register data about connections attempts
https://github.com/xstoudi/ssh-winnie
adonis adonisjs hacktoberfest honeypot nodejs react reactjs ssh tailwindcss
Last synced: 3 months ago
JSON representation
SSH-Winnie is a Node.js SSH honeypot to register data about connections attempts
- Host: GitHub
- URL: https://github.com/xstoudi/ssh-winnie
- Owner: Xstoudi
- License: mit
- Created: 2022-07-29T01:15:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-02T15:46:03.000Z (almost 4 years ago)
- Last Synced: 2025-03-18T00:44:59.040Z (over 1 year ago)
- Topics: adonis, adonisjs, hacktoberfest, honeypot, nodejs, react, reactjs, ssh, tailwindcss
- Language: JavaScript
- Homepage:
- Size: 6.72 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SSH-Winnie
a Node.js SSH honeypot to register data about connections attempts
## 📜 Features
- Record login attempts on PostgreSQL database
- Dashboard to display basic informations about collected samples, including username, password, autonomous system name, country
- Export attempts to CSV
- Able to centralize datas from multiple honeypot hosts
- Report remote IP to AbuseIPDB
## 🚧 Requirements
- [Node.js](https://nodejs.org/en/) LTS 16.x or higher
- [PostgreSQL](https://www.postgresql.org/) 14.x
## 🛫 Getting started
Just pull [the docker image](https://hub.docker.com/repository/docker/xstoudi/winnie) and run it with appropriate environment variables as described below, either by command line or using `docker compose`.
## ⚙️ Configuration
Winnie must be configured using environment variables:
```env
SSH_HOST=0.0.0.0
SSH_PORT=3555
HOST=0.0.0.0
PORT=3333
NODE_ENV=production
APP_KEY=
DRIVE_DISK=local
DB_CONNECTION=pg
PG_HOST=
PG_PORT=
PG_USER=
PG_PASSWORD=
PG_DB_NAME=
CACHE_VIEWS=false
WINNIE_NAME=
ENABLE_DASHBOARD= # don't set if you want to setup ssh honeypot only
ABUSEIP_API_KEY= # remove if you don't want to report the attempts
```
## 📷 Screenshots


## ✨ Contributors
[](#contributors-)
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!