Cowrie
v2.5.0Cowrie project (Michel Oosterhof and contributors)Pretends to be an SSH/Telnet server with a fake filesystem, accepts the logins its userdb allows, and writes every connection, login, command and download to cowrie.json. The range provides cowrie, cowrie.cfg, userdb.txt, the honeyfs tree and the JSON log; edit the config and the emulated honeypot behaves differently (and gives itself away differently).
- Category
- Deception and honeypots
- Package
- cowrie
- Runs on
- Linux
- Commands
- cowrie
Emulated: no process, socket or real shell. Behavior follows /etc/cowrie/cowrie.cfg and userdb.txt, the service state gates the log, and log lines come from the run's decoy events. Samples are inert placeholders.
Install it
The scripts below install the real Cowrie project (Michel Oosterhof and contributors) 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.
No native Windows build. Use a Linux host in the range, or run it under WSL.
On Linux
Debian, Ubuntu, Kali (apt)
- Refresh the package lists
sudo apt update - Install Cowrie
sudo apt install -y cowrie
RHEL, Fedora (dnf)
- Install Cowrie
sudo dnf install -y cowriePackage names drift between distributions; search first if this one misses.
Arch (pacman)
- Install Cowrie
sudo pacman -S --noconfirm cowrie
Alpine (apk)
- Install Cowrie
sudo apk add cowriePackage names drift between distributions; search first if this one misses.
Check it worked
- Confirm it landed on PATH
which cowrie - Check the version
cowrie --versionThe range reports 2.5.0.
Remove it
- Take it off again
sudo apt remove --purge cowrie
On Windows
No native Windows build. Use a Linux host in the range, or run it under WSL.
Windows Subsystem for Linux
- Install a Linux userland on the Windows host
wsl --install -d UbuntuThe upstream project has no native Windows build; WSL is the usual way round it.
- Install Cowrie inside it
wsl sudo apt install -y cowrie
Inside the range
- Tick it on the launch screen
Under Cowrie's category on the advanced tool shelf. A lab that depends on it locks the toggle on and says why.
- Or install it from a range terminal
sudo apt install -y cowrieThe simulated package manager seeds the same binaries, config and receipt the shelf toggle does.
- Everything here is simulated
No software is downloaded and nothing executes — the range answers from authored fixtures.
Labs that use Cowrie
No lab locks this one on yet — tick it on the launch screen and take it into any scenario.