What it does. Deploy and manage network honeypots using OpenCanary, T-Pot, or Cowrie Part of mukul975/Anthropic-Cybersecurity-Skills (817 security skills) (mukul975/Anthropic-Cybersecurity-Skills).
Install
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill implementing-network-deception-with-honeypots, or copy the skill folder into ~/.claude/skills/implementing-network-deception-with-honeypots/.
- Raw file:
curl -sL https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/HEAD/skills/implementing-network-deception-with-honeypots/SKILL.md
SKILL.md (verbatim)
name: implementing-network-deception-with-honeypots
description: Deploy and manage network honeypots using OpenCanary, T-Pot, or Cowrie
to detect unauthorized access, lateral movement, and attacker reconnaissance.
domain: cybersecurity
subdomain: deception-technology
tags:
- deception
- honeypot
- opencanary
- cowrie
- t-pot
- detection
- lateral-movement
- network-security
version: '1.0'
author: mahipal
license: Apache-2.0
nist_csf:
- DE.CM-01
- DE.AE-06
- PR.IR-01
mitre_attack:
- T1078
- T1190
- T1059
- T1021
- T1550
Implementing Network Deception with Honeypots
When to Use
- When deploying deception technology to detect lateral movement
- To create early warning indicators for network intrusion
- During security architecture design to add detection depth
- When monitoring for unauthorized internal scanning or credential theft
- To gather threat intelligence on attacker techniques and tools
Prerequisites
- Linux server or VM for honeypot deployment (Ubuntu 22.04+ recommended)
- Python 3.8+ with pip for OpenCanary installation
- Docker for T-Pot or containerized deployment
- Network segment with appropriate VLAN configuration
- SIEM integration for alert forwarding (syslog, webhook, or file-based)
- Firewall rules allowing inbound connections to honeypot services
Workflow
- Plan Deployment: Select honeypot types and network placement strategy.
- Install Honeypot: Deploy OpenCanary, Cowrie, or T-Pot on dedicated host.
- Configure Services: Enable emulated services (SSH, HTTP, SMB, FTP, RDP).
- Set Up Alerting: Configure log forwarding to SIEM and alert channels.
- Deploy Canary Tokens: Place credential files, shares, and DNS entries.
- Monitor Interactions: Analyze honeypot logs for attacker activity.
- Tune and Maintain: Update configurations based on detection results.
Key Concepts
| Concept |
Description |
| OpenCanary |
Lightweight Python honeypot with modular service emulation |
| Cowrie |
Medium-interaction SSH/Telnet honeypot capturing commands |
| T-Pot |
Multi-honeypot platform with ELK stack visualization |
| Canary Token |
Tripwire credential or file that alerts when accessed |
| Low-Interaction |
Emulates services at protocol level without full OS |
| High-Interaction |
Full OS honeypot capturing complete attacker sessions |
| Tool |
Purpose |
| OpenCanary |
Modular honeypot daemon with service emulation |
| Cowrie |
SSH/Telnet honeypot with session recording |
| T-Pot |
All-in-one multi-honeypot platform |
| Dionaea |
Malware-capturing honeypot for exploit detection |
| Splunk/Elastic |
SIEM for honeypot alert aggregation |
Alert: HONEYPOT-[SERVICE]-[DATE]-[SEQ]
Honeypot: [Hostname/IP]
Service: [SSH/HTTP/SMB/FTP/RDP]
Source IP: [Attacker IP]
Interaction: [Login attempt/Port scan/File access]
Credentials Used: [Username:Password if applicable]
Commands Executed: [For SSH honeypots]
Risk Level: [Critical/High/Medium/Low]
Other files in this skill
references/api-reference.md (verbatim)
Network Deception with Honeypots Reference
OpenCanary Installation
# Ubuntu/Debian
sudo apt-get install python3-dev python3-pip python3-virtualenv libssl-dev libpcap-dev
virtualenv canary-env && source canary-env/bin/activate
pip install opencanary
# Docker
docker pull thinkst/opencanary
docker run -d --network host -v /path/to/config:/etc/opencanaryd thinkst/opencanary
OpenCanary CLI
# Generate default config
opencanaryd --copyconfig
# Start daemon
opencanaryd --start
# Stop daemon
opencanaryd --stop
# Check status
opencanaryd --status
# Run in foreground (debug)
opencanaryd --dev
Configuration File (/etc/opencanaryd/opencanary.conf)
{
"device.node_id": "honeypot-dmz-01",
"ssh.enabled": true,
"ssh.port": 22,
"ssh.version": "SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3",
"http.enabled": true,
"http.port": 80,
"http.banner": "Apache/2.4.41 (Ubuntu)",
"http.skin": "nasLogin",
"smb.enabled": true,
"smb.filelist": [{"name": "passwords.xlsx", "type": "xlsx"}],
"ftp.enabled": true,
"ftp.port": 21,
"ftp.banner": "FTP server ready",
"mysql.enabled": true,
"mysql.port": 3306,
"rdp.enabled": true,
"rdp.port": 3389
}
Available Service Modules
| Service |
Config Key |
Default Port |
Interaction Level |
| SSH |
ssh.enabled |
22 |
Medium |
| HTTP |
http.enabled |
80 |
Low-Medium |
| FTP |
ftp.enabled |
21 |
Low |
| SMB |
smb.enabled |
445 |
Low |
| MySQL |
mysql.enabled |
3306 |
Low |
| RDP |
rdp.enabled |
3389 |
Low |
| Telnet |
telnet.enabled |
23 |
Low |
| SNMP |
snmp.enabled |
161 |
Low |
| Git |
git.enabled |
9418 |
Low |
| Redis |
redis.enabled |
6379 |
Low |
| VNC |
vnc.enabled |
5000 |
Low |
{
"dst_host": "10.0.0.50",
"dst_port": 22,
"src_host": "10.0.0.100",
"src_port": 45321,
"logtype": 3001,
"node_id": "honeypot-dmz-01",
"utc_time": "2025-03-01 14:30:00.123456",
"logdata": {"USERNAME": "admin", "PASSWORD": "password123"}
}
Log Type Codes
| Code |
Service |
Event |
| 1001 |
FTP |
Login attempt |
| 2001 |
HTTP |
Login attempt |
| 3001 |
SSH |
Login attempt |
| 5001 |
SMB |
File open |
| 6001 |
Telnet |
Login attempt |
| 7001 |
MySQL |
Login attempt |
| 8001 |
RDP |
Login attempt |
Cowrie SSH Honeypot
# Docker deployment
docker run -d -p 22:2222 cowrie/cowrie
# Session replay
bin/playlog log/tty/20250301-143000-abc123.log
Syslog Forwarding
{
"logger": {
"class": "PyLogger",
"kwargs": {
"handlers": {
"syslog": {
"class": "logging.handlers.SysLogHandler",
"address": ["siem.example.com", 514]
}
}
}
}
}
Back to mukul975/Anthropic-Cybersecurity-Skills (817 security skills) or Agent skills.