Lesson 7 of 10
Deception Technology & Honeypots
Deception technology creates fake, attractive targets that alert when touched by attackers. Unlike reactive defenses, deception actively detects attackers who have bypassed perimeter controls and are engaged in lateral movement.
Honeypot Types & Deployment
# Deception technology spectrum
LOW-INTERACTION HONEYPOTS (easy to deploy, limited intelligence):
Emulate network services without full OS
Good for: detecting port scans, basic attack attempts
Tools: Kippo (SSH), Cowrie (SSH/Telnet), HoneyD
HIGH-INTERACTION HONEYPOTS (real OS, maximum deception):
Actual vulnerable operating systems
Let attackers interact fully - capture TTPs, tools, credentials
Risk: attacker might use as pivot point
Tools: T-Pot (multi-honeypot platform), MHN (Modern Honey Network)
HONEYTOKENS (lowest effort, highest signal):
Individual decoy resources - ANY access = confirmed attack
Types:
- Canary tokens (canarytokens.org): Fake credentials, documents, URLs
that send alerts when used anywhere in the world
- Fake AWS credentials in GitHub - alert when attempts to use them
- Fake admin account (honeyuser) - any login attempt = attacker
- Honeypot files in sensitive directories - any read = data access
- Fake DNS entries (fake internal hostnames that shouldn't be queried)
# Canarytokens.org - free honeytokens
# Types: Web bug (URL that alerts on visit), AWS key, DNStoken,
# Microsoft Word document, Cloned website
# Example: Fake AWS credentials as canary token
# Place in ~/.aws/credentials or hardcode in a sample script on GitHub:
# AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE ← Canary token, not real
# AWS_SECRET_ACCESS_KEY=wJalrXUtn... ← Triggers alert if API call attempted
# ANY API call with these credentials → immediate PagerDuty alertStrategic Deception Deployment
- High-fidelity alerting: Every access to a honeypot or honeytoken is confirmed malicious activity (no false positives) - these are the highest-priority alerts in any SOC
- Deception breadcrumbs: Place fake credentials in likely attacker discovery paths - registry keys containing database passwords, cached browser credentials for internal sites, bash history with SSH commands
- Active Directory honeyaccounts: Create fake admin accounts with enticing names (svc_backup_admin) with weak, logged passwords. Any login attempt = immediate incident
- Honeynet for threat intelligence: Let attackers interact with honeypots to capture tools, techniques, and C2 infrastructure - then use that intelligence to protect real systems
- Distributed honeytokens: Place different canary tokens in different systems - when an alert fires, the specific token reveals WHICH system the attacker accessed to find the credential
Common Mistakes
- Creating honeypots that are obviously fake - a honeypot that looks nothing like real systems provides no deception value; they must blend in convincingly
- Not alerting in real-time - honeypot value is in early detection; any delay in alerting extends attacker dwell time
- Using honeypots as your primary defense - deception supplements detection controls, it doesn't replace authentication, access controls, or patching
Tip
Tip
Practice Deception Technology Honeypots in small, isolated examples before integrating into larger projects. Breaking concepts into small experiments builds genuine understanding faster than reading alone.
The foundational security model: Confidentiality (privacy), Integrity (trust), and Availability (uptime).
Practice Task
Note
Practice Task - (1) Write a working example of Deception Technology Honeypots from scratch without looking at notes. (2) Modify it to handle an edge case (empty input, null value, or error state). (3) Share your solution in the Priygop community for feedback.
Quick Quiz
Common Mistake
Warning
A common mistake with Deception Technology Honeypots is skipping edge case testing - empty inputs, null values, and unexpected data types. Always validate boundary conditions to write robust, production-ready cybersecurity code.
Key Takeaways
- Deception technology creates fake, attractive targets that alert when touched by attackers.
- High-fidelity alerting: Every access to a honeypot or honeytoken is confirmed malicious activity (no false positives) - these are the highest-priority alerts in any SOC
- Deception breadcrumbs: Place fake credentials in likely attacker discovery paths - registry keys containing database passwords, cached browser credentials for internal sites, bash history with SSH commands
- Active Directory honeyaccounts: Create fake admin accounts with enticing names (svc_backup_admin) with weak, logged passwords. Any login attempt = immediate incident
Finished this lesson?