Cybersecurity Generative AI Python Research

Building an Intelligent Honeypot with Generative AI

How I used LLMs to make decoy systems that actually think back

Sanskruti Varade · RTCSA 2026 · ~6 min read

Most honeypots are static. They sit quietly on a network, pretending to be vulnerable systems, and log whatever an attacker does. That works — but only up to a point. A skilled attacker can fingerprint a traditional honeypot within minutes and simply walk away.

What if the honeypot could adapt? What if it could respond intelligently, keep the attacker engaged, and extract more actionable threat intelligence in the process?

That's exactly the question I explored in my research paper "Building Intelligent Honeypots to Trap Hackers", presented at RTCSA 2026, co-authored with Professor Archana Bendale and Professor Pawan Malani at K.K. Wagh College, Nashik.

The Problem with Traditional Honeypots

Conventional honeypots have three core weaknesses:

These limitations reduce their effectiveness against modern, sophisticated threat actors who use automated scanners and evasion techniques.

The Core Idea: LLM-Powered Deception

The central idea was simple but powerful — use a Large Language Model (LLM) to generate dynamic, contextually aware responses inside the honeypot environment.

Instead of hardcoded outputs, the honeypot consults an LLM to craft replies that:

Think of it as a decoy that can hold a conversation.

How It Works — Architecture Overview

1. Interaction Layer

The entry point — an exposed service (SSH, HTTP, or a fake login portal) that an attacker interacts with. Every input the attacker sends is captured and forwarded.

2. LLM Reasoning Layer

The attacker's input is passed to an LLM with a carefully engineered system prompt. The prompt instructs the model to roleplay as a vulnerable system and respond in a way that is believable, consistent, and strategically deceptive — without tipping off the attacker.

3. Logging & Analysis Layer

Every exchange is logged with timestamps, attacker IP, session fingerprint, and extracted intent signals. Over time, this builds a rich threat intelligence dataset.

Why Generative AI Changes the Game

Before LLMs, building adaptive honeypots required hand-crafting finite state machines — mapping out every possible attacker move and a corresponding fake response. That's brittle and doesn't scale.

With an LLM in the loop, the honeypot gets:

Key Challenges We Encountered

Each of these is an open research problem — and an opportunity for future work.

What I Learned

This research fundamentally changed how I think about cybersecurity. Defense isn't just about walls and filters — it's about information asymmetry. The goal is to know more about your attacker than they know about you.

Generative AI gives defenders a new tool to actively shape that asymmetry. A honeypot that can think, respond, and adapt doesn't just log attacks — it studies them.

What's Next

The natural next step is integrating real-time threat feeds (AbuseIPDB, VirusTotal) so the honeypot can cross-reference attacker IPs and adjust its behavior based on known threat profiles. I'm also exploring multi-session memory — giving the honeypot the ability to "remember" repeat attackers and deepen the deception over time.

← Back to Blog