[Paper Review] Prompted Contextual Vectors for Spear-Phishing Detection
The paper introduces prompted contextual document vectors generated by an ensemble of LLMs to detect spear-phishing, achieving 91% F1 on a dataset where training data are traditional phishing and benign emails.
Spear-phishing attacks present a significant security challenge, with large language models (LLMs) escalating the threat by generating convincing emails and facilitating target reconnaissance. To address this, we propose a detection approach based on a novel document vectorization method that utilizes an ensemble of LLMs to create representation vectors. By prompting LLMs to reason and respond to human-crafted questions, we quantify the presence of common persuasion principles in the email's content, producing prompted contextual document vectors for a downstream supervised machine learning model. We evaluate our method using a unique dataset generated by a proprietary system that automates target reconnaissance and spear-phishing email creation. Our method achieves a 91\% F1 score in identifying LLM-generated spear-phishing emails, with the training set comprising only traditional phishing and benign emails. Key contributions include a novel document vectorization method utilizing LLM reasoning, a publicly available dataset of high-quality spear-phishing emails, and the demonstrated effectiveness of our method in detecting such emails. This methodology can be utilized for various document classification tasks, particularly in adversarial problem domains.
Motivation & Objective
- Motivate the need for robust spear-phishing detection in the era of LLM-enabled attacks.
- Propose a novel document vectorization method that uses LLM reasoning to capture persuasion techniques in emails.
- Evaluate the method on a proprietary spear-phishing dataset and publicly available benign/phishing data.
- Demonstrate the approach's effectiveness and discuss its applicability to other adversarial document classification tasks.
Proposed method
- Construct prompted contextual document vectors by prompting an ensemble of LLMs (GPT-3.5, GPT-4, Gemini Pro) with a set of human-crafted questions about an email.
- Use chain-of-thought prompting to obtain probabilistic responses representing the presence of specific persuasive features.
- Concatenate LLM-provided probabilities into a floating-point feature vector for downstream classification.
- Train and evaluate a simple downstream classifier (kNN) using these vectors to detect spear-phishing.
- Provide a publicly available dataset of spear-phishing emails generated via an LLM-powered system for reproducibility.
Experimental results
Research questions
- RQ1Can prompted contextual document vectors derived from an ensemble of LLMs effectively distinguish spear-phishing emails from benign or traditional phishing emails?
- RQ2Do these vectors outperform traditional document vectorization methods in adversarial, LLM-generated spear-phishing scenarios?
- RQ3Is a simple classifier (e.g., kNN) sufficient to leverage the proposed vectors for high detection performance?
Key findings
- The method achieves 91% F1 in identifying LLM-generated spear-phishing emails.
- Training data comprised only traditional phishing and benign emails, while spear-phishing emails were used only in the test set.
- An ensemble of LLMs (GPT-3.5, GPT-4, Gemini Pro) with zero-temperature settings provides robust prompted contextual vectors.
- kNN using the prompted contextual vectors yields high recall, outperforming other vectorization approaches.
- The authors publish a unique spear-phishing email dataset generated by an LLM-powered system and demonstrate vector effectiveness even on unseen spear-phishing content.
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.