What is Honeypot?
A honeypot in cyber security is a decoy system, service or credential that no legitimate user has a reason to touch, so any contact with it is suspect. Because of that, honeypot alerts are some of the cleanest in a SOC queue, and triage starts with where else the source has been.
Definition
- Honeypot
- A honeypot in cyber security is a decoy system, service or credential that no legitimate user has a reason to touch, so any contact with it is suspect. Because of that, honeypot alerts are some of the cleanest in a SOC queue, and triage starts with where else the source has been.
How Honeypot Works
NIST SP 800-94 gives the reasoning in one line: honeypots are hosts with no authorized users other than their administrators, because they serve no business function, so all activity directed at them is considered suspicious. The same 2007 guide calls them a supplement to intrusion detection rather than a replacement, and says qualified incident handlers and intrusion detection analysts should manage them. MITRE D3FEND files them under Decoy Environment, hosts and networks built to deceive an attacker, and sorts deployments by how they connect to production. An integrated honeynet places decoys inside the production environment. A connected one attaches to the enterprise network and emulates functionality without exposing a real production system. A standalone one has no connection to production at all.
Interaction level is the other axis. A low-interaction honeypot emulates a service just far enough to record the attempt. OpenCanary, from Thinkst, is a Python daemon that answers on common network protocols and sends an alert when something interacts with it; its documentation names the main use as catching attackers after they have breached non-public networks, and it runs on hardware as small as a Raspberry Pi. A high-interaction honeypot hands the attacker a real system, which shows you their tools and hands-on-keyboard behavior at the cost of real risk. Cowrie sits between the two for SSH and Telnet. Its default shell mode is medium interaction: it emulates a UNIX system in Python and logs brute-force attempts and the shell commands the attacker types; in proxy mode, which is high interaction, it relays the session to another system and records what the attacker does there.
Honeytokens move the same idea from machines to data: a credential, file, key or record that nobody legitimately uses, planted where an intruder will find it. D3FEND calls the credential version a Decoy User Credential and attaches two conditions. A stolen decoy credential should lead into a monitored decoy environment, and the setup needs continuous maintenance to stay believable. Microsoft Defender for Identity lets you tag users and devices as honeytokens; its documentation describes them as usually dormant accounts where any sign-in triggers an alert. Thinkst's free Canarytokens apply the idea to files and cloud secrets, such as a Word document, a DNS name or a set of AWS API keys that raise an alarm when someone opens or uses them.
On Windows, a honeytoken account surfaces in the domain controller's Security log, and Microsoft's monitoring guidance for events 4768 and 4776 includes watching for accounts that should never be used. Which event you get depends on how the credential is tried. A Kerberos ticket request logs 4768 on the domain controller, with Result Code 0x0 when the ticket is issued. A wrong password over Kerberos logs 4771 (Kerberos pre-authentication failed) instead, because 4768 is not generated for result code 0x18. An NTLM attempt logs 4776 on the domain controller with the account name, the source workstation and an error code, 0xC000006A for a bad password. A failed logon on a member server also leaves a 4625 on that server.
Here is how that reads in a queue (simulated example generated by SOCSimulator Research; names and addresses are invented). The decoy is svc-sqlbak2, a service account with no group memberships of interest and no logon history, whose password sits in an old deployment script on a file share. At 09:41 the domain controller logs:
4776 | Computer DC02.corp.example | PackageName MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 | TargetUserName svc-sqlbak2 | Workstation WS-FIN-022 | Status 0xc000006a
Four minutes later:
4768 | Computer DC02.corp.example | TargetUserName svc-sqlbak2 | ServiceName krbtgt | Status 0x0 | PreAuthType 2 | IpAddress ::ffff:10.20.30.41
The first line is a wrong guess over NTLM from WS-FIN-022, likely part of a spray across many accounts. The second is a successful ticket request, which means someone now holds the real password, and the only place that password existed was the script. Two questions follow. Is 10.20.30.41 the same machine as WS-FIN-022 (DHCP or the EDR inventory will tell you)? And who read that share? If file share auditing is on, it can name the reader. Either way, someone has been through your file shares, and the investigation starts there.
Decoys bring risks of their own. Attackers fingerprint them: Vetterl and Clayton (USENIX WOOT 2018) identified low- and medium-interaction honeypots with a single packet, because the off-the-shelf libraries they use implement protocols slightly differently from the systems they imitate. Their Internet-wide scans found 7,605 instances across nine implementations, and 27% of the SSH honeypots had not been updated in the previous 31 months. A decoy with default banners and hostnames tells an intruder where not to go. A high-interaction honeypot is a real machine under an attacker's control, so its isolation and outbound filtering decide whether it becomes a launch point against someone else. NIST's 2007 guide also warned that the legality of honeypots had not been clearly established and advised organizations to study the legal side before deploying one.
Most of the noise on an internal decoy comes from your own tools. Vulnerability scanners, asset discovery and monitoring probes touch every address they can reach, decoys included. Exclude them by source address and schedule, and treat a scanner touching the decoy outside its window as an alert in its own right.
Honeypot in SOC Operations
When a honeypot or honeytoken alert lands, go straight to scoping, starting with the source. For a decoy account that means Client Address in 4768 and Source Workstation in 4776; for a decoy host, the connecting IP in the firewall or honeypot log. An internal source means a compromised machine or an insider already on your network. Pivot on that source in the SIEM and EDR over the previous days: which other accounts it authenticated as, which hosts it touched, what ran there that nobody can explain. Then look at where the decoy was planted. If the credential only existed in one script or one document, whoever used it read that file, which tells you how far the intruder has already looked. Rule out your own scanners against their known addresses and schedules, then escalate with a short note: decoy name, first and last touch, source, and what the pivot found. The decoy's own log is useful threat intelligence too. Usernames tried, commands typed into a Cowrie session and tools dropped on a high-interaction host all become search terms for the rest of the environment.
Practice Honeypot in a Real SOC
SOCSimulator provides hands-on training with realistic SIEM, XDR, and Firewall interfaces. Build real analyst skills investigating honeypot scenarios with zero consequences, free.
Frequently Asked Questions
- What is a honeypot in cyber security?
- A decoy host, service or credential set up so that any interaction with it signals unauthorized activity. Because it serves no business function, NIST SP 800-94 treats all activity directed at it as suspicious. Inside a network it catches intruders who are exploring; facing the Internet it collects scans, attack attempts and malware samples that show what attackers are currently using.
- What is a honeytoken?
- A decoy piece of data instead of a decoy machine: an account, password, API key, document or database record that no one legitimately uses, so using it is the alert. Microsoft Defender for Identity can tag dormant accounts as honeytokens and alert on any sign-in. Thinkst's free Canarytokens generate trackable documents, URLs, DNS names and cloud keys; a canary token is the same idea under Thinkst's name.
- What is the difference between low-interaction and high-interaction honeypots?
- A low-interaction honeypot emulates a service just enough to log connections and login attempts, so it is cheap to run and gives the attacker no real system to take over. A high-interaction honeypot is, or relays to, a real system, which records what the attacker does after getting in but has to be isolated so it cannot be used against anything else. Cowrie sits in between: its default shell mode is medium interaction, and its proxy mode, which relays to a real host, is high interaction.
- Can attackers detect a honeypot?
- Often, yes. A 2018 USENIX WOOT paper by Vetterl and Clayton fingerprinted low- and medium-interaction honeypots with a single packet, because their protocol libraries behave slightly differently from the systems they imitate, and found 7,605 of them on the Internet. Default banners, hostnames and outdated versions make it easier. Internal decoys hold up better when they follow your real naming conventions and look like ordinary assets.
Sources
- NIST SP 800-94: Guide to Intrusion Detection and Prevention Systems (IDPS), section 8.3.4 Honeypots
- MITRE D3FEND: Decoy Environment (D3-DE)
- MITRE D3FEND: Decoy User Credential (D3-DUC)
- Microsoft Learn: Defender for Identity entity tags (honeytoken)
- Microsoft Learn: 4768(S, F) A Kerberos authentication ticket (TGT) was requested
- Microsoft Learn: 4776(S, F) The computer attempted to validate the credentials for an account
- Thinkst Canarytokens documentation
- Thinkst OpenCanary (GitHub)
- Cowrie SSH/Telnet honeypot (GitHub)
- Vetterl and Clayton, Bitter Harvest: Systematically Fingerprinting Low- and Medium-interaction Honeypots at Internet Scale (USENIX WOOT 2018)
Related Terms
An intrusion detection system (IDS) is a security tool that watches network traffic or host activity...
Threat intelligence is analyzed, contextualized information about current and emerging cyber threats...
In cyber security, an indicator of compromise (IOC) is forensic evidence, such as a file hash, IP, o...
An organization's attack surface is the total set of points where an adversary could attempt unautho...
Threat hunting is the proactive, human-led process of searching through security telemetry to find h...
Command and Control (C2) refers to the infrastructure and communication channels adversaries use to ...
Lateral movement is the attack phase where adversaries expand access from an initial foothold to add...
Password spraying is an attack technique in which an adversary tries one, or a small handful, of com...
More Tools Terms
Related SOC Training Resources
SOC Analyst (Tier 1) Career Guide: Salary & Skills
Tier 1 SOC Analysts are the front line. You monitor alert queues, triage incoming detections, classify them as true or f…
Read more Career PathSOC Analyst (Tier 2) Career Guide: Salary & Skills
Tier 2 SOC Analysts handle the investigations that Tier 1 escalates. You dig into multi-stage attacks, coordinate contai…
Read more Career PathSecurity Engineer Career Guide: Salary & Skills
Security Engineers build and maintain the infrastructure that SOC analysts depend on. You deploy SIEMs, configure firewa…
Read more ComparisonSOCSimulator vs LetsDefend: Comparison
SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…
Read more ComparisonSOCSimulator vs Hack The Box: Comparison
Different tools for different career paths. SOCSimulator trains defensive analysts. Hack The Box trains offensive securi…
Read more ToolSIEM Training Console: SOCSimulator
The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…
Read more ToolFirewall Training Console: SOCSimulator
The Firewall console in SOCSimulator replicates the log analysis experience of enterprise platforms like Palo Alto Netwo…
Read more TechniqueMITRE ATT&CK® Techniques: Detection Training Library
Browse all MITRE ATT&CK® techniques with detection strategies and example alerts.
Read more Career PathCybersecurity Career Paths: 2026 Guide
Explore SOC analyst career paths with salary data, required skills, and certification roadmaps.
Read more PlaybookSOC Investigation Playbooks: Step-by-Step Guides
Practitioner investigation playbooks with decision trees and real SIEM queries.
Read more FeatureShift Mode: Real-Time SOC Simulation
Practice alert triage under realistic time pressure with SLA timers and noise injection.
Read more FeatureOperations: Guided Training Operations
Structured CTF-style investigation operations covering real-world attack scenarios.
Read more