Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

SSH-Winnie



a Node.js SSH honeypot to register data about connections attempts




GitHub workflow status


Docker image size


GitHub issues


GitHub pull requests


License




## 📜 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)):



Xavier Stouder

💻

Adriel

🎨

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!