Deception for Cyber Defence: Challenges and Opportunities

David Liebowitz, Surya Nepal, Kristen Moore, Cody J. Christopher, Salil S. Kanhere, David Nguyen, Roelien C. Timmer, Michael Longland, Keerth Rathakumar

TL;DR

This vision paper explores how modern Machine Learning (ML) can transform cyber deception from a manual, boutique craft into a scalable, automated defense strategy. By using generative models to create realistic "honey-artifacts"—from source code and document layouts to simulated email threads—defenders can significantly reduce attacker dwell time and mitigate the "alert fatigue" that plagues traditional reactive security systems.

What Problem Does This Paper Address?

Traditional cybersecurity is largely reactive, relying on a "patchwork" of perimeter defenses that often fail against sophisticated, persistent threats. The 2013 Target breach serves as a sobering example: despite security systems raising initial alarms, they were ignored due to alert fatigue—the sheer volume of false positives that makes investigating every threat impossible. Furthermore, once an intruder is inside, they often enjoy long "dwell times" (averaging 212 days) to harvest data.

Cyber deception (e.g., honeypots) offers a solution by providing high-fidelity signals; an interaction with a decoy is almost certainly malicious. However, the bottleneck has always been realism and scale. If a decoy looks fake, an attacker will ignore it. Creating realistic fake documents, databases, and network traffic by hand is too expensive and slow for modern enterprise environments.

Methods

The authors propose using a suite of generative ML techniques to automate the creation of deceptive environments:

  • HoneyCode: To generate fake software repositories, the authors use a three-stage pipeline. A Tree Recurrent Network generates the directory structure, a Name Generator Network creates realistic filenames, and a Recurrent Neural Network (RNN) populates the files with code that looks authentic but doesn't necessarily compile. The HoneyCode pipeline uses specialized networks for structure, naming, and content.

  • Wikigen: For web-based deception, they fine-tune GPT-2 on Markdown to generate structured wiki articles. These are then linked into a realistic network using Graph Recurrent Attention Networks (GRAN), ensuring semantically similar articles are more likely to be connected. Wikigen combines GPT-2 for content and GRAN for link networks.

  • LayoutMCL: To move beyond plain text, this autoregressive architecture uses multi-choice learning to generate realistic graphical layouts for documents, ensuring decoys match corporate branding and visual styles. LayoutMCL generates diverse and realistic document layouts.

  • LogNormMix-Net: A novel Temporal Point Process model designed to simulate "multi-cast" communications, such as email threads, where one sender interacts with multiple recipients over time.

Fig. 2. HoneyCode is composed of three different networks generating three core component, each using a different underlying structure to improve model inductive bias and realism.
Fig. 3. Wikigen is composed of two different models generating the article link network (GRAN) and the article content (GPT-2), followed by an optimisation procedure to have semantically similar articles be more likely to link to each other.
LayoutMCL generates diverse and realistic document layouts.

Datasets

The authors highlight the scarcity of public datasets for cyber deception and introduce/utilize several:

  • Julia Repositories: 3,254 public GitHub repos used to train HoneyCode.
  • Monsanto Trial Data: Used to train and test sensitive information detection models.
  • SCHEMADB: A newly developed collection of relational schemas in MySQL and heterogeneous graph forms for database deception.
  • Honeyfile Corpus: A dataset created for measuring the "enticement" of deceptive files.

Key Insights and Ideas

  • Realism is Contextual: A decoy doesn't need to be perfect; it just needs to be "indistinguishable... up to a level appropriate to the context." For example, "honeycode" only needs to look real through a search engine or command-line preview, not actually run.
  • Enticement vs. Realism: The authors introduce Topic Semantic Matching (TSM). To be effective, a decoy must be "enticing"—it should mimic the topics of the real documents it protects so that it appears in an attacker's search results. TSM measures how well a honeyfile's topics match the local context.

  • The "Bodyguard of Lies": Borrowing from military history (Operation Bodyguard), the authors argue that deception isn't a replacement for perimeter security but a vital complement that makes intrusion more costly and risky for the adversary.

TSM measures how well a honeyfile's topics match the local context.

Key Results

  • Enticement Metrics: The TSM measure proved more effective than simple word-count metrics. It successfully assigned higher scores when a deception file's theme matched the "local context" of the repository it was meant to protect. Distribution of TSM scores across different categories.

  • Sensitive Info Detection: Fine-tuning BERT (Bidirectional Encoder Representations from Transformers) outperformed previous RNN-based approaches in detecting whether generated decoys accidentally contained real sensitive information, a critical safety check for automated systems. BERT-based detection of sensitive information in generated text.

Fig. 6. The distribution of the Topic Semantic Matching enticement score.
BERT-based detection of sensitive information in generated text.

Limitations and Future Work

  • Long-Range Dependencies: Current models for source code generation struggle with medium-to-long-range dependencies (e.g., a variable defined at the top of a file used at the bottom). The authors suggest large-scale Transformers might solve this but require significantly more training data.
  • Data Scarcity: The lack of timestamped system logs and realistic corporate datasets remains a major hurdle for training high-fidelity simulation models.
  • Safety and Ethics: Generative models like GPT-2 carry risks of producing toxic content or leaking private data from their training sets, requiring ongoing research into privacy-preserving generation.
  • Autonomous Cyber Operations (ACO): The authors see a major opportunity to use these realistic simulations to train autonomous "defender agents" in environments that better reflect the complexity of real-world networks.

Summary updated

Abstract

Deception is rapidly growing as an important tool for cyber defence, complementing existing perimeter security measures to rapidly detect breaches and data theft. One of the factors limiting the use of deception has been the cost of generating realistic artefacts by hand. Recent advances in Machine Learning have, however, created opportunities for scalable, automated generation of realistic deceptions. This vision paper describes the opportunities and challenges involved in developing models to mimic many common elements of the IT stack for deception effects.
BibTeX
@inproceedings{liebowitz2021deception,
  author = {David Liebowitz and Surya Nepal and Kristen Moore and Cody J. Christopher and Salil S. Kanhere and David Nguyen and Roelien C. Timmer and Michael Longland and Keerth Rathakumar},
  title = {{Deception for Cyber Defence: Challenges and Opportunities}},
  booktitle = {TPS-ISA},
  year = {2021},
}
Figure