Skip to content
Pwnversity
DEF-HONEYPOTintermediate · 9 min · upd. 2026-11

Honeypots & deception

T1558.003T1552.001MITRE Engage

Deception technology places objects in the network and on systems that no legitimate user or process has any reason to touch: a server that offers nothing, an account nobody uses, an API key that opens nothing real. If someone touches them, it’s almost certainly an attacker exploring. That’s why deception produces the alerts with the fewest false positives in the whole defensive toolkit, and it reaches where rules don’t: the attacker who’s already inside, uses valid credentials and does nothing that looks malicious on its own.

  • Detecting internal reconnaissance: the attacker needs to explore (shares, accounts, servers) before reaching what’s valuable. The decoy sits on that path.
  • High-fidelity alerts: there’s no “normal” behavior to confuse them with.
  • Intelligence: which tools, credentials and techniques the intruder uses.
Type Example What it detects
Low-interaction honeypot Emulated services: FTP, SSH, SMB, a NAS web panel Scanning and credential testing on the internal network
High-interaction honeypot A real system, isolated and monitored Full tooling and behavior (more risk)
Credential honeytoken Fake credentials in a script, a GPO or a vault Theft of credentials from files (T1552.001)
AD decoy account An account with an SPN that no service uses Kerberoasting (T1558.003) and domain enumeration
Canary token A document, URL, DNS entry or cloud key that alerts when used Opening of stolen files, use of leaked keys
Decoy resource A “Payroll 2026” share with no real use Searches for sensitive data, ransomware enumerating shares

MITRE Engage is MITRE’s framework for planning deception and adversary engagement: goals (expose, affect, elicit), approaches and activities, mapped to ATT&CK.

flowchart LR
    A(("Attacker<br/>inside")) -->|"scans"| H["Honeypot<br/>emulated service"]
    A -->|"Kerberoasting"| K["Decoy account<br/>with SPN"]
    A -->|"steals and uses"| T["Honeytoken<br/>credential or key"]
    H --> L["Log"]
    K --> L
    T --> L
    L --> S[("SIEM")]
    S --> AL["Priority alert<br/>with source machine"]
    AL --> R["Response"]

The alert’s value lies in the source: the IP that connected to the honeypot, or the machine that requested the decoy account’s ticket, is the compromised machine or the attacker’s next hop.

In practice: a low-interaction honeypot with OpenCanary

Section titled “In practice: a low-interaction honeypot with OpenCanary”

OpenCanary (0.9.10, from PyPI) emulates services and writes each interaction as JSON. A minimal configuration with an FTP server and a NAS login panel, on a machine with an enticing name:

{
"device.node_id": "srv-backup-02",
"ftp.enabled": true, "ftp.port": 2121, "ftp.banner": "FTP server ready",
"http.enabled": true, "http.port": 8081, "http.skin": "nasLogin",
"logger": { "class": "PyLogger", "kwargs": { "handlers": { "file": {
"class": "logging.FileHandler", "filename": "/var/log/opencanary.log" } } } }
}
Ventana de terminal
opencanaryd --dev

After opening the web panel, trying a password on it and another on the FTP server, the log contains (timestamp fields omitted):

{"dst_port": 8081, "logtype": 3000, "logdata": {"HOSTNAME": "127.0.0.1", "PATH": "/index.html", "SKIN": "nasLogin", "USERAGENT": "curl/8.5.0"}, "src_host": "127.0.0.1", "node_id": "srv-backup-02"}
{"dst_port": 8081, "logtype": 3001, "logdata": {"HOSTNAME": "127.0.0.1", "PASSWORD": "Backup2026!", "PATH": "/index.html", "SKIN": "nasLogin", "USERAGENT": "curl/8.5.0", "USERNAME": "admin"}, "src_host": "127.0.0.1", "node_id": "srv-backup-02"}
{"dst_port": 2121, "logtype": 2000, "logdata": {"PASSWORD": "Verano2026", "USERNAME": "backup"}, "src_host": "127.0.0.1", "node_id": "srv-backup-02"}
  • logtype identifies the event (3000: HTTP request; 3001: HTTP login attempt; 2000: FTP login). Every line goes to the SIEM, and any of them is an alert.
  • src_host is the key data point for response.
  • The honeypot stores the passwords that are tried. If an employee mistakes the server and types their real password, it gets logged: the log is treated as sensitive data, with restricted access and short retention, and the password, if real, gets changed.

A service account with a believable name (svc-sqlbackup), a registered SPN and a long random password, used by no service. Any service ticket requested for it (event 4769 on domain controllers) is enumeration or Kerberoasting (Kerberos attacks):

title: Service ticket requested for the svc-sqlbackup decoy account
status: experimental
tags:
- attack.credential-access
- attack.t1558.003
logsource:
product: windows
service: security
detection:
selection:
EventID: 4769
ServiceName: 'svc-sqlbackup'
condition: selection
falsepositives:
- None expected; check authorized audit scanners
level: high

Converted for Splunk with sigma convert -t splunk -p splunk_windows:

source="WinEventLog:Security" EventCode=4769 ServiceName="svc-sqlbackup"

The event includes the IP address of the client that requested the ticket: that’s the machine to investigate. The long password means that even if the attacker gets the ticket, they can’t crack it; and if someone tries to sign in with that account (4624, 4625, 4768), the alert is even clearer.

  • Believable: names, ports and content that fit the organization. A “honeypot” called honeypot01 fools nobody.
  • Where the attacker looks: server segments, next to valuable resources, in Active Directory; not just at the perimeter.
  • Low interaction by default: high-interaction ones only with strict isolation (own network, egress blocked) so they don’t become a springboard.
  • No real data in any decoy, and no credentials that work anywhere else.
  • Inventoried and documented: the vulnerability scanning team and authorized auditors must know where they are, or they’ll generate alerts (and the SOC will learn to ignore them).
  • An alert with its own runbook: confirm the source, isolate if needed, search the fleet for activity from the same source (SOC, threat hunting).
  • Decoys nobody watches: without an alert in the SIEM they’re not a defense.
  • Honeypots exposed to the Internet without a clear goal: they produce mass-scanning noise, not useful alerts about your own network.
  • High-interaction honeypots with Internet egress.
  • Decoy accounts with weak passwords: the attacker cracks the ticket and gets a valid account.
  • Not coordinating with whoever scans the network legitimately.
  • EleKtra-Leak (Unit 42, 2023): researchers published AWS keys in public GitHub repositories and saw an automated campaign find and use them within five minutes for cryptomining. That’s exactly the behavior a cloud-key canary token turns into an alert: if a fake key planted in an internal repository gets used, the code was stolen or leaked.
  • Goal defined: which attack phase you want to detect
  • Credential and key honeytokens in believable locations
  • AD decoy account with SPN and long password; alerts on 4769, 4768, 4624 and 4625
  • Low-interaction honeypots in internal segments
  • High interaction only with isolation and no Internet egress
  • Logs sent to the SIEM with a priority alert and runbook
  • Captured passwords treated as sensitive data
  • Decoy inventory shared with legitimate scanners