Devising and Detecting Phishing: Large Language Models vs. Smaller Human Models

Fredrik Heiding, Bruce Schneier, Arun Vishwanath, Jeremy BernsteinarXiv 2023 · DOI

TL;DR

This paper investigates the effectiveness of Large Language Models (LLMs) like GPT-4 in creating and detecting phishing emails, comparing them against human-designed methods. The study reveals that while human-designed phishing emails (V-Triad) were more successful, LLMs significantly reduce the effort required for creating sophisticated attacks, potentially increasing their prevalence. LLMs also show promise in detecting phishing, sometimes matching or exceeding human capabilities.

What Problem Does This Paper Address?

The paper addresses the growing threat of phishing attacks, which exploit human psychological vulnerabilities. Traditionally, crafting effective phishing emails, especially "spear phishing" (highly personalized attacks), required significant manual effort, reconnaissance, and expertise. The advent of powerful LLMs, capable of generating human-like text and mimicking writing styles, presents a new challenge: these models can automate and scale the creation of highly convincing phishing emails, lowering the barrier to entry for attackers. The paper aims to quantify this threat by comparing LLM-generated phishing emails against human-designed ones and to explore LLMs' potential for detecting such malicious content.

Methods

The study employed a two-pronged approach:

  1. Phishing Email Creation and Efficacy:
    • Control Group: Generic, real-world phishing emails.
  2. LLM-Generated: Emails created using GPT-4.
  3. Human-Designed (V-Triad): Emails crafted using a pre-defined framework (V-Triad) that exploits cognitive heuristics and biases (Credibility, Compatibility, Customizability).
  4. Hybrid Approach: Emails generated by GPT-4, with prompts informed by V-Triad best practices.
  5. These emails were sent to 112 participants. Click-through rates were measured, and participants were asked to explain their decisions.
  6. Phishing Email Detection:
    • Four LLMs (GPT, Claude, PaLM, and LLaMA) were used to detect the intent of phishing emails.
  7. Models were presented with a mix of phishing emails (from the categories above) and legitimate marketing emails.
  8. Models were asked to identify the email's intent, assess suspicion levels, recommend actions, and estimate the likelihood of AI creation.

Datasets

The study did not introduce a new benchmark dataset. Instead, it utilized:

  • Real-world phishing emails: Sourced from online databases (e.g., Berkeley's Phishing Examples Archive) and personal inboxes.
  • Participant-generated data: Free-text explanations from participants on why they clicked or did not click on phishing links.

Key Insights and Ideas

  • LLMs democratize sophisticated phishing: The most striking insight is how LLMs drastically reduce the time and expertise needed to craft effective phishing emails, making advanced spear-phishing attacks as cheap as generic ones. This significantly lowers the barrier to entry for attackers.
  • Human touch still edges out AI (for now): While LLM-generated emails were effective, manually crafted emails using the V-Triad framework achieved higher click-through rates, suggesting that human understanding of psychological manipulation, when combined with structured rules, remains potent.
  • Personalization is key, and LLMs can deliver: The study highlights that what makes an email suspicious to one person might make it convincing to another. LLMs' ability to personalize content based on minimal user data is a double-edged sword, enabling both more effective phishing and potentially more tailored cybersecurity training.
  • LLMs are becoming adept at detection: The LLMs demonstrated a strong capability to identify malicious intent, sometimes even in subtle phishing attempts, and their performance in detecting AI-generated content is also promising.
  • LLM stability varies: Different LLMs showed varying levels of stability and usefulness in their responses, with Claude being noted for its consistent and helpful advice.

Key Results

  • Phishing Success Rates (Click-Through Rates):
    • Control Group (generic): 19-28%
    • GPT-4 generated: 30-44%
    • V-Triad (human-designed): 69-79%
    • V-Triad + GPT-4 (hybrid): 43-81%
  • LLM Intent Detection: LLMs showed a strong ability to detect malicious intent, with Claude performing particularly well and consistently. When specifically asked to identify suspicion, LLMs performed better than when asked for general intent.
  • Economic Impact: The analysis suggests that AI-enhanced phishing attacks, particularly spear-phishing, can be launched at a significantly lower cost and with a higher potential for profitability due to reduced creation time and increased success rates. For instance, the estimated opportunity cost for an AI-enhanced spear-phishing attack was as low as $0.34 per successful attack, compared to $1.17 for traditional spear-phishing.

Limitations and Future Work

  • Sample Size: While 112 participants were recruited, the authors acknowledge that a larger sample size would be beneficial for more decisive conclusions, especially for LLM detection performance.
  • LLM Evolution: The rapid pace of LLM development means that findings can quickly become outdated.
  • Deception in Study Design: Participants were not explicitly told they would receive phishing emails, a deception deemed necessary to avoid skewing results. A full debriefing was provided post-study.
  • Footer Impact: The study acknowledges that the footer explaining the research context might have influenced participant behavior, though its consistent presence across all emails limits its impact on relative group differences.
  • Future Work: The authors propose automating all aspects of LLM-driven phishing (information gathering, email creation, analysis) to better understand and counter these attacks. They also plan to investigate other LLMs (Claude, PaLM, LLaMA) for email creation and detection, and explore how LLMs can be used for personalized cybersecurity training. Further research into the evolving trust in machines and its impact on cybersecurity is also recommended.

Summary updated

BibTeX
@misc{heiding2023devising,
  author = {Fredrik Heiding and Bruce Schneier and Arun Vishwanath and Jeremy Bernstein},
  title = {{Devising and Detecting Phishing: Large Language Models vs. Smaller Human Models}},
  year = {2023},
  eprint = {2308.12287},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.12287},
}
Figure