Skip to content

webwizardg99/sentinel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SENTINEL πŸ›‘οΈ

Multi-source honeypot aggregator. Unifies Cowrie SSH honeypot, HTTP honeypot, and canary token events into a single API β€” ready to feed dashboards, SIEM, or alerting pipelines.

Components

Component Port Description
canary_server.py 8181 HTTP canary token server β€” any hit on /canary/<token> triggers an alert
http_honeypot.py 8180 Fake HTTP service β€” logs all requests with full headers and body
sentinel_aggregator.py 8282 Unified API β€” aggregates Cowrie + HTTP + canary events

Quick Start

bash start.sh

Or individually:

python3 canary_server.py &
python3 http_honeypot.py &
python3 sentinel_aggregator.py

API

GET  /api/sentinel              β€” all recent events (Cowrie + HTTP + canary)
GET  /api/sentinel/cowrie       β€” Cowrie SSH events only
GET  /api/sentinel/http         β€” HTTP honeypot events only
GET  /api/sentinel/canary       β€” canary token hits only
GET  /api/sentinel/stats        β€” event counts by source and type
GET  /health

Canary Tokens

Deploy canary tokens anywhere β€” documents, config files, URLs β€” and get alerted the moment they're accessed:

# Place this URL in a sensitive file
curl http://your-server:8181/canary/my-secret-doc-2024
# β†’ Triggers immediate alert with requester IP, time, user-agent

Cowrie Integration

SENTINEL reads Cowrie's NDJSON log file directly. Point it at your Cowrie instance:

COWRIE_LOG = "/home/cowrie/var/log/cowrie/cowrie.json"

Dashboard Integration

The aggregator exposes a clean JSON API that feeds directly into lab-dashboard, Grafana, or any SIEM.

License

MIT

About

πŸ”” Multi-source honeypot aggregator: Cowrie SSH + HTTP honeypot + canary tokens β†’ unified JSON API with AbuseIPDB enrichment & real-time alerts

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages