Cybrary ForgeCYBRARY / FORGE

OpenCanary

v0.9.4Thinkst Applied Research (open source)

Runs fake FTP, HTTP, SSH, SMB, MySQL, Telnet and other services from one JSON config and writes a log line for every login attempt, file open or port scan. The range provides opencanaryd, opencanary.conf and the log; switch a module off, allowlist a scanner in ip.ignorelist or rename the node and the emulated honeypot behaves (and gives itself away) differently.

Category
Deception and honeypots
Package
opencanary
Runs on
Linux
Commands
opencanaryd

Emulated: no process, socket or real service. Behavior follows /etc/opencanaryd/opencanary.conf, the service state gates the log, and log lines come from the run's decoy events. Nothing listens and nothing is contacted.

Install it

The scripts below install the real Thinkst Applied Research (open source) package on your own machine — read them first, and run them somewhere you are allowed to change. Inside the range, one press puts the simulated package on your next machine.

Linux installer (shell script)
install-opencanary.sh
Windows installer (PowerShell)
Install-opencanary.ps1

No native Windows build. Use a Linux host in the range, or run it under WSL.

On a range machine
Add it to your kit and every machine you launch comes with it.

On Linux

Python (pip)

  1. Install the interpreter tooling
    sudo apt install -y python3-pip
  2. Install OpenCanary
    python3 -m pip install opencanary

    Use a virtual environment on a shared host so the system Python stays clean.

Debian, Ubuntu, Kali (apt)

  1. Refresh the package lists
    sudo apt update
  2. Install OpenCanary
    sudo apt install -y opencanary

Check it worked

  1. Confirm it landed on PATH
    which opencanaryd
  2. Check the version
    opencanaryd --version

    The range reports 0.9.4.

Remove it

  1. Take it off again
    python3 -m pip uninstall opencanary

On Windows

No native Windows build. Use a Linux host in the range, or run it under WSL.

Windows Subsystem for Linux

  1. Install a Linux userland on the Windows host
    wsl --install -d Ubuntu

    The upstream project has no native Windows build; WSL is the usual way round it.

  2. Install OpenCanary inside it
    wsl sudo apt install -y opencanary

Inside the range

  1. Tick it on the launch screen

    Under OpenCanary's category on the advanced tool shelf. A lab that depends on it locks the toggle on and says why.

  2. Or install it from a range terminal
    sudo apt install -y opencanary

    The simulated package manager seeds the same binaries, config and receipt the shelf toggle does.

  3. Everything here is simulated

    No software is downloaded and nothing executes — the range answers from authored fixtures.

Labs that use OpenCanary

No lab locks this one on yet — tick it on the launch screen and take it into any scenario.