logo svg
logo

November 5, 2026

Updated: November 11, 2026

What Is a Honeypot? Types, Uses and Safe Deployment

How decoys and honeytokens catch reconnaissance and lateral movement, which type fits which goal, and how to run them without new risk.

Mohammed Khalil

Mohammed Khalil

Featured Image

What is a honeypot? It is a decoy system, account, file or credential that has no legitimate business use, so any interaction with it is a strong sign of an intruder, a curious insider or a misconfiguration. Security teams use honeypots, and smaller decoys called honeytokens, to catch reconnaissance and lateral movement early, to study attacker behavior and to waste an adversary's time. NIST defines a honeypot as a system or resource designed to attract intruders, and MITRE D3FEND catalogs it as a decoy environment. A honeypot adds detection; it never replaces patching, logging or endpoint protection.

What Is a Honeypot in Cybersecurity?

The NIST glossary, quoting CNSSI 4009-2022 and IETF RFC 4949, defines a honeypot as a system or system resource, such as a web server or a file on a server, that is "designed to be attractive to potential crackers and intruders." MITRE's defensive knowledge base, D3FEND, lists the same idea as a Decoy Environment (D3-DE), with "honeypot" as its synonym.

The principle that makes a honeypot useful fits in one sentence. D3FEND describes decoys as configured so that some means of communication has no legitimate business purpose, and any communication through it should be logged and analyzed. Real users have no reason to log in to a fake file server, open a fake password spreadsheet or request a ticket for a service nobody runs. When that happens, the alert is worth reading.

That is the main difference from most detection tools. An intrusion detection system or an EDR agent watches legitimate activity and tries to spot the bad part. A decoy watches nothing legitimate at all, so it starts with very little noise.

Honeypot, honeynet, honeytoken and deception technology

These terms are often used loosely. Here is how they relate.

TermWhat it isExample
HoneypotA decoy host or service that an attacker can connect toA fake SSH server or file server on an internal network
HoneynetA network of honeypots built to look like a real environmentSeveral decoy servers, a fake domain controller and fake users on an isolated segment
HoneytokenA decoy piece of data rather than a whole systemA fake credential, document, API key, database row or service account
Deception technologyProducts and programs that deploy and manage decoys at scaleA platform that places decoy hosts, credentials and files across an estate and routes alerts to the SOC
Adversary engagementUsing deception on purpose to detect, delay and learn from adversariesPlanned operations described in the MITRE Engage framework

MITRE Engage, MITRE's framework for adversary engagement, makes a point worth repeating: "Deception is a process, not a fire-and-forget technology stack." Its matrix groups activities under three goals: Expose (detect and collect), Affect (prevent, direct and disrupt) and Elicit (reassure and motivate). Lures, Introduced Vulnerabilities, Pocket Litter and Isolation are among the listed activities. MITRE says that across nine elicitation operations it ran, it collected on average about 40 new pieces of intelligence per operation with adversary engagement, against about two indicators of compromise before.

NIST treats decoys as a security control too. In NIST SP 800-53 Rev. 5, control SC-26 "Decoys" (named "Honeypots" in Revision 4) calls for components designed to be the target of attacks for "detecting, deflecting, and analyzing" them, and its guidance says decoys need isolation measures and may need a review by general counsel before deployment.

How a Honeypot Works

Every honeypot or honeytoken has the same three parts:

  1. A lure. Something an attacker would want or would find while exploring: an open service, a share named "Finance", a cached admin password, a service account with a service principal name.
  2. A sensor. Logging that records each touch: connection attempts, logins, commands, file opens, ticket requests or credential use.
  3. An alert path. A route from the sensor to people who will act, usually the SIEM and the SOC, with a playbook that says what to do next.

Most failed deployments miss the third part. A decoy that fires into a log nobody reads detects nothing. The UK National Cyber Security Centre made the same point after its trials: without a clear strategy, organizations "risk deploying tools that generate noise rather than insight" (NCSC, December 11, 2025).

Types of Honeypots

Honeypots are usually classified two ways: by how much an attacker can interact with them, and by why they are deployed. Honeytokens sit at the light end of the scale.

Honeypot types compared from honeytokens to high-interaction honeypots by realism, data captured, effort and risk

Low, medium and high interaction

TypeWhat it emulatesWhat you learnEffortRisk if misconfigured
Low interactionA few services or banners; no real operating system behind themWho connected, from where, when and to which portLow; quick to deploy and maintainLow, but easy for scanners to fingerprint
Medium interactionA convincing shell or protocol (for example an emulated SSH login) without a full systemCredentials tried, commands typed, files downloadedModerateModerate; emulation gaps can be detected
High interactionReal operating systems and applications, often in virtual machinesFull attacker tooling, techniques and objectivesHigh; needs constant monitoringHigh; a compromised decoy can be used to attack others unless contained

Low-interaction honeypots are the usual choice inside companies because they are cheap and safe. High-interaction honeypots belong mainly to research teams that can watch them around the clock. Medium-interaction tools such as the open-source Cowrie SSH and Telnet honeypot sit in between.

D3FEND adds a placement view. An integrated honeynet (D3-IHN) puts decoys inside the production environment. A connected honeynet (D3-CHN) is joined to the enterprise network but emulates functions without exposing production systems. A standalone honeynet (D3-SHN) has no connection to production at all.

Research vs production honeypots

Production honeypotResearch honeypot
GoalDetect attacks against this organizationLearn how attackers and malware behave in general
Typical placementInside the corporate network, near valuable assetsInternet-facing or on dedicated research networks
Typical interaction levelLow, or honeytokensMedium to high
Who runs itSOC and detection engineering teamsUniversities, CERTs, threat intelligence teams, governments
Main outputHigh-fidelity alertsMalware samples, attacker techniques, trend data
Main riskAlert fatigue if poorly placedBeing used as a launch point if containment fails

Most organizations only need production decoys. An internet-facing research honeypot attracts constant automated scanning, which is useful for researchers but rarely tells a company anything about its own exposure.

Honeytokens and decoy objects

Honeytokens are the cheapest and often the most effective form of deception, because they go where attackers already look. D3FEND groups them under Decoy Object (D3-DO), with subtypes such as Decoy File (D3-DF), Decoy User Credential (D3-DUC), Decoy Network Resource (D3-DNR) and Decoy Session Token (D3-DST).

The research behind them is not new. In 2009, Columbia University researchers described decoy documents that contain bogus credentials and hidden beacons that signal when and where a file is opened, aimed at insiders who exfiltrate data. In 2013, Ari Juels and Ronald Rivest proposed honeywords: false passwords stored next to each real password hash, so that an attacker who cracks a stolen hash file and logs in with a honeyword sets off an alarm.

The table below is a selection guide for the most common decoy objects.

DecoyWhat it looks likeWhere to place itWhat triggers the alertCommon false-positive source
Honey credentialA username and password in a script, config file, browser store or memoryAdmin workstations, jump hosts, file shares, code repositoriesAny authentication attempt with that accountOld scripts or backup jobs that scan for credentials
Honey user accountA dormant domain account with an attractive nameActive Directory, identity providerAny sign-in or password resetAccount cleanup jobs
Honey SPNA fake service account with a service principal name that no real service usesActive DirectoryAny Kerberos service ticket request for that SPNSecurity scanners and audit tools that enumerate SPNs
Canary fileA document such as "passwords.xlsx" or "board-salaries.docx"File shares, SharePoint, executive foldersFile open, copy or a callback from the documentBackup, indexing and antivirus software reading the file
Decoy cloud keyAn access key with no permissionsCode repositories, CI variables, developer laptopsAny API call made with the keySecret scanners that test keys
Decoy host or shareA server or share with a believable nameServer VLANs, near crown-jewel systemsAny connection, login or port scanVulnerability scanners and inventory tools

Two practical notes. First, every decoy needs an exclusion list for your own scanners, backups and inventory tools, or it will train the SOC to ignore it. Second, products can help. Microsoft documents a honeytoken tag in Defender for Identity for users and devices, and says any sign-in from a honeytoken account triggers an alert.

Honey SPNs and Kerberoasting

A honey SPN targets one of the most common attacks in Windows domains. In Kerberoasting (MITRE ATT&CK T1558.003), any authenticated domain user can request Kerberos service tickets for accounts that have a service principal name, then try to crack the ticket offline to recover the service account's password. ATT&CK's detection guidance focuses on unusual ticket requests, logged on domain controllers as Windows event 4769.

A honey SPN turns that noise into a clear signal. You create a service account that no real service uses, give it an SPN and a very strong password, and alert on any 4769 event that names it. Legitimate clients never ask for that ticket, so a request usually means someone is enumerating SPNs and requesting tickets in bulk. Our internal penetration testing guide explains in its Kerberoasting section how testers find and exploit weak service accounts, which is exactly the behavior this decoy is meant to catch.

Illustrative scenario (not a real incident). A contractor laptop is compromised by phishing. The intruder lists service accounts in Active Directory and requests tickets for all of them, including "svc-sqlbackup", a honey SPN. The domain controller logs event 4769 for that account, the SIEM raises a high-severity alert within minutes and the SOC isolates the laptop before any real password is cracked. The decoy did not stop the attack; it turned a quiet credential-access step into an early, unambiguous alert.

What Honeypots Detect

Decoys work best at the stages of an intrusion where an attacker has to explore. Once inside, an intruder does not know which servers are real, which credentials work or which files matter, so they look around. That is where decoys sit. The map below uses tactic names from the MITRE ATT&CK framework.

Where honeypots and honeytokens catch attackers: recon, discovery, credential access, lateral movement and collection
Attacker behaviorATT&CK tacticDecoy that catches itSignal
Scanning the network for live hosts and servicesReconnaissance and DiscoveryLow-interaction honeypot on unused internal IP addressesConnection or port scan against an address nobody uses
Browsing file shares and searching for sensitive filesDiscovery and CollectionCanary file or decoy shareFile opened, copied or beacon fired
Harvesting passwords from memory, scripts or browsersCredential AccessHoney credentialLogin attempt with the decoy account anywhere
Requesting service tickets to crack offlineCredential AccessHoney SPNEvent 4769 for the decoy SPN
Moving to other machines with stolen credentialsLateral MovementDecoy host plus honey credentialsLogin or remote session on the decoy host
Testing stolen cloud keysDiscovery and Credential AccessDecoy cloud keyAny API call with the key
An insider looking where they should notCollectionCanary file in restricted foldersFile opened by an account with no business need

Lateral movement is the stage where decoys add the most. Attackers moving between machines often use valid accounts and built-in admin tools, which look like normal administration to many controls. A login to a host that should never receive logins does not. Reconnaissance on the internal network is the other strong case, because ATT&CK's Discovery tactic (TA0007) is hard to separate from IT activity, while a scan that touches a decoy address is not.

Decoys can also help with insider risk, as the Columbia decoy document research and several NCSC trial participants noted, but only when placed in folders that an insider would have no business opening.

How to Deploy a Honeypot Safely

A decoy must never become a weak point. NIST's SC-26 guidance says decoys need supporting isolation so that deflected malicious code does not infect real systems. The NCSC lists misconfiguration as a real risk: a badly set up deception tool can fail to detect threats, create false confidence, or "create openings for attackers".

Safe honeypot deployment: isolated decoy segment, blocked outbound traffic, separate logging and alerts routed to the SOC

Safe deployment checklist

  1. Start from a detection goal. Write down which behavior you want to detect, such as SPN enumeration or share browsing, and choose the decoy that catches it.
  2. Isolate decoy hosts. Put them on a segment that cannot reach production systems, and block or tightly limit outbound traffic so a compromised decoy cannot be used to attack anyone else.
  3. Use no real data. Decoys hold fake data only. Never copy production records, customer data or real credentials into them.
  4. Give honeytokens no privileges. A honey credential or cloud key should grant nothing, even if it is used.
  5. Make it believable. Match naming conventions, operating system versions and file dates to the real environment. A decoy that looks out of place is skipped.
  6. Wire alerts to people. Send every touch to the SIEM with a high-severity rule and a playbook. Test the path end to end before relying on it.
  7. Exclude your own tools. Whitelist scanners, backup and inventory systems so they do not trigger false alarms.
  8. Maintain it. Patch and refresh decoys as the network changes. Stale decoys are easier to spot and can drift into real risk.

Legal considerations

Honeypots raise three legal questions in the United States: privacy, entrapment and liability. This section is general information, not legal advice. Get counsel to review any honeypot that captures communication content, as NIST SC-26 suggests.

IssueWhat it meansPractical step
Privacy and interceptionCapturing the content of communications can fall under the federal Wiretap Act. Its provider exception, 18 U.S.C. 2511(2)(a)(i), allows a service provider's staff to intercept communications when necessary to protect the provider's rights or property.Run decoys on your own systems for protection purposes; log metadata only where content is not needed; ask counsel before capturing content
EntrapmentEntrapment is a criminal defense against government inducement. A privately run, passive decoy that an intruder finds on their own is generally not entrapment.Do not advertise or invite attacks; keep decoys passive
Liability for downstream harmIf a high-interaction honeypot is compromised and used to attack a third party, its operator may face liability questions.Block outbound traffic from decoys; prefer low interaction and honeytokens
Data protection outside the U.S.Under EU law, IP addresses can be personal data, so honeypot logs may fall under data protection rules.Set retention limits and a lawful basis for logs where EU law applies

The provider exception is in the Wiretap Act at 18 U.S.C. 2511(2)(a)(i). For background, the SANS Institute published a primer on US laws related to honeypot deployments covering privacy and entrapment, and an academic review of honeypot privacy under EU law explains the IP-address point.

On entrapment specifically, a concern is often raised that a honeypot "tricks" people into crime. Production decoys inside your own network are found by someone who is already exploring without permission, and private organizations are not the government. The bigger legal risks are what you record and what a compromised decoy might do.

How Red Teams Encounter Honeypots

Red teams and penetration testers meet decoys more and more often, and how they react is useful data for defenders.

The largest published study on this question is the Tularosa study, run by the U.S. Department of Defense and Sandia National Laboratories and presented at HICSS in 2019. Over 130 professional red teamers performed a network penetration task while researchers controlled whether decoy systems were present and whether participants were told that deception might be in use. A 2021 follow-up analysis found that the combination of decoys and telling attackers about them had the greatest effect on attack behavior compared with a control group.

The NCSC reached a similar view from academic research: attackers who believe deception is in use are less confident. Yet 90% of trial participants said they would not publicly announce that they use it.

Research also shows the other side. University of Cambridge researchers in the 2018 Bitter Harvest paper fingerprinted low- and medium-interaction honeypots across the internet with a single packet and found 7,605 honeypot instances across nine implementations. They also found that 27% of the SSH honeypots had not been updated in 31 months. Skilled operators, real or simulated, can spot cheap or stale decoys.

For defenders, this suggests a simple approach: treat your deception like any other control and test it.

Use a red team to validate your decoys

  1. Decide disclosure in the rules of engagement. Say whether testers are told that decoys exist and whether the SOC knows a test is running, so decoy alerts during the test are handled correctly.
  2. Measure whether each decoy fired. List every decoy the testers touched and every alert it produced.
  3. Measure time to alert and time to response. A decoy alert that sits for a day is a logging success and a detection failure. Our guide to mean time to detect explains how to track this.
  4. Record which decoys were skipped and why. If testers recognized a decoy, fix its realism.
  5. Re-test after changes. A purple team exercise is a good format for tuning decoys technique by technique with direct feedback.

A red team engagement is the most realistic test, because it measures whether a capable adversary pursuing a goal trips your decoys and whether your team responds in time.

The Limits of Honeypots

Honeypots are useful, but they have real limits that buyers and SOC leads should plan for.

A 30-Day Starter Plan

For a team that has never used deception, a small, well-wired start beats a large, noisy one.

WeekActionDone when
1Pick two detection goals, such as SPN enumeration and share browsing, and get sign-off from the SOC lead and counselGoals, owners and legal review recorded
2Deploy one honey SPN and one honey credential, plus a canary file in a sensitive shareDecoys live with no privileges and exclusions set
3Build SIEM rules and a playbook, then trigger each decoy yourself in a controlled testEvery decoy produces a high-severity alert that reaches an analyst
4Ask a red team or penetration tester to include the environment in scope and report which decoys they hitDetection and response times recorded; gaps fixed

After the first month, expand only where a decoy proved its value, and add low-interaction decoy hosts on unused internal addresses if network discovery is a gap.

Other Meanings of "Honeypot"

People search for "honeypot" with other meanings in mind, and this guide does not cover them in depth.

Frequently Asked Questions

What is a honeypot in simple terms?

A honeypot is a fake system, account or file that looks real but has no legitimate use. Because nobody should touch it, any access is a strong sign of an attacker, an insider or a misconfiguration, so security teams use it as an early warning.

What is the difference between a honeypot and a honeytoken?

A honeypot is a decoy system or service that an attacker can connect to. A honeytoken is a decoy piece of data, such as a fake password, document, API key or service account, that triggers an alert when someone uses it.

Are honeypots legal?

In the United States, running a passive decoy on your own network for security purposes is generally lawful. The main questions are privacy rules if you capture communication content and liability if a compromised decoy harms others. Ask counsel before capturing content or deploying high-interaction honeypots.

Is a honeypot entrapment?

Generally no. Entrapment is a defense against government inducement to commit a crime. A private organization's passive decoy that an intruder finds while exploring without permission does not induce the crime.

Can attackers detect honeypots?

Yes, sometimes. Research has fingerprinted thousands of low- and medium-interaction honeypots on the internet, and experienced testers watch for decoys. Realistic, well-maintained decoys and honeytokens placed where attackers must look are much harder to spot.

Do honeypots stop attacks?

No. Honeypots detect and slow attackers and can reveal their methods, but they do not fix the weaknesses being exploited. They work alongside patching, identity hardening, logging and endpoint detection.

What is a honeypot in crypto?

In crypto, a honeypot is a scam token or smart contract built to look profitable or exploitable while hiding a trap that keeps the victim's funds, for example by blocking sales.

Next Step: Test Whether Your Decoys Work

A honeypot is only as good as the alert it produces and the response that follows. Pick one or two decoys from the selection table, deploy them with the safety checklist, and then find out whether they catch a realistic attacker.

DeepStrike's red teaming services include detection validation, measuring your SOC, alerting and response workflows against realistic tradecraft, which is the test a deception program needs. If you want to start with a scoped assessment of your internal network and Active Directory, see our penetration testing services, or contact our team to discuss scope.

About The Author

Mohammed Khalil is a Cybersecurity Architect at DeepStrike, specializing in advanced penetration testing and offensive security operations. With certifications including CISSP, OSCP, and OSWE, he has led numerous red team engagements, focusing on cloud security, application vulnerabilities, and adversary emulation. His work involves dissecting complex attack chains and developing resilient defense strategies for clients in the finance, healthcare, and technology sectors.

Sources and References

background
Let's hack you before real hackers do

Stay secure with DeepStrike penetration testing services. Reach out for a quote or customized technical proposal today

Contact Us