Cowrie
Cowrie project (Michel Oosterhof and contributors) · v2.5.0 · Deception and honeypotsCowrie is an SSH/Telnet honeypot. In the range it is emulated: its config and userdb decide who gets in, the service state decides whether anything is logged, and cowrie.json is what you read.
Installation
Step 1
Enable on the shelf
Deception and honeypots → Cowrie. Labs tagged honeypot or deception lock it on. Linux only.
Step 2
Manual install
The package leaves a stopped service, /etc/cowrie and an empty JSON log.
sudo apt install -y cowrie
Common commands
Step 1
Start and check it
systemctl and the cowrie command drive the same service state.
sudo systemctl start cowrie && cowrie status
Step 2
Read the config
The hostname, banner, listeners and log switch live in cowrie.cfg.
cat /etc/cowrie/cowrie.cfg
Step 3
Read the log
One JSON object per line; a stopped honeypot writes nothing.
tail /var/log/cowrie/cowrie.json
Lab scenario — Make the honeypot harder to spot
A scan of the decoy shows the stock SSH banner, the hostname svr04 and a root account that takes any password. Fix what gives it away, then confirm the logs still tell you who knocked.
Step 1
Find the giveaways
Read the config and the userdb the way a scanning attacker would infer them.
cat /etc/cowrie/cowrie.cfg /etc/cowrie/userdb.txt
Step 2
Change the banner and hostname
Edit [honeypot] hostname and [ssh] version to match a believable server.
nano /etc/cowrie/cowrie.cfg
Step 3
Tighten the userdb
Replace the root wildcard with a few named weak passwords and a refusal (!).
nano /etc/cowrie/userdb.txt
Step 4
Restart and verify
A config error names its line and the service stays stopped.
sudo systemctl restart cowrie && cowrie status
Step 5
Replay a session
Play back what an intruder typed from the JSON log.
cowrie playlog /var/log/cowrie/cowrie.json
Debrief. Every default is a tell: the stock banner, the stock hostname and a wildcard root login all say honeypot. Changing them changes what a visitor can observe, not whether the honeypot logs; the log still depends on the service running and output_jsonlog being enabled.
OpenCanary
Thinkst Applied Research (open source) · v0.9.4 · Deception and honeypotsOpenCanary is a low-interaction honeypot: fake FTP, HTTP, SSH, SMB, MySQL and Telnet services that log every touch. In the range it is emulated: opencanary.conf decides which modules answer, the service state decides whether anything is logged, and opencanary.log is what you read.
Installation
Step 1
Enable on the shelf
Deception and honeypots → OpenCanary. Labs tagged honeypot, canary or deception lock it on. Linux only.
Step 2
Manual install
The package leaves a stopped service, /etc/opencanaryd and an empty log.
sudo pip install opencanary
Common commands
Step 1
Start and check it
systemctl and opencanaryd drive the same service state.
sudo systemctl start opencanary && sudo systemctl status opencanary
Step 2
Read the config
One JSON file: device.node_id, ip.ignorelist, one <module>.enabled and .port per service, and the logger handlers.
cat /etc/opencanaryd/opencanary.conf
Step 3
Read the log
One JSON object per line. logtype says which module fired (3000 HTTP GET, 4002 SSH login, 8001 MySQL login, 5001 port SYN); logdata holds the username, path or file. A stopped honeypot writes nothing.
tail /var/log/opencanary/opencanary.log
Step 4
Check a config without starting
--dev runs the foreground startup for the enabled modules and exits.
opencanaryd --dev
Lab scenario — Allowlist the scanner, then make the canary less obvious
The nightly vulnerability scanner at 192.0.2.50 trips every module, and a visitor can read the stock banners straight off the canary. Silence the scanner without blinding the honeypot, then fix what gives it away.
Step 1
See what fired
Group the log by src_host and logtype to find the noisy source.
cat /var/log/opencanary/opencanary.log
Step 2
Allowlist the scanner
Add its address to ip.ignorelist. Events from it are dropped before they are logged, so list only addresses you own and trust.
nano /etc/opencanaryd/opencanary.conf
Step 3
Change the giveaways
Rename device.node_id, set ssh.version and ftp.banner to believable strings, change http.skin, and decide whether portscan should stay on.
nano /etc/opencanaryd/opencanary.conf
Step 4
Restart and verify
A config error names its line and key and the service stays stopped.
sudo systemctl restart opencanary && opencanaryd --dev
Step 5
Confirm only the right modules log
Switch a module off and its decoy port goes silent; a scanner on the ignorelist never appears.
tail /var/log/opencanary/opencanary.log
Debrief. Every default is a tell: the stock node id, the old OpenSSH and FTP banners, the default HTTP login skin, an always-on portscan module and an empty ignorelist all say honeypot. Allowlisting a benign scanner removes its noise but also blinds the canary to that address, so an attacker who borrows it is invisible. The log still depends on the service running and a file handler in the logger section.
Canarytokens
Thinkst Applied Research (open source) · v2.4.0 · Deception and honeypotsCanarytokens mints tripwires: a link, a DNS name, fake cloud keys or a document that alerts when someone touches it. In the range it is emulated: the switchboard service decides whether anything alerts, the token registry decides which tokens are live, and alerts.json is what you read.
Installation
Step 1
Enable on the shelf
Deception and honeypots → Canarytokens. Labs tagged canary or deception lock it on. Linux only.
Step 2
Manual install
The package leaves a stopped switchboard, /etc/canarytokens and an empty alert log.
sudo apt install -y canarytokens
Common commands
Step 1
Start and check it
systemctl and the canarytokens command drive the same service state.
sudo systemctl start canarytokens-switchboard && canarytokens status
Step 2
Mint a token
A token only alerts while the switchboard runs and the token is not deleted.
canarytokens create --type web --memo 'finance share link'
Step 3
Read the alerts
One JSON object per touch; a stopped switchboard writes nothing.
canarytokens alerts --follow-last 5
Lab scenario — Plant a document token and read what trips it
Finance wants a bait spreadsheet on the file server. Mint a Word token, place it where an intruder would browse, then work out from the alert whether a person or a scanner opened it.
Step 1
Mint a docx token
Pick a memo that says where it lives, not what it is.
canarytokens create --type docx --memo 'fs01 payroll folder' --out /srv/share/payroll-2026.docx
Step 2
Check what it gives away
The embedded URL sits in the file as plain text; so does a memo that says canary.
strings /srv/share/payroll-2026.docx
Step 3
Start the switchboard
A stopped switchboard raises nothing.
sudo systemctl start canarytokens-switchboard && canarytokens status
Step 4
Read the alert
Each alert carries the channel, the memo, a manage link and additional_data.
canarytokens alerts
Step 5
Tell a real hit from a scanner
Compare additional_data: a browser or Office user agent from an unexpected address is a person; a vulnerability scanner's agent from the scanner's address is routine.
Debrief. A token is only as quiet as its disguise: the stock domain, a memo containing canary and a URL readable with strings all say tripwire. An alert means someone touched the bait, and the user agent and source address are what separate an intruder from a scanner that opens every file.
Mirage Identity
Fictional Deception Co. · v1.4.2 · Deception and honeypotsMirage Identity plants honey accounts and Kerberoast bait in Active Directory and logs every touch as a Windows Security event. In the range it is emulated: mirage.json decides which accounts exist and how believable they look, the MirageIdentityAgent service decides whether anything is logged, and the agent's event log is what you read.
Installation
Step 1
Enable on the shelf
Deception and honeypots → Mirage Identity. Labs tagged honey account or identity deception lock it on. Windows only.
Step 2
Manual install
The package leaves the MirageIdentity cmdlets, a stopped MirageIdentityAgent service, C:\ProgramData\MirageIdentity\mirage.json and an empty event log.
Install-Module MirageIdentity
Common commands
Step 1
Check the config and the agent
Every problem is named by its key path; the agent will not start on an invalid config, and logs nothing while it is stopped.
Start-Service MirageIdentityAgent; Test-MirageConfig
Step 2
List the honey accounts
InDirectory says whether Get-ADUser can see the account.
Get-MirageHoneyAccount
Step 3
Read the events
4768 TGT requests, 4769 service tickets, 4625 failed and 4624 successful logons.
Get-MirageEvent -Newest 10
Lab scenario — Plant a believable Kerberoast bait
The stock install ships svc-admin2 in OU=Decoys with a description that says honey. Replace it with an account an intruder would want to roast, then work out from the events whether a person or the scanner asked for its ticket.
Step 1
Read what the stock decoy gives away
A never-used account with adminCount=1, a one-day-old password and a description that says honey is a decoy to anyone who looks.
Get-Content C:\ProgramData\MirageIdentity\mirage.json
Step 2
Create a plausible service account
Give it a logon history and a password age that match the real service accounts.
New-MirageHoneyAccount -SamAccountName svc-sqlreport -OU 'OU=Service Accounts,DC=northwind,DC=local' -LastLogonDaysAgo 3 -PasswordAgeDays 400 -Description 'SQL reporting'
Step 3
Put the bait SPN on it
An AES-only SPN is quieter than the RC4-only stock bait.
Set-MirageSpnBait -SamAccountName svc-sqlreport -ServicePrincipalName MSSQLSvc/sql-rpt02.northwind.local:1433 -Encryption AES
Step 4
Retire the stock decoy
It stays out of the directory unless seedStock is true; removing it stops the agent watching it.
Remove-MirageHoneyAccount svc-admin2
Step 5
Allowlist the scanners and read the events
Add the vulnerability and identity-governance scanners to alerting.allowlist in mirage.json: their touches are still logged but never alert.
Get-MirageEvent -Id 4769
Debrief. Nobody has a reason to ask for a honey account's ticket, so a 4769 for it is an intruder Kerberoasting, unless it comes from an allowlisted scanner. The decoy only works if it looks used: a last logon, an old password, a normal OU and description, and the same encryption as the real service accounts.
Tripwire Console
Fictional Deception Co. · v3.2.0 · Deception and honeypotsTripwire Console is a Forge parody of a hosted canary console (fictional vendor, no real product). It manages a flock of perches (decoy devices) and feathers (tokens). In the range it is emulated: console.json decides which birds alert and how loudly, the agent's service state decides whether anything is logged, and alerts.json is what you read.
Installation
Step 1
Enable on the shelf
Deception and honeypots → Tripwire Console. Labs tagged canary, honeypot or deception lock it on. Linux only.
Step 2
Manual install
The package leaves a stopped tripwire-agent service, /etc/tripwire/console.json and an empty alert log.
sudo apt install -y tripwire-console
Common commands
Step 1
Start and check it
systemctl and tripwirectl drive the same service state; a bad config refuses to start.
sudo systemctl start tripwire-agent && tripwirectl status
Step 2
List the flock
Each perch's profile decides the service it presents; disabled and muted birds stay quiet.
tripwirectl perches && tripwirectl feathers
Step 3
Read the alerts
One JSON object per alert; count says how many repeats dedupe folded into it.
tripwirectl alerts --last 10
Lab scenario — Tune a noisy flock without blinding it
The SOC is drowning in Tripwire alerts from the same scanner and the flock still looks like the box it came in. Cut the noise, remove the giveaways and keep the signal.
Step 1
Read the flock
Note the flock name, the contact domain, the perch names and the feather memos.
tripwirectl status && tripwirectl perches && tripwirectl feathers
Step 2
See the fatigue
With dedupe off, every repeat of the same touch is its own alert.
tripwirectl alerts
Step 3
Fold repeats
Set alerting.dedupe_minutes to a window such as 15. Repeats from one source on one bird collapse into one alert with a count.
nano /etc/tripwire/console.json
Step 4
Remove the giveaways
Rename the flock and any perch whose name says honey or decoy, rewrite memos that say canary, and use your own contact address.
nano /etc/tripwire/console.json
Step 5
Restart and verify
A config error names its line and key path and the agent stays stopped.
sudo systemctl restart tripwire-agent && tripwirectl status
Step 6
Mute with care
Muting a bird silences it completely, for intruders too; prefer dedupe or a minimum severity.
tripwirectl mute plc-line-3
Debrief. Every stock choice is a tell: the default flock name, the vendor's contact domain, a perch called fileserver-honey and a memo that says canary all tell a careful intruder what to avoid. Dedupe trades detail for attention: the first touch still alerts and the count keeps the volume visible. Muting or raising min_severity cuts noise by cutting coverage, so an attacker who only connects or who touches a muted bird is invisible.
Dionaea
DinoTools (open source) · v0.11.0 · Deception and honeypotsDionaea is a low-interaction honeypot that offers the services malware goes after (SMB, HTTP, FTP, MSSQL and more) and keeps what it is sent. In the range it is emulated: the YAML linked in services-enabled decides which services answer, dionaea.cfg decides what is logged and kept, and dionaea.log is what you read.
Installation
Step 1
Enable on the shelf
Deception and honeypots → Dionaea. Labs tagged honeypot or malware lock it on. Linux only.
Step 2
Manual install
The package leaves a stopped service, /etc/dionaea with the stock services linked, an empty log and the binaries folder.
sudo apt install -y dionaea
Common commands
Step 1
Start and check it
systemctl replays `dionaea -u dionaea -g dionaea`; a bad config names its file and line.
sudo systemctl start dionaea && dionaea status
Step 2
See which services answer
A service is live only while its YAML is in services-enabled.
ls -l /etc/dionaea/services-enabled
Step 3
Read the log
One line per event: `[DDMMYYYY HH:MM:SS] domain file:line-level: message`. The connection line names local and remote address and port; the port tells you which service fired.
tail /var/log/dionaea/dionaea.log
Step 4
List what was captured
Each download is stored under its md5; in the range these are inert placeholder files.
ls -l /var/lib/dionaea/binaries
Lab scenario — Trace a capture back to its source
The SOC wants to know who tried to drop a binary on the decoy file server, through which service, and whether the honeypot gives itself away.
Step 1
Find the store line
The store line carries the md5 and, in brackets, local:port->remote:port. 445 means SMB, 80 HTTP, 21 FTP.
grep store /var/log/dionaea/dionaea.log
Step 2
Pivot from the md5 to the sample
The file name is the md5 from the log line.
ls /var/lib/dionaea/binaries
Step 3
Pivot from the source IP to everything it did
Grep the remote address from the bracket for its connections and login attempts.
grep 198.51.100.7 /var/log/dionaea/dionaea.log
Step 4
Remove the giveaways
Change the SMB native_os and the HTTP server header, unlink services you do not need, drop submit_http or point it at your own host, then restart.
sudo nano /etc/dionaea/services-available/smb.yaml && sudo rm /etc/dionaea/services-enabled/sip.yaml && sudo systemctl restart dionaea
Debrief. Dionaea's stock banners (Windows 5.1 over SMB, a bare nginx header) and a dozen unrelated services on one host are what a careful attacker checks first. The log line's port names the service, the md5 names the sample, and the remote address is the pivot to the rest of the intruder's activity.
Heralding
Johnny Vestergaard (open source) · v1.0.7 · Deception and honeypotsHeralding is a credentials-catching honeypot: it offers login prompts on many protocols, refuses every login and records each attempt. In the range it is emulated: heralding.yml decides which capabilities answer, on which port and with which banner, and log_auth.csv is what you read.
Installation
Step 1
Enable on the shelf
Deception and honeypots → Heralding. Labs tagged honeypot or credentials lock it on. Linux only.
Step 2
Manual install
The package leaves a stopped service, /etc/heralding/heralding.yml, an auth CSV with only its header and an empty session log.
sudo apt install -y heralding
Common commands
Step 1
Start and check it
systemctl replays `heralding -c /etc/heralding/heralding.yml`; a YAML error names its line and the service stays stopped.
sudo systemctl start heralding && heralding status
Step 2
See which protocols answer
A capability is live only with `enabled: true`; its port and banner sit beside it.
grep -A3 'capabilities' /etc/heralding/heralding.yml
Step 3
Read the auth log
One CSV row per attempt: timestamp, auth_id, session_id, source_ip, source_port, dest_ip, dest_port, protocol, username, password. The protocol column says which capability fired.
tail /var/log/heralding/log_auth.csv
Step 4
Read the sessions
One JSON object per session, including connects that never tried a password.
tail /var/log/heralding/log_session.json
Lab scenario — From a sprayed password to its source
A help-desk password shows up in a spray against the decoy. Find which protocol it came in on, who sent it, and what else that address tried.
Step 1
Find the credential
Grep the username or password; the row's protocol column names the capability.
grep -i svc-backup /var/log/heralding/log_auth.csv
Step 2
Pivot to the source IP
The fourth column is source_ip. Grep it to list every attempt from that address.
grep 198.51.100.7 /var/log/heralding/log_auth.csv
Step 3
Count what it tried, per protocol
Column 8 is the protocol; a spray across SSH, RDP and IMAP is one actor, not three.
grep 198.51.100.7 /var/log/heralding/log_auth.csv | cut -d, -f8 | sort | uniq -c
Step 4
Remove the giveaways
Change the stock banners, turn off capabilities you do not need, move one off its default port and set hash_cracker to false, then restart.
sudo nano /etc/heralding/heralding.yml && sudo systemctl restart heralding
Debrief. Heralding never lets anyone in, so every row is an attempt, never a compromise. The protocol column names the door, the source_ip column is the pivot, and the stock banners, default ports on every capability and the hash cracker are what make it look like a honeypot.
Conpot
Mushmush Foundation (open source) · v0.6.0 · Deception and honeypotsConpot is an ICS/SCADA honeypot that poses as a PLC. In the range it is emulated: the active template decides which device and protocols answer, the service state decides whether anything is logged, and conpot.log is what you read.
Installation
Step 1
Enable on the shelf
Deception and honeypots → Conpot. Labs tagged ics, ot, scada or modbus lock it on. Linux only.
Step 2
Manual install
The package leaves a stopped service, /etc/conpot/conpot.cfg, the stock templates and an empty log.
sudo apt install -y conpot
Common commands
Step 1
List the device templates
Each template is a different device: S7-200 PLC, tank gauge, smart meter, IEC 104 outstation.
conpot --list-templates
Step 2
Start and check it
systemctl replays `conpot --template default`; both drive the same service state.
sudo systemctl start conpot && conpot status
Step 3
Read the log
One line per connection or request; a stopped honeypot writes nothing.
tail /var/log/conpot/conpot.log
Lab scenario — Make the PLC decoy believable
An internet scan of the plant's decoy PLC reads back the system name Technodrome and serial 88111222, the strings every Conpot default install answers with. Change the identity, then confirm a Modbus probe still lands in the log.
Step 1
Find the giveaways
Read the template's identity keys and the [common] and [hpfriends] sections.
cat /usr/share/conpot/templates/default/template.xml /etc/conpot/conpot.cfg
Step 2
Change the identity
Edit SystemName, SerialNumber, PlantIdentification and sysLocation to match the plant.
nano /usr/share/conpot/templates/default/template.xml
Step 3
Set the sensor id and the feed
Give [common] sensorid a real name and turn [hpfriends] off unless you run that feed.
nano /etc/conpot/conpot.cfg
Step 4
Restart and verify
A config error names its line and the service stays stopped.
sudo systemctl restart conpot && conpot status
Step 5
Watch the probes
New Modbus connection and Modbus traffic lines name the source and function code.
grep Modbus /var/log/conpot/conpot.log
Debrief. The template is the device: its stock strings are what scanners fingerprint, and the protocols it lists are the only ones that answer. A host that speaks Modbus, S7 and BACnet at once is itself a hint; a narrower template looks more like one real controller.
T-Pot
Telekom Security (open source) · v24.04.1 · Deception and honeypotsT-Pot puts many honeypots and sensors on one host behind shared dashboards. In the range it runs nothing itself: tpot reports which of the emulated sensors are installed here and running, and points you at the Forge package for the rest.
Installation
Step 1
Enable on the shelf
Deception and honeypots → T-Pot. Labs tagged honeynet or tpot lock it on. Linux only.
Step 2
Manual install
The package leaves /opt/tpot/etc/tpot.yml and placeholder compose files; no containers.
sudo apt install -y tpot
Common commands
Step 1
See the sensors
Each sensor is installed, stopped or running on this host, or not installed.
tpot status
Step 2
Read the edition
STANDARD runs every sensor with its own dashboards, SENSOR ships events to a HIVE that hosts them.
tpot edition
Step 3
Add a sensor
tpot names the Forge package; install it from the shelf or with apt.
tpot install conpot
Lab scenario — One host, several sensors
The team wants SSH, ICS and network coverage on a single decoy host, the way a T-Pot install would give it, and one place to read what each sensor saw.
Step 1
Take stock
List which sensors this host already has and which are running.
tpot status
Step 2
Add the missing sensors
Install Cowrie and Conpot as their own packages; tpot only names them.
sudo apt install -y cowrie conpot
Step 3
Start them
Each sensor is its own service; T-Pot does not start them for you here.
sudo systemctl start cowrie && sudo systemctl start conpot && tpot status
Step 4
Read each sensor's log
T-Pot's Kibana dashboards are replaced in the range by the SIEM and each tool's native log.
tail /var/log/cowrie/cowrie.json /var/log/conpot/conpot.log
Debrief. A honeynet host is several sensors sharing one address, so one fingerprint gives all of them away and a scan sees an unlikely mix of services. T-Pot's value is the shared dashboards; in the range the SIEM and each sensor's own log play that part.