How debang5hu/wushi works
Wushi runs two honeypot services: a Go supervisor starts and retries the HTTP and SSH processes, while signal handling coordinates shutdown. HTTP requests are enriched with geolocation and user-agent details, and login submissions are recorded; SSH captures authentication attempts and offers an interactive shell after authentication. The README also describes HTTPS, CAPTCHA, jailed-shell behavior, persistent keys, and separate service logs. The graph uses documented behavior where source excerpts do not show supervisor subprocess targets importing one another.
Main entry points: wushi.go Go supervisor · honeyssh.py SSH service · honeyhttp.py Request capture
Components 17
Process supervision
- Go supervisor
honey/wushi.go - Shutdown signals
honey/wushi.go
HTTP honeypot
- HTTP service
honey/honeyhttp.py - Request capture
honey/honeyhttp.py - Geolocation lookup
honey/honeyhttp.py - Agent parsing
honey/honeyhttp.py - Login and CAPTCHA
honey/honeyhttp.py
SSH honeypot
- SSH service
honey/honeyssh.py - SSH authentication
honey/honeyssh.py - Interactive shell
honey/honeyssh.py - Persistent RSA key
honey/honeyssh.py
Event logging
- HTTP event log
honey/honeyhttp.py - SSH event log
honey/honeyssh.py - Monitor log
honey/wushi.go
Other components
- Operator
- Geolocation API
- Remote attacker
Connections 21
- Operator → Go supervisor: starts
README.md - Go supervisor → HTTP service: starts and retries
README.md - Go supervisor → SSH service: starts and retries
README.md - Go supervisor → Shutdown signals: handles shutdown
honey/wushi.go - Go supervisor → Monitor log: writes status
honey/wushi.go - Remote attacker → HTTP service: sends requests
README.md - HTTP service → Request capture: handles requests
honey/honeyhttp.py - Request capture → Geolocation lookup: looks up IP
honey/honeyhttp.py - Request capture → Agent parsing: parses agent
honey/honeyhttp.py - Request capture → HTTP event log: writes request data
honey/honeyhttp.py - Geolocation lookup → Geolocation API: queries
honey/honeyhttp.py - HTTP service → Login and CAPTCHA: routes login
honey/honeyhttp.py - Login and CAPTCHA → Geolocation lookup: enriches login
honey/honeyhttp.py - Login and CAPTCHA → Agent parsing: parses agent
honey/honeyhttp.py - Login and CAPTCHA → HTTP event log: records credentials
honey/honeyhttp.py - Remote attacker → SSH service: opens connection
README.md - SSH service → Persistent RSA key: loads key
honey/honeyssh.py - SSH service → SSH authentication: starts transport
honey/honeyssh.py - SSH authentication → SSH event log: records attempts
honey/honeyssh.py - SSH service → Interactive shell: opens channel shell
honey/honeyssh.py - Interactive shell → SSH event log: logs shell events
honey/honeyssh.py