CYS406 · Chapter 14

Sweet Traps & Silent Gatekeepers:
Honeypots and Proxy Servers

Two very different tools with the same mission — put something between the attacker and the real target. Honeypots lure and study intruders; proxy servers stand guard and hide what's behind them.

Honeypot Types Production vs Research Proxy Server Basics Transparent vs Non-Transparent SOCKS / Reverse Proxy Configuration Steps
scroll ↓
01 / Decoys

What Is a Honeypot?

A honeypot is an information system resource expressly set up to attract and trap people attempting to penetrate an organization's network. It has no authorized activity and no production value — so any traffic touching it is almost certainly a probe, attack, or compromise.

Why it's useful

A honeypot can log port-access attempts or monitor an attacker's keystrokes, giving defenders an early warning of a larger, more concerted attack — without risking real production assets.

Attacker
Internet
Firewall + Packet Filter
Honeypot (in DMZ)

Meanwhile, the real Web Server and Internal Network sit safely behind the firewall, isolated from what the honeypot is exposing to the attacker.

🧠

Mnemonic — What a Honeypot Is

"NO VALUE = ALL SUSPICIOUS" — a honeypot has zero legitimate business value, so unlike a real server, there is no such thing as "normal traffic" hitting it. Every single packet is a red flag by definition.

02 / Classification

Honeypot Types — By Design (Interaction Level)

Honeypots are classified along a spectrum of how much real functionality they simulate.

Low-Interaction
Simulates only a limited number of services and applications of a target system/network. Low realism, low risk, low maintenance.
Medium-Interaction
Simulates a real operating system, applications, and services of a target network — more convincing than low-interaction, but still contained.
High-Interaction
Simulates ALL services and applications of a target network. Most realistic, gathers the richest intelligence, but carries the highest risk if an attacker actually breaks out.
Pure Honeypot
Emulates the real production network of a target organization in full — effectively a complete decoy replica.
Low-Interaction

Fewer services simulated → easier to deploy and safer, but attackers can often tell it's fake and less data is captured.

High-Interaction

All services/apps simulated → very convincing, captures deep attacker behavior, but higher operational risk and effort to maintain.

🧠

Mnemonic — Interaction Ladder

"LOW < MEDIUM < HIGH < PURE" — climb the ladder from a cardboard cutout (Low: a few fake services) to a full-blown wax museum (Medium: real-looking OS/apps) to an actual functioning decoy building (High: everything simulated) to an exact clone of the real HQ (Pure: emulates the whole production network).

03 / Deployment

Honeypot Types — By Deployment Strategy

Production Honeypots

Deployed inside the organization's production network alongside other real production servers. Because they sit internally, they also help uncover internal flaws and attackers already inside the organization.

Research Honeypots

High-interaction honeypots primarily deployed by research institutes, governments, or military organizations to gain detailed knowledge about intruders' actions — intelligence-gathering, not day-to-day defense.

💡

Production vs Research — the giveaway word

"Production" = protects a real business network day to day. "Research" = studies attackers for knowledge, typically run by research/government/military bodies and always high-interaction.

04 / Deception Types

Honeypot Types — By Deception Technology

A finer-grained classification based on exactly what kind of bait is used.

Malware Honeypots
Used to trap malware campaigns or malware attempts across the network infrastructure.
Database Honeypots
Employ fake, deliberately vulnerable databases to attract database attacks like SQL injection and database enumeration.
Spam Honeypots
Specifically target spammers who abuse vulnerable resources such as open mail relays and open proxies.
Email Honeypots
Fake email addresses used specifically to attract fake and malicious emails from adversaries.
Spider Honeypots
Specifically designed to trap web crawlers and spiders.
Honeynets
Whole networks of honeypots, very effective at determining the entire capabilities of adversaries by observing lateral movement across the fake network.
🧠

Mnemonic — Six Deception Flavors

"MDSE-SH"Malware, Database, Spam, Email, Spider, Honeynet. Think of six different fishing lures, each shaped to attract a specific type of fish (malware writers, SQL injectors, spammers, phishers, crawlers, or whole gangs of intruders via a full honeynet).

Honeypot Tools

ToolNotes
HoneyBOTMedium-interaction honeypot for Windows; easy-to-use, ideal for network security research.
KFSensorCommercial Windows honeypot IDS.
MongoDB-HoneyProxyHoneypot proxy targeting MongoDB-style attacks.
Modern Honey NetworkFramework for managing multiple honeypots centrally.
ESPotHoneypot tool (open-source, GitHub).
HoneyPyLow-interaction honeypot written in Python.
05 / Gatekeepers

What Are Proxy Servers?

A proxy server is a dedicated computer, or a software system, virtually located between a client and the actual server. It acts as a sentinel between an internal network and the open internet.

User
Proxy Server
Server
#What a proxy server does
01Sits virtually between client and actual server.
02Acts as a sentinel between an internal network and the open internet.
03Serves client requests on behalf of actual servers, preventing them from exposing themselves directly to the outside world.
04Adds an extra layer of defense, protecting against certain OS- and web-server-specific attacks.
05Lets security teams intercept malicious/offensive web content, viruses, etc. hidden in client requests.

Benefits of a Proxy Server

1

Acts as a security protector between user devices and a server.

2

Enhances the security and privacy of client devices.

3

Improves browsing speed (via caching).

4

Provides advanced logging capabilities for user activities.

5

Controls access to specific restricted services.

6

Hides internal IP addresses and filters requests from external sites.

7

Reduces the chances of modifying cookies in the browser configuration.

8

Enables authentication for the proxy server before handling user requests.

06 / Mechanics

Functioning of a Proxy Server

1

Internal host requests a website

The client sends a request to reach an external site.

2

Proxy inspects it

The request enters the proxy server, which examines the header and packet content based on a rule base.

3

Packet is reconstructed

The proxy server reconstructs the data packet using a different source IP address (its own).

4

Packet transmitted onward

The proxy transmits the packet to the target address, concealing the actual end user who made the request.

5

Return packet re-checked

If a reply comes back, it's again sent to the proxy server and checked against the rule base.

6

Reconstructed and delivered

The proxy reconstructs the returned packet and sends it to the original requesting source computer.

📘 Worked example

PC 1 (192.168.2.3) on the internal network requests a Facebook page (registered IP 55.24.411.16). The request goes: internal PC → firewall → proxy server (external interface 24.67.233.7, internal address 66.44.512.128) → internet → Facebook. The reply is forwarded by the proxy back to the requesting client — Facebook only ever sees the proxy's IP, never PC 1's real private address.

07 / Comparison

Proxy Servers vs Packet Filters

Proxy Servers

Examine the full data payload of the packet. Create detailed log listings since they scan the entire IP packet's data. Restructure the packet with a new source IP. If the proxy server fails, all network communications cease.

Packet Filters

Only examine routing information (headers) of the packet. Log only header information. Simply allow or block data based on filter rules. If a packet filter fails, packets may still be allowed through the internal network.

🧠

Mnemonic — Proxy vs Packet Filter Failure

"PROXY FAILS CLOSED, FILTER FAILS OPEN" — if the proxy dies, the whole road is blocked (no traffic at all). If the packet filter dies, the gate is left wide open (traffic may pass unchecked). This "fail closed vs fail open" contrast is a favorite exam trap.

08 / Types

Types of Proxy Servers

Five named proxy types appear in the slides: Transparent, Non-Transparent, SOCKS, Anonymous, and Reverse.

Transparent Proxy

A proxy through which a client system connects to a server without its knowledge. It's configured to be entirely invisible to the end user. Important nuance from the slides: with a transparent proxy, all web clients must still be configured manually (despite being "invisible" in terms of the connection process).

Non-Transparent Proxy

Requires client software to be configured to use the proxy server — the client is made aware of the proxy's existence. Harder to set up because each client program must be individually configured to route requests to a single port. Four functional areas: Group Annotation Services, Media Type Transformation, Protocol Reduction, Anonymity Filtering.

SOCKS Proxy

An IETF (Internet Engineering Task Force) standard. Unlike a caching HTTP proxy, SOCKS does not have special caching abilities. It also prevents external network components from collecting information about the client that generated the request. The SOCKS package includes: a SOCKS server for the specified OS, a client program (FTP, Telnet, browser), and a client library for SOCKS.

Anonymous Proxy

Does not transfer information about the user's IP address, hiding both the user's identity and their surfing interests.

Pros

Private browsing; can access even censored websites.

Cons

May decrease page-load speed; using it to bypass internet censorship is illegal in some countries.

Reverse Proxy

Situated closer to the server(s); returns only a configured set of resources. Can optimize content by compressing it to speed up loading. The client is unaware of the reverse proxy's presence. Sits between a client and the actual web server — but protects the server side, unlike a forward proxy which protects the client side.

🧠

Mnemonic — Forward vs Reverse Proxy Direction

"FORWARD PROTECTS THE CLIENT, REVERSE PROTECTS THE SERVER" — a regular/forward proxy (transparent, non-transparent, SOCKS, anonymous) sits near the client hiding who's asking. A reverse proxy sits near the server, hiding what's actually answering.

09 / Configuration

How to Configure a Proxy Server

Automatic Proxy Setup — Windows 10

1

Open Settings

Press Windows key + I.

2

Network & Internet → Proxy

Navigate to the Proxy section.

3

Check "Automatically detect settings"

Verify the toggle is On.

4

Windows runs an automatic check

By default.

5

If a PAC file is detected

Set "Use Setup Script" toggle to On.

6

Enter script address

Type proxy.certifiedhacker.com in the Script Address field.

7

Save

Click Save to implement changes and use the internet through the proxy.

Manual Proxy Setup — Windows 10

1

Open Settings

Windows key + I.

2

Network & Internet → Proxy

Navigate there.

3

Scroll to Manual proxy setup

Set "Use a Proxy Server" toggle to On.

4

Enter address and port

Type proxy.certifiedhacker.com in the address field, 8888 in the port field.

5

Add exemptions

Type *.local below the address/port fields to exempt local addresses from the proxy.

6

Save

Click Save to implement and use the proxy in Windows 10.

Google Chrome

Settings → scroll to Advanced → System → "Open your computer's proxy settings" → follow OS instructions.

Microsoft Edge

Settings (top-right menu) → scroll to System → "Open your computer's proxy settings" → follow the proxy server setup instructions.

10 / Trade-offs

Limitations of Proxy Servers

#Limitation
1If not properly secured, the proxy can become a single point of failure during an attack.
2Increases workload — the proxy must be configured for every service it provides.
3Changing default settings may break the proxy's functionality.
4Proxies must reroute information, so web pages can sometimes load slowly.
5If the proxy tries to bypass suspicious software, some page elements may fail to load.
📘 Example: Squid Proxy

Squid is a caching proxy for the web, supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response time by caching and reusing frequently requested web pages.

List of Proxy Tools

ToolToolTool
WhonixProxifyProxyCap
PsiphonGuardsterCCProxy
FoxyProxyGlobal Proxy NetworkFiddler
GeoSurfAnonym8BlackArch Proxy
JonDoProxySiteArtica Proxy
11 / Exam Prep

Exam Tips & Tricks

💡

Honeypot has zero value by design

Any traffic to a honeypot is inherently suspicious — there's no legitimate reason to touch it.

Three honeypot classification axes

Interaction level (low/medium/high/pure), deployment strategy (production/research), and deception technology (malware/database/spam/email/spider/honeynet) — three separate ways to categorize the same honeypot.

Research honeypots are always high-interaction

Don't confuse the deployment-strategy axis with the interaction-level axis — research honeypots specifically use high-interaction to gather deep intel.

⚠️

Proxy failure ≠ packet filter failure

Proxy down = all comms cease. Packet filter down = traffic may still pass. Classic contrast question.

💡

Transparent proxy still needs client config

"Invisible" refers to the connection process, not to setup — clients must still be configured manually per the slides.

Reverse proxy sits near the server

All other proxy types sit near the client. Reverse proxy is the odd one out — it protects the server, not the requester.

12 / Cheat Sheet

Quick Reference — Everything at a Glance

TopicKey Point
HoneypotDecoy system with no production value, set up to attract/trap attackers and log their activity.
Low-Interaction HoneypotSimulates a limited number of services/apps.
Medium-Interaction HoneypotSimulates a real OS, applications, and services.
High-Interaction HoneypotSimulates ALL services/applications of a target network.
Pure HoneypotEmulates the entire real production network of the organization.
Production HoneypotDeployed inside the production network; helps find internal flaws/attackers.
Research HoneypotHigh-interaction; used by research/government/military to study intruders.
Malware HoneypotTraps malware campaigns/attempts.
Database HoneypotFake vulnerable DB attracting SQLi/enumeration attacks.
Spam HoneypotTargets spammers abusing open mail relays/proxies.
Email HoneypotFake email addresses attracting malicious emails.
Spider HoneypotTraps web crawlers/spiders.
HoneynetNetwork of honeypots; reveals full adversary capabilities.
Honeypot ToolsHoneyBOT, KFSensor, MongoDB-HoneyProxy, Modern Honey Network, ESPot, HoneyPy.
Proxy ServerSits between client and server; sentinel that hides real servers from the outside world.
Proxy BenefitsSecurity, privacy, speed (caching), logging, access control, IP hiding, cookie protection, authentication.
Proxy FunctioningRequest enters proxy → inspected vs rule base → repackaged with new source IP → sent onward → reply re-checked → delivered to client.
Proxy vs Packet FilterProxy reads full payload & fails closed; packet filter reads headers only & fails open.
Transparent ProxyClient connects without knowing; invisible to user; still requires manual client configuration.
Non-Transparent ProxyClient software must be configured; client is aware; harder to set up per-program.
SOCKS ProxyIETF standard; no caching; hides client info from external components; includes server, client program, client library.
Anonymous ProxyHides user's IP/surfing interests; pro: privacy/censorship bypass; con: slower, sometimes illegal.
Reverse ProxySits near the server; returns limited resources; can compress content; client unaware of its presence.
Configuring Proxy (Windows 10)Settings → Network & Internet → Proxy → automatic (PAC script) or manual (address+port, exemptions) → Save.
Proxy LimitationsSingle point of failure, added workload, breaks if defaults changed, slower page loads, may block page elements.
Squid ProxyCaching proxy supporting HTTP/HTTPS/FTP; reduces bandwidth via caching frequently requested pages.
Proxy ToolsWhonix, Proxify, ProxyCap, Psiphon, Guardster, CCProxy, FoxyProxy, Fiddler, JonDo, ProxySite, Artica Proxy, and more.