Skip to content

Canary Tokens

Python network honeypot that alerts you when someone probes a private network

Permissive (OSI) · BSD-3-Clause
  • Self-hosted

Listed by , founder & editor

67

Health

Active

Overview

Stars

3,125

Last commit

yesterday

Nov 2026

Repository age

11 years

since Aug 2015

Latest version

v0.9.10

Sep 2026

Contributors

–

10 active in 90 days

Releases

4

last 12 months

Docker pulls

131k

thinkst/opencanary

Language

Python

OpenCanary is a multi-protocol network honeypot from Thinkst. It runs as a daemon and imitates common network services. When an attacker who has already got inside a network interacts with one of them, it sends you an alert showing the source IP address and where the breach may have occurred.

It is written in Python and needs Python 3.10 or newer on AMD64 or ARM64. The core is cross-platform, but Linux gives the most options. Optional modules cover SNMP, which needs Scapy, a Windows file share, which needs Samba, and port scan detection, which needs iptables and Linux. Resource needs are low enough for a Raspberry Pi or a small VM. You can install it with pip, from Git, or with Docker.

It is the open source edition of the commercial Thinkst Canary honeypot, and it is BSD-3-Clause licensed. Use it if you want breach detection traps without paying for the hosted product.

Who it's for

Small security teams without a detection budget

A lightweight honeypot on a spare VM gives early warning of lateral movement inside the network.

Skip if: You want a managed console with central dashboards and support.

Home lab and Raspberry Pi tinkerers

It runs on very modest hardware and installs with pip or Docker.

Skip if: You want a plug-and-play appliance with no configuration.

Security researchers and students

The Python code can be modified and extended to add or tweak emulated services.

Skip if: You need a deception platform with a large library of ready-made lures.

The problem it solves

Once an attacker is inside a private network, ordinary perimeter tools often miss what they do next. A honeypot that looks like a real service reveals the intruder as soon as they touch it. This one does that without commercial licensing.

Strengths

  • Emulates multiple network protocols and alerts on any interaction
  • Very low resource needs; works on a Raspberry Pi
  • Installs with pip, from Git, or as a Docker container
  • Extensible Python code under a permissive BSD-3-Clause license
  • Active project with 9 contributors in the last 90 days

Trade-offs

  • Portscan detection works only on Linux with iptables
  • SNMP and Samba modules need extra packages
  • Setup and alert configuration are done by hand
  • The full feature set is on Linux; macOS options are fewer

Self-host Canary Tokens

Self-hostable
Yes
Docker image
thinkst/opencanary
Docker Compose
The repository ships a Compose file

Quick start

$ sudo apt-get install python3-dev python3-pip python3-virtualenv python3-venv python3-scapy libssl-dev libpcap-dev
$ virtualenv env/
$ . env/bin/activate
$ pip install opencanary

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is OpenCanary free?

Yes. It is open source under the BSD-3-Clause license.

Can I run it in Docker?

Yes. Docker and docker compose are both supported.

What does it need to run?

Python 3.10 or newer on AMD64 or ARM64. SNMP, Samba and port scan modules need extra software.

How does it relate to Thinkst Canary?

It is the open source version of the commercial Thinkst Canary honeypot.

Similar tools in Threat detection and monitoring

suricata

Threat detection and monitoring

Network IDS, IPS and monitoring engine for teams that inspect traffic on their own

6.9k 1.8k today Thriving GPL-2.0

Mobile Verification Toolkit

Threat detection and monitoring

Command-line forensic toolkit for checking Android and iOS devices for spyware traces

16k 1.6k today Thriving GPL-3.0

snort3

Threat detection and monitoring

Network intrusion detection and prevention engine for security teams, in C++

3.5k 699 18 days ago Active GPL-2.0

Strix

Threat detection and monitoring

Finds working RTSP and other stream URLs for IP cameras and writes Frigate configs

952 48 3 months ago Slowing MIT

Wazuh

Threat detection and monitoring

Self-hosted XDR and SIEM platform for security teams monitoring endpoints and cloud

18k 2.6k today Thriving AGPL-3.0

Replaces NessusSplunk

motionEye

Threat detection and monitoring

Web interface for the motion daemon, for DIY camera surveillance on Linux and Raspberry Pi

4.7k 719 4 days ago Active GPL-3.0