Cybrary ForgeCYBRARY / FORGE

Conpot

v0.6.0Mushmush Foundation (open source)

Pretends to be an industrial controller (a Siemens S7-200 by default) on Modbus, S7, SNMP, HTTP, BACnet and IPMI, and writes each connection and request to conpot.log. The range provides conpot, conpot.cfg, the stock device templates and the log; the template picks the device identity and protocols, and its stock strings are what gives the honeypot away.

Category
Deception and honeypots
Package
conpot
Runs on
Linux
Commands
conpot

Emulated: no process, socket or real device. Behavior follows /etc/conpot/conpot.cfg and the active template, the service state gates the log, and log lines come from the run's decoy events.

Install it

The scripts below install the real Mushmush Foundation (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-conpot.sh
Windows installer (PowerShell)
Install-conpot.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

Debian, Ubuntu, Kali (apt)

  1. Refresh the package lists
    sudo apt update
  2. Install Conpot
    sudo apt install -y conpot

RHEL, Fedora (dnf)

  1. Install Conpot
    sudo dnf install -y conpot

    Package names drift between distributions; search first if this one misses.

Arch (pacman)

  1. Install Conpot
    sudo pacman -S --noconfirm conpot

Alpine (apk)

  1. Install Conpot
    sudo apk add conpot

    Package names drift between distributions; search first if this one misses.

Check it worked

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

    The range reports 0.6.0.

Remove it

  1. Take it off again
    sudo apt remove --purge conpot

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 Conpot inside it
    wsl sudo apt install -y conpot

Inside the range

  1. Tick it on the launch screen

    Under Conpot'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 conpot

    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 Conpot

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