Run a decoy of your own

Turn a spare server into a decoy. Attackers find it within minutes, and you watch what they do, here and under My decoys.

What you need

  • A dedicated, throwaway machine with nothing else on it: no data, no other services, no keys to your other systems.
  • Public port 22 forwarded to the decoy’s port 2222. Nothing else open to the internet.
  • Your own access to the machine only from your network or a VPN, never public.
  • Outbound, the machine only needs HTTPS to the Honeyglass hub, decoys.honeyglass.live. Block the rest if you can.
  • A Honeyglass account, for your decoy key.

1Get your decoy key

Sign in to get your key It ties your decoys to your account. Keep it to yourself.

2Where will it run?

Cloud server

  • Move the machine’s own SSH to another port, e.g. 2200, and allow it only from your IP. Or use the provider’s console or a VPN instead.
  • In the provider’s firewall, open port 22 to everyone and nothing else.

Behind a router

  • Keep the machine’s own SSH on your local network only. Never forward it.
  • On the router, forward public port 22 to <this machine>:2222, and nothing else.

3Start it

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
Set TZ to the time zone where the decoy stands; Europe/Stockholm is only an example.
What the flags do

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.

One click Coming soon

Ready-made ways to start a decoy without the command.

  • Soon

    AWS

    CloudFormation template, small EC2 server

  • Soon

    Azure

    Deploy to Azure button, small VM

  • Soon

    Google Cloud

    Compute Engine server from Cloud Shell

  • Soon

    DigitalOcean

    A droplet, ready-made

  • Soon

    Hetzner

    Cloud server from a cloud-init file

  • Soon

    Raspberry Pi

    An image to flash onto an SD card

  • Soon

    Docker Compose

    A compose file instead of docker run

What it does to your machine

  • It never runs attackers’ code. They only ever talk to a pretend shell.
  • It only sends what happens to Honeyglass. It takes no orders from us or anyone.
  • Its address is never shown. Publicly it is community-<n> with only its country; the name you give it only you see.
  • You see the attackers’ own addresses on its sessions, for 90 days. Each time you do, it goes to our audit log.
  • Community decoys get the pretend shell only, never a deeper one we may run ourselves.

Live updates paused

Reconnecting…

Trying again in seconds.

The connection is gone. Reload the page to see the latest.

Paused to save the server’s work while you were away.

Couldn’t resume. Reload the page to see the latest.