A homelab honeypot is a decoy system you run at home to attract, detect and record attackers. It pretends to be a real server — often an SSH login — and logs every connection attempt, password tried and command typed, so you can study real attacks safely. The two best-known options are Cowrie, a focused SSH and Telnet honeypot, and T-Pot, a platform that runs more than twenty honeypots at once.
Key takeaways
- A honeypot is a decoy with no real data: anything that touches it is suspicious by definition, which makes it a powerful early warning.
- Start with Cowrie for SSH attacks, or T-Pot if you want many honeypots and dashboards — but always isolate the sensor from your real network.
- The value is in the logs: turn what attackers try into firewall blocks, detection rules and a better understanding of real threats.
Every minute of every day, automated scanners probe the internet looking for an open door: a weak SSH password, an exposed database, a forgotten admin panel. A homelab honeypot gives them a door to find — one that leads nowhere real, and that records everything they do on the way in.
What is a homelab honeypot?
A homelab honeypot is a decoy system you run at home to attract, detect and record attackers. It pretends to be something worth attacking — a Linux server, a database, an IoT camera — and when someone touches it, the system logs the source IP, the login attempts, the commands and any malware they try to drop.
The key idea is simple: a honeypot has no legitimate users. Nobody should ever log into it, visit it or scan it for a good reason. So any interaction is suspicious by definition, which makes a honeypot one of the clearest signals in security — there is almost no false-positive noise to filter out.
A "homelab" is a home setup for learning and experimenting, usually a small server, a virtual machine or a Raspberry Pi. A honeypot fits naturally there: it is cheap to run, it teaches you how real attacks look, and it gives you data no textbook can. It is not a firewall replacement, and it does not protect your real devices by itself.
How does a honeypot work?
A honeypot works by looking like a real, slightly vulnerable service and then watching what happens. An attacker scanning the internet finds an open SSH port, tries common passwords, gets in, and starts typing commands — except the shell is fake, and every keystroke is written to a log.
Good honeypots answer simple but useful questions: who is scanning, what are they trying, how often does it happen, and what should you block or monitor. The answers become firewall rules, detection alerts and a much better sense of what real attacks look like.
One warning up front: a honeypot detects interaction with its decoy only. It is not a complete intrusion-detection system, and it will not tell you about attacks that happen elsewhere on your network. Pair it with the basics in our guide to securing your Wi-Fi rather than treating it as a replacement for them.
What are the types of honeypots?
Honeypots are usually grouped by how much of a real system they fake. The more real the fake, the more you learn — and the more risk you take on.
| Type | What it fakes | What you learn | Risk | Example |
|---|---|---|---|---|
| Low interaction | Just a listening port and a banner | Who is scanning, and which ports they probe | Very low | Honeytrap |
| Medium interaction | A fake service with scripted replies | Passwords tried, commands typed, files dropped | Low, if isolated | Cowrie, Dionaea |
| High interaction | A real operating system | Full attacker behaviour, including new exploits | High — it can be broken out of | A real VM used as bait |
| Honey token | A fake credential or file, not a server | Whether stolen data is being used | Very low | A fake AWS key in a document |
For a first homelab honeypot, medium interaction is the sweet spot. Cowrie, the best-known example, emulates an SSH and Telnet service: it records login attempts and shell activity, writes JSON audit logs, and stores terminal sessions and transferred files for analysis. Attackers get a fake Unix-like environment where their commands are recorded rather than executed on a real system.
A "honeynet" is a network of several honeypots at once. That is what T-Pot builds: a platform that runs more than twenty decoys in Docker containers and feeds them all into one dashboard.
Cowrie vs T-Pot: which should you build first?
Cowrie is a focused sensor and T-Pot is a full honeypot bundle. Cowrie is easier to understand; T-Pot gives richer data but brings more moving parts. Most homelab builders start with Cowrie, then graduate to T-Pot when they want dashboards.
| Cowrie | T-Pot | |
|---|---|---|
| What it is | One medium-interaction SSH/Telnet honeypot | Platform running 20+ honeypots with dashboards |
| Built by | The Honeynet Project community | Telekom Security (Deutsche Telekom) |
| Services covered | SSH and Telnet | SSH, FTP, SMB, HTTP, databases, industrial protocols and more |
| Hardware needed | A small VM or Raspberry Pi | About 16 GB RAM and 256 GB SSD for a full install |
| Dashboards | Log files and JSON output | Elasticsearch, Logstash and Kibana with a live map |
| Best for | Learning SSH attack patterns deeply | Broad coverage and visual analysis |
| Downside | Only covers SSH and Telnet | Heavier, more upkeep, needs a dedicated host |
T-Pot includes Cowrie for SSH, Dionaea for malware capture, Conpot for industrial protocols and Heralding for credential harvesting, plus newer decoys that use a language model to improvise replies. Two of them, Beelzebub for SSH and Galah for HTTP, answer attackers with plausible output instead of a canned banner.
If you only care about one question — "what do SSH attackers actually do once they get in?" — Cowrie answers it with the least effort. If you want to see the whole internet knocking at your door, T-Pot is the way to get there.
How do you set up a Cowrie honeypot safely?
The safest way to start is Cowrie in a dedicated, isolated virtual machine, on an unprivileged test port, with nothing real on the box. The steps below follow the approach in a detailed Cowrie setup guide for Kali Linux, which works the same on Ubuntu or Debian.
- Build an isolated VM. Create a dedicated virtual machine on its own network segment (VLAN), with no route to your laptops, NAS or phones. Snapshot it so you can rebuild in minutes.
- Install Cowrie. Clone the project, create a dedicated user, and run it unprivileged. Cowrie's default shell mode is a medium-interaction emulation, which is the right level for a first deployment.
- Start on a test port. Run Cowrie on an unprivileged port first and verify it with an SSH client and a port scan from another machine on the same segment.
- Forward only port 22. On your router, forward only the honeypot's SSH port from the internet, and nothing else. Your real admin SSH should live on a different, non-standard port — T-Pot's installer, for example, moves real SSH to port 64295.
- Lock down outbound traffic. The honeypot should not be able to reach the internet freely. Block outbound connections except for the log shipping you set up yourself, so a compromised sensor cannot be used to attack others.
- Read the logs. Cowrie writes JSON logs of every login attempt, command and file transfer. Look at them daily for the first week, then set up alerts for the patterns that matter.
For T-Pot, the install is a single script from the project's GitHub repository, which installs Docker, pulls the honeypot images, configures the firewall and sets up the web interface on port 64297. A standard install needs about 16 GB of RAM and 256 GB of storage, and a sensor-only install without the dashboard stack needs about 4 GB, according to the T-Pot lab guide.
What will your honeypot actually catch?
Mostly bots, and that is the point. The internet is scanned constantly by automated systems, and your honeypot will meet them within minutes of going live. In one published experiment, an exposed database port was discovered within minutes, and SSH brute force dominated the traffic that followed.
Here is what to expect in a typical first week:
- SSH brute force: thousands of login attempts with username and password lists — root, admin, ubuntu, oracle and the classics. Cowrie records every combination tried.
- Botnet recruitment: after a successful login, the attacker tries to download malware or a crypto miner. Cowrie captures the files instead of running them.
- Known-exploit probes: requests for old vulnerabilities in web panels, routers and cameras, often from the same IPs that scan everyone.
- Credential stuffing patterns: the same password lists appear again and again, which tells you exactly which passwords to ban in your own organization.
- Occasional humans: rarer, but real. A human attacker types slower, explores the fake filesystem and tries things no script would.
The scale is hard to overstate. In February 2025, the Shadowserver Foundation reported a brute-force campaign against firewalls, VPNs and gateways that used close to 2.8 million source addresses per day. Your honeypot gives you a small, local version of that view — and Shadowserver still publishes a free daily honeypot brute-force report from its own sensors.
Context matters too. Verizon's 2026 Data Breach Investigations Report found that exploitation of vulnerabilities was the initial access vector in 31% of breaches, up from 20% the year before. The exploit attempts behind that number arrive as ordinary traffic against internet-facing services, and a honeypot is one of the few ways to see them without owning the target.
What are the risks of running a honeypot at home?
A honeypot is a deliberately exposed system, so it carries real risk if you cut corners. The risks are manageable, but only if you take them seriously before you forward a port.
- Breakout: a high-interaction honeypot runs a real operating system, and a skilled attacker can escape it and pivot into your network. Stick to medium-interaction tools such as Cowrie for your first build.
- Abuse as a relay: an attacker who gets in could use your honeypot to attack others, scan the internet or host malicious content. Blocking outbound traffic prevents most of this.
- Legal exposure: logging other people's activity has legal implications that vary by country. Keep the honeypot on your own network, do not intercept traffic that is not yours, and check local law if you are unsure.
- Data handling: honeypots collect attacker IP addresses, malware samples and sometimes personal data from other victims. Handle samples carefully, never run them, and do not publish raw logs with victim data in them.
- False confidence: a quiet honeypot does not mean a safe network. It only sees what touches the decoy, so keep patching and monitoring your real systems too.
One rule covers most of this: never attack back. You collect and observe; you do not scan, probe or strike the source addresses. That keeps you legal, keeps you safe, and keeps the data clean.
What do you do with the data your honeypot collects?
Collecting logs is only half the project. The value comes from turning what attackers try into defenses for your real systems.
- Block repeat offenders. Export the top source IPs and add them to your firewall blocklist, or feed them into a blocklist your router already uses.
- Ban the passwords attackers try. The username and password lists in your Cowrie logs are the same lists attackers use everywhere. Use them to test your own accounts and to build a banned-password list.
- Write detection rules. Turn the commands and file names attackers use into alerts in your SIEM or monitoring tool, so you are warned if the same behaviour ever touches a real server.
- Share indicators responsibly. Sanitized indicators of compromise — IPs, hashes, domains — can be shared with the community or with threat-intelligence feeds, which helps everyone.
- Learn the trends. Watch for new usernames, new malware families and new exploit attempts. When a new campaign appears in your logs, you will often see it in the news weeks later.
If you run T-Pot, much of this is visual: the Kibana dashboards show attack origins on a map, top usernames and passwords, and the busiest honeypots at a glance. With Cowrie, the same data is in JSON logs, which you can query with simple scripts or ship to a log viewer.
The bottom line
A homelab honeypot is the cheapest way to watch real attackers work: a decoy that costs almost nothing, teaches you constantly, and turns internet background noise into useful intelligence. Start with Cowrie, isolate it properly, and read the logs before you build anything bigger.
Once you have seen what hits your decoy in a week, you will never look at a login prompt the same way again. Check your own exposure first with what your IP address reveals.
Keep your real network locked down with the steps in our Wi-Fi security guide, and let the honeypot do the watching.
Frequently asked questions
What is a homelab honeypot in simple terms?
It is a fake server you run at home on purpose so attackers find it instead of your real computers. It records everything they try, such as passwords, commands and malware, so you can learn how real attacks work without risking real data.
Is it legal to run a honeypot at home?
In most countries, yes, as long as it is on your own network and you do not use it to attack anyone or to intercept traffic that is not yours. Laws on logging and consent vary, so check your local rules, keep the honeypot isolated, and never strike back at an attacker.
Do I need a powerful computer for a honeypot?
No for a single Cowrie sensor, which runs happily on a small virtual machine or a Raspberry Pi. T-Pot is heavier: a standard install needs about 16 GB of RAM and a 256 GB SSD, while a sensor-only install needs about 4 GB.
Will a honeypot protect my home network?
Not by itself. A honeypot detects interaction with its decoy, but it does not stop attacks against your real devices. Treat it as an early-warning sensor and a learning tool, alongside a firewall, updates and strong passwords.
What is the difference between Cowrie and T-Pot?
Cowrie is one focused honeypot for SSH and Telnet that logs brute-force attacks and fake shell sessions. T-Pot is a platform from Telekom Security that runs more than twenty honeypots at once, including Cowrie, and feeds everything into dashboards.
How long does it take for attackers to find a honeypot?
Minutes, once it is exposed to the internet. Automated scanners probe every public IP address constantly, and in one published experiment an exposed database port was discovered within minutes. SSH brute force usually dominates the traffic.
Can a honeypot be hacked and used against me?
Yes, if it is set up badly. A high-interaction honeypot that runs a real operating system can be broken out of, which is why beginners should use medium-interaction tools like Cowrie, keep the sensor on an isolated network segment, and never store real credentials or data on it.
What should I do with honeypot logs?
Review them regularly and turn patterns into action: block repeat offender IPs, add the usernames and passwords attackers try to your detection rules, and feed indicators into your firewall or SIEM. The logs are the whole point of running the honeypot.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against the Honeynet Project's Cowrie documentation, the T-Pot project documentation and hands-on homelab guides.
How we write and fact-check →