HoneyScan
Passive honeypot for home networks โ detects scans, brute-force, IoT malware with zero config
HoneyScan runs silently on your network, pretending to be vulnerable devices to detect and log attack attempts.
Features
- Service Emulation โ SSH, Telnet, HTTP, HTTPS, RDP, SMB, MQTT, CoAP, Modbus
- Credential Capture โ Logs usernames/passwords from brute-force attempts (hashed)
- IoT Malware Detection โ Identifies Mirai, Gafgyt, Hajime, Mozi variants
- Network Mapping โ Discovers scanning hosts, builds attack timeline
- Zero Config โ Auto-detects subnet, picks unused IPs, starts emulating
- Alerting โ Email, webhook, syslog, Matrix, Discord notifications
- Dashboard โ Web UI with attack map, top attackers, service stats
Quick Start
# Docker (recommended)
docker run -d --net=host --cap-add=NET_ADMIN \
-v honeypot-data:/data \
ghcr.io/neohiro/honeypot:latest
# Bare metal / VM
curl -fsSL https://raw.githubusercontent.com/neohiro/HoneyScan/main/install.sh | sudo bash
Emulated Services
| Service | Port | Variants |
|---|---|---|
| SSH | 22 | OpenSSH, Dropbear, BusyBox |
| Telnet | 23 | BusyBox, Cisco, Huawei |
| HTTP | 80 | nginx, Apache, lighttpd, GoAhead |
| HTTPS | 443 | Self-signed certs, common CNs |
| RDP | 3389 | Windows 7/10/Server |
| SMB | 445 | Samba, Windows 10 |
| MQTT | 1883 | Mosquitto, EMQX |
| CoAP | 5683 | libcoap, Californium |
Deployment
| Platform | Method |
|---|---|
| Raspberry Pi | docker run or bare metal install |
| VM (Proxmox, ESXi, Hyper-V) | Docker or ISO |
| Old laptop | install.sh |
| Cloud VPS | Docker Compose |
Alerting
# config/alerts.yaml
webhooks:
- url: "https://discord.com/api/webhooks/..."
events: ["login_attempt", "malware_detected", "new_scanner"]
email:
smtp: "smtp.gmail.com:587"
to: "security@yourdomain.com"
matrix:
homeserver: "https://matrix.org"
room: "!roomid:matrix.org"
Data Retention
- Attack logs: 90 days (configurable)
- Captured credentials: 30 days (auto-hashed)
- PCAP captures: 7 days (optional)
Privacy
- No phone home โ All data stays on your device
- No external deps โ Runs fully offline after install
- GDPR-ready โ No personal data collected
Related
- Cripple-NetStrip โ Active network hardening
- LANScan โ Active network scanner