TZ to the time zone where the decoy stands; Europe/Stockholm is only an example.Turn a spare server into a decoy. Attackers find it within minutes, and you watch what they do, here and under My decoys.
decoys.honeyglass.live. Block the rest if you can.Run this once on the machine, with Docker installed.
docker run -d --name honeyglass-trap --restart unless-stopped \ --memory 512m --cpus 1 \ --log-opt max-size=10m --log-opt max-file=3 \ -p 22:2222 \ -v honeyglass-trap:/home/app \ -e TZ=Europe/Stockholm \ -e Trap__EnrollmentKey=<your key> \ ghcr.io/gonace/honeyglass-trap:latest
docker run -d --name honeyglass-trap --restart unless-stopped \ --memory 512m --cpus 1 \ --log-opt max-size=10m --log-opt max-file=3 \ -p 2222:2222 \ -v honeyglass-trap:/home/app \ -e TZ=Europe/Stockholm \ -e Trap__EnrollmentKey=<your key> \ ghcr.io/gonace/honeyglass-trap:latest
TZ to the time zone where the decoy stands; Europe/Stockholm is only an example.The limits keep a flood of attackers from taking down the machine: at most 512 MB of memory, one CPU and 30 MB of logs, and Docker starts the decoy again if it stops.
It enrolls itself, keeps its identity on the volume, and shows up under My decoys, where you can give it a name only you see.
Ready-made ways to start a decoy without the command.
CloudFormation template, small EC2 server
Deploy to Azure button, small VM
Compute Engine server from Cloud Shell
A droplet, ready-made
Cloud server from a cloud-init file
An image to flash onto an SD card
A compose file instead of docker run
community-<n> with only its country; the name you give it only you see.