[Paper Review] HoneyGPT: Breaking the Trilemma in Terminal Honeypots with Large Language Model
HoneyGPT uses a ChatGPT-based terminal honeypot with a prompting framework and Chain of Thought to surpass the traditional trilemma of flexibility, interaction depth, and deception in terminal honeypots, validated by baseline and four-week field evaluations.
Honeypots, as a strategic cyber-deception mechanism designed to emulate authentic interactions and bait unauthorized entities, often struggle with balancing flexibility, interaction depth, and deception. They typically fail to adapt to evolving attacker tactics, with limited engagement and information gathering. Fortunately, the emergent capabilities of large language models and innovative prompt-based engineering offer a transformative shift in honeypot technologies. This paper introduces HoneyGPT, a pioneering shell honeypot architecture based on ChatGPT, characterized by its cost-effectiveness and proactive engagement. In particular, we propose a structured prompt engineering framework that incorporates chain-of-thought tactics to improve long-term memory and robust security analytics, enhancing deception and engagement. Our evaluation of HoneyGPT comprises a baseline comparison based on a collected dataset and a three-month field evaluation. The baseline comparison demonstrates HoneyGPT's remarkable ability to strike a balance among flexibility, interaction depth, and deceptive capability. The field evaluation further validates HoneyGPT's superior performance in engaging attackers more deeply and capturing a wider array of novel attack vectors.
Motivation & Objective
- Motivate the development of more dynamic, intelligent terminal honeypots that can adapt to attacker tactics.
- Propose a universal honeypot prompt keyword specification and a Chain of Thought-based strategy to improve reasoning in interactions.
- Design and implement HoneyGPT with a Prompt Manager that maintains long-term interaction memory and robust security analytics.
- Evaluate HoneyGPT against traditional honeypots using open-source data and real-world field deployment to assess deception, interaction, and flexibility.
Proposed method
- Develop HoneyGPT by replacing traditional request-response interactions with a ChatGPT-based question-answer loop.
- Introduce a three-component framework: Terminal Protocol Proxy, Prompt Manager, and ChatGPT; leverage Cowrie's protocol layer for SSH/Telnet, while prompting ChatGPT for responses.
- Implement a Prompt Manager that constructs prompts using Honeypot Principles, Settings, Attack Queries, System State Register, and History of Interaction, with a pruning strategy to fit context length.
- Incorporate a Chain of Thought strategy to analyze the impact of attacker commands on the OS and generate system state changes (C_i, F_i) for continued reasoning.
- Apply a Prompt Pruning mechanism that scores interactions via an Impact Factor (F_i) and a Weaken Factor (w) to remove the least significant historical entries, preserving context relevance.
- Configure static System Principles (P) and Honeypot Settings (S) to stabilize operation and realism.
Experimental results
Research questions
- RQ1Can HoneyGPT overcome the trilemma of flexibility, interaction depth, and deception in terminal honeypots using LLM-based prompting?
- RQ2Does a Chain of Thought strategy and dynamic prompt management enhance long-term interaction memory and attacker engagement compared to traditional honeypots?
- RQ3How does HoneyGPT perform in deception, interaction level, and flexibility against baseline open-source honeypots under replayed and live traffic?
- RQ4What attack vectors and interaction lengths are captured by HoneyGPT in a four-week Internet deployment compared with Cowrie?
- RQ5What are the practical limits and configurations required for deploying LLM-driven honeypots in real networks?
Key findings
- Baseline evaluation shows HoneyGPT balances flexibility, interaction depth, and deception better than traditional honeypots using the same attack dataset.
- Field deployment over four weeks indicates HoneyGPT entices attackers into longer, more complex interactions and captures a broader range of attack vectors than Cowrie.
- HoneyGPT’s prompting framework with memory pruning effectively manages context length while maintaining useful historical context for reasoning.
- The use of Chain of Thought enables HoneyGPT to handle extended, multi-command attack sequences such as write-elevate-execute more effectively than non-CoT approaches.
- HoneyGPT demonstrates higher engagement and richer interaction trajectories in real-world tests compared to emulated or real-system honeypots.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.