What is a honeypot?

A honeypot is a monitored system with no legitimate use, so any connection to it indicates an attacker. How it works, types, limits and deployment.

Definition

A honeypot is a system that has no legitimate use and is monitored so that any connection to it can be treated as hostile. It imitates an asset an attacker would look for, such as a file server or an SSH host, and records what the attacker does.

In brief

  • A honeypot has no business function, so legitimate traffic to it is rare and every connection is worth investigating.

  • Low-interaction honeypots emulate services and are used for detection; high-interaction honeypots are real systems used for research.

  • Inside a corporate network, a honeypot alerts on scans, login attempts and share access by someone already past the perimeter.

  • Internet-facing honeypots mostly record automated scanning and are a threat intelligence source, not an intrusion detector.

How it works

A honeypot is deployed like any other host: it has an IP address, a hostname and open ports. It answers network scans, presents service banners and accepts connection attempts. What makes it a honeypot is that no user, application or scheduled task depends on it. A connection to it therefore has no ordinary explanation.

When someone interacts with it, the honeypot records the source address, the protocol, the credentials submitted and, depending on its design, the commands or files requested. That record is sent as an alert to the security team, usually through the SIEM.

Because the honeypot does not need to tell legitimate activity apart from malicious activity, the alert does not depend on a signature or a behavioural model. The exceptions are known in advance: vulnerability scanners, inventory tools and authorised penetration tests. They are excluded by source address.

Example

An attacker has compromised a workstation in a branch office and is looking for file servers. A scan of the local subnet returns a host named FS-PAR-02 with SMB open. The host is a honeypot. The attacker tries to list its shares with an account taken from the workstation:

{
"time": "2026-11-18T09:42:17Z",
"decoy": "FS-PAR-02",
"protocol": "smb",
"event": "authentication",
"source_ip": "10.20.4.17",
"username": "CORP\\j.martin",
"result": "failure",
"attack_technique": ["T1135", "T1078"]
}

The alert gives the SOC three facts it would otherwise need hours to establish: the compromised host (10.20.4.17), a compromised account (j.martin), and the stage of the intrusion (internal discovery).

Types of honeypots

TypeWhat the attacker reachesTypical useMain constraint
Low interactionEmulated banners and login promptsDetection in production networksLimited view of post-login activity
Medium interactionEmulated shell or protocolDetection with more context on the attacker’s commandsMore effort to keep the emulation credible
High interactionA real operating systemResearch, malware and technique analysisStrict isolation and outbound filtering

Production honeypots are placed among real assets to detect intrusions. Research honeypots are usually exposed to the internet to study campaigns, botnets and malware.

Internal and internet-facing honeypots

An internet-facing honeypot receives connections from scanners and botnets within minutes of going online. That traffic is useful for threat intelligence, for example to collect the passwords used in brute-force campaigns, but it says little about the organisation that runs it.

An internal honeypot is only reachable from inside the network. A connection means that someone is already past the perimeter, or that an internal tool is misconfigured. Internal honeypots are the ones that detect intrusions.

What it detects

An internal honeypot sees the techniques an attacker uses to explore a network after the initial compromise:

It does not see an attacker who never explores the network, for example one who goes straight from a phished mailbox to a cloud application.

Limitations

  • Coverage. A honeypot only detects activity that reaches it. A single honeypot in a large network is easy to miss; several are needed per segment.
  • Credibility. Attackers fingerprint hosts. Nmap OS detection compares TCP/IP stack behaviour with known systems, so a honeypot that claims to be Windows Server but answers like Linux is suspicious.
  • Maintenance. Hostnames, operating systems and services must follow changes in the real environment, or the honeypot stands out.
  • Risk. A high-interaction honeypot gives the attacker a real system. Without isolation it can become a foothold.

Deployment guidance

  1. List the network segments an attacker could land in: user VLANs, server zones, DMZ, OT networks, cloud VPCs.
  2. In each segment, imitate the services that already exist there, such as SMB and RDP in a Windows office network, or SSH and web consoles in a server zone.
  3. Follow the local naming convention and match the operating system fingerprint of neighbouring hosts.
  4. Exclude known scanners and inventory tools by source address before going live, to avoid predictable alerts.
  5. Send alerts to the SIEM with a response procedure: identify and isolate the source host, reset any credential that was used, then investigate.
  6. Review the deployment when the network changes.

At scale, these steps are handled by a deception platform, which deploys and monitors many honeypots from one console.

Frequently asked questions

What is the difference between a honeypot and a honeynet?

A honeypot is a single decoy system. A honeynet is a network of honeypots that reproduces an environment, with several hosts and services, so that an attacker can move between them and researchers can observe a complete intrusion, from the first scan to lateral movement and persistence.

Is it legal to run a honeypot?

Running a honeypot on your own network for defensive purposes is generally lawful. Internet-facing research honeypots raise more questions, such as data retention and liability if the system is used to attack third parties. Check the applicable law and filter outbound traffic from any high-interaction honeypot.

Can a honeypot be detected by an attacker?

A honeypot can be identified if its behaviour does not match what it claims to be: a Windows banner on a Linux TCP/IP stack, missing services, or a hostname that breaks the local naming convention. Matching the network fingerprint and the surrounding environment reduces this risk.

Does a honeypot replace an EDR or a SIEM?

A honeypot does not replace an EDR or a SIEM. EDR and SIEM analyse legitimate activity for signs of compromise; a honeypot watches a place where no activity is expected. Honeypot alerts are usually forwarded to the SIEM and investigated with EDR data.

Sources and further reading

  1. 1Network Service Discovery (T1046)MITRE ATT&CK
  2. 2Network Share Discovery (T1135)MITRE ATT&CK
  3. 3Brute Force (T1110)MITRE ATT&CK
  4. 4Remote OS DetectionNmap Network Scanning, Gordon Lyon
  5. 5About the Honeynet ProjectThe Honeynet Project

See deception in action

TrapEye deploys and monitors decoys and canary tokens from a single console, and sends alerts to your SIEM, Slack, Teams or email.