Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-02T15:46:03.000Z (about 2 years ago)
- Last Synced: 2023-03-03T22:13:31.325Z (over 1 year ago)
- Topics: adonis, adonisjs, hacktoberfest, honeypot, nodejs, react, reactjs, ssh, tailwindcss
- Language: JavaScript
- Homepage:
- Size: 6.72 MB
- Stars: 1
- Watchers: 1
- 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
![image](https://user-images.githubusercontent.com/2575182/188282950-136a6d86-e38e-4349-b9cf-c8a049676140.png)
![image](https://user-images.githubusercontent.com/2575182/188282967-5b28eb7e-d1a0-4302-b1d6-c9792622671e.png)## ✨ Contributors
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#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!