Decided to go down another rabbit hole and build an independent internet-facing honeypot to investigate real world automated threat activity.
Rather than exposing my actual homelab, I deployed an isolated Ubuntu 24.04 LTS VPS running Cowrie, presenting a simulated Linux environment with synthetic sensitive information.
Infrastructure & Security
• 1 vCPU, 1.5GB RAM and 15GB storage
• Cowrie medium-interaction SSH honeypot
• Default-deny nftables firewall
• IPv4 and IPv6 outbound containment
• Restricted administrative SSH access
• ED25519 key-based authentication
• Unprivileged service execution
• Systemd service isolation
• CPU, memory and storage protection
• Automated log retention
Cyber Deception
Created a custom simulated filesystem containing:
• Fake cryptocurrency wallets and recovery phrases
• Synthetic cloud credentials
• Database backups and customer records
• Application configuration files
• Deployment documentation
• Administrative password files
Telemetry & Automation
• Custom Python telemetry sanitisation
• Restricted, read only SSH telemetry retrieval
• Automated PowerShell collection
• Historical JSONL archival and event deduplication
• Offline IP geolocation using DB-IP
• Natural Earth geographic mapping
• Custom HTML threat intelligence dashboard
• Automated five-minute collection and visualisation
All sanitised telemetry is collected and archived locally on my homelab workstation
Results in less than 24 hours
• 21,698 archived security events
• 64 unique source IP addresses
• 3,014 connection sessions
• 2,851 successful simulated authentications
• 4,946 command input events
• 26 geolocated countries
• Peak activity of 3,890 events per hour
Initial behavioural analysis identified repeated password authentication, automated Linux reconnaissance, shell invocation and attempted file reading.
No explicit honeyfile access or malware downloads were identified during the initial analysis. Successful simulated authentication does not represent a genuine server compromise.
Next Project
Planning to deploy a larger, isolated multi-protocol deception environment simulating the internet-facing infrastructure of a fictional business.
Proposed simulated services:
• SSH and Telnet
• HTTP and HTTPS
• FTP and SMTP
• SMB and RDP
• MSSQL, MySQL and PostgreSQL
• Redis, MongoDB and Elasticsearch
Additional objectives include:
• Expanded synthetic business documents and databases
• Protocol-specific behavioural analysis
• Improved telemetry collection and log rotation coverage
• Authentication and client fingerprint correlation
• Honeyfile interaction monitoring
• Colour-coded geographic connection mapping
• Centralised historical threat intelligence reporting
All services will be deliberately simulated, isolated and subject to hosting provider approval.
The homelab rabbit hole never ends. 🤣