☼
⌃
☰

Honeypot

Table of Contents

A decoy system designed to look like a real target — server, service, credential, or file — to attract attackers and observe their behaviour without exposing production systems. Any interaction with a honeypot is by definition suspicious, making them high-signal, low-noise detection mechanisms.

Related: Indicators of Compromise Intrusion Detection System Incident Response

Types

Type What it mimics Purpose
Low-interaction Service banners, open ports Easy to deploy, limited intel — detects scans
High-interaction Full OS, real services Deep TTP visibility, higher maintenance and risk
Honeytokens Credentials, API keys, files Detect credential theft and misuse
Honeynet Network of honeypots Simulate an entire environment
Research honeypot Exposed to internet Gather threat intelligence on live attacks
Production honeypot Internal network Detect lateral movement, insider threat

Honeytokens

The most practical form for most organisations — plant fake credentials or files and alert when they are used.

TEXT
Common honeytoken types:
— Fake AWS/Azure API keys in a public GitHub repo — alerts when accessed
— Fake credentials in a password manager or config file
— Fake admin account — alert on any login attempt
— Canary files in sensitive directories — alert on access
— Fake database records with unique values — detects exfiltration

Tools: canarytokens.org — free, generates URLs, documents, AWS
       keys, DNS tokens; fires a webhook or email on use

Low-Interaction Honeypots

Simulate services without a full OS. Fast to deploy, lower risk if compromised, but attackers may detect them.

SHELL
# Honeyd — simulates multiple hosts and services
# OpenSSH honeypot (log credentials used by brute-force bots)
pip install cowrie --break-system-packages

# Cowrie — SSH/Telnet honeypot, logs sessions and credentials
docker run -p 2222:2222 cowrie/cowrie

Production Use

Placing honeypots inside your own network means any interaction is immediately suspicious — no legitimate user or system should be touching them:

TEXT
Useful placements:
— A "server" that no real services depend on — any connection is anomalous
— Fake admin shares on a Windows network — detects SMB enumeration
— A DNS name that nothing legitimate resolves — alert on any query
— A database account that nothing uses — alert on any authentication
— Open port on an internal host that nothing listens on — detects scanning

What Honeypots Capture

High-interaction and honeynet deployments reveal:

  • Initial access methods — how the attacker got in
  • Reconnaissance techniques — what they enumerated
  • Tooling — what they uploaded or ran
  • Credentials attempted — useful for detecting spray campaigns
  • C2 infrastructure — where they called home
  • TTPs — full attack chain for threat intelligence

Limitations

  • Attackers aware of honeypots may deliberately avoid anomalous systems — sophisticated threat actors fingerprint environments
  • High-interaction honeypots carry risk — a fully functional OS can be used as a pivot or relay if not properly isolated
  • Legal considerations — some jurisdictions restrict what you can do with information gathered from honeypot interactions
  • Honeypots detect only attackers who interact with them — not a substitute for full network monitoring

Tips

  • Honeytokens via canarytokens.org are the fastest to deploy and highest signal-to-noise ratio — start there
  • Any internal honeypot should be on a monitored VLAN with egress blocked — prevent a compromised honeypot from becoming a launchpad
  • Log everything from a honeypot, not just alerts — the command history of an interactive session is the most valuable threat intelligence you can gather
  • Fake credentials should be realistic but distinguishable — you need to know immediately if a real credential vs a honeytoken is being used